Hi experts
I use cewolf to draw a chart in my jsp file.
I want to control set the color of the chart (of every series)
I use this code at the jsp file :
<cewolf:chart id="pieTestSummary" type="pie" title="Test Status" showlegend="true">
<cewolf:data>
<cewolf:producer id="pieChartView" />
</cewolf:data>
<cewolf:colorpaint color="f6f6f6"/>
</cewolf:chart>
<cewolf:img chartid="pieTestSummary" renderer="cewolf" border="0" width="400" height="350"/>
<cewolf:chart id="pieTestSummary" type="pie" title="Test Status" showlegend="true">
<cewolf:data>
<cewolf:producer id="pieChartView" />
</cewolf:data>
<cewolf:colorpaint color="f6f6f6"/>
</cewolf:chart>
<cewolf:img chartid="pieTestSummary" renderer="cewolf" border="0" width="400" height="350"/>
and to add to the dataset data I use this code :
ds.setValue("Success",30);
ds.setValue("Fail",10);
how can I change the colors ?
success draws in blue color
and fail draws in red color
I want the success will draw in green color.
how can I change the color ?
thanks