Dynamic charting
Murty Maganti
MMaganti at ORIONGIS.COM
Wed Dec 12 09:17:46 PST 2007
Hello All
I am having a strange issue using 'Dynamic charting' in map server. All
segments of the chart are displayed in same color for some of the
charts. Map file definition looks like below
CLASS
Name "Col1"
STYLE
SIZE
[COLUMN1]
COLOR
255 0 0
OUTLINECOLOR 0 0 0
OFFSET 2
0
END #end style
END # end class
CLASS
Name "Col2"
STYLE
SIZE
[COLUMN2]
COLOR 0
0 255
OUTLINECOLOR 0 0 0
OFFSET 2
0
END #end style
END # end class
CLASS
Name "Col3"
STYLE
SIZE
[COLUMN3]
COLOR 0
255 0
OUTLINECOLOR 0 0 0
OFFSET 2
0
END #end style
END # end class
CLASS
Name "Col4"
STYLE
SIZE
[COLUMN4]
COLOR
255 255 0
OUTLINECOLOR 0 0 0
OFFSET 2
0
END #end style
END # end class
I have attached how the output image looks like. As can be seen from the
image, all segments of some of the charts are shown in the same color
(yellow in this example).
Another issue is chart symbols are drawn overlapping each other making
hard to read some of the charts. I can't find how to define not to draw
partial charts.
Regards
Murty Maganti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071212/e4a0557d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chart1.png
Type: image/png
Size: 27592 bytes
Desc: chart1.png
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071212/e4a0557d/attachment.png>
More information about the MapServer-users
mailing list