[Geoserver-users] Chart extension not working in geoserver 1.7.4 ?

Hi,

I'm new in the forum and i'm a new geoserver user too :slight_smile:
I'm trying to use the chart extension provided to Geoserver in the version
mentioned in the subject.
I used the following article
http://blog.geoserver.org/2009/06/01/geoserver-chart-extension/ in order to
create my example, but it doesnt work.
I've copied the jar files into the lib folder and my style looks like :

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xlink="http://www.w3.org/1999/xlink&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd&quot;&gt;
  <NamedLayer>
    <Name>Default Point</Name>
    <UserStyle>
      <Title>Default point</Title>
      <Abstract>A sample style that just prints out a 6px wide red
square</Abstract>

      <FeatureTypeStyle>
        <!--FeatureTypeName>Feature</FeatureTypeName-->
        <Rule>
    <MaxScaleDenominator>14999</MaxScaleDenominator>
          <PointSymbolizer>
            <Graphic>
              <Mark>
                <WellKnownName>circle</WellKnownName>
                <Fill>
                  <CssParameter name="fill">#FF9933</CssParameter>
                </Fill>
              </Mark>
              <Size>6</Size>
            </Graphic>
          </PointSymbolizer>
        </Rule>
        <Rule>
        <MinScaleDenominator>15000</MinScaleDenominator>
          <PointSymbolizer>
            <Graphic>
              <Mark>
                <WellKnownName>circle</WellKnownName>
                <Fill>
                  <CssParameter name="fill">#FF9933</CssParameter>
                </Fill>
              </Mark>
              <Size>1</Size>
            </Graphic>
          </PointSymbolizer>
        </Rule>

      </FeatureTypeStyle>
      <FeatureTypeStyle>
<Rule>
<PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource
xlink:href="http://chart?cht=p&amp;chd=t:$\{cant\_hombres/100\},$\{cant\_mujeres/100\}&amp;amp;chf=bg,s,FFFFFF00&quot;
/>
        <Format>application/chart</Format>
      </ExternalGraphic>
      <Size>
        100
      </Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
</FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>

What could be wrong??
Thanks for everything, Santiago.

--
View this message in context: http://www.nabble.com/Chart-extension-not-working-in-geoserver-1.7.4---tp24040209p24040209.html
Sent from the GeoServer - User mailing list archive at Nabble.com.