I'm creating a chart that displays trend of certain activities in an organisation. I am using a line chart that will draw a line for each month for a set of known activities.
It is essential that I have shapes at each data point which I can do via the LineRenderProcessor post processor. I would like to have these shapes filled with the same color as the line color .
I was under the impression that this should now be implicit if you follow what the docs say and Looking at the docs from Ulf's latest cewolf distribution the java docs say for the LineRendereProcessor attributes:
useFillPaint whether to use the fill paint to draw the interior of shapes; default false
fillPaint the color to be used for interior of shapes; default: the line color
so I am using the above as follows
and not using the fillPaint attribute in order the invoke the default behaviour which is to fill the shapes with the line color, But this isn't happening. My shapes for the different lines need to have different colors (preferably line color) for easy
interpretation of chart.
The resulting chart is attached. As you would see with more data reported on as on my production report we lose clarity . So I would like to find a way to get the shapes taking on the line color (i.e red, and blue in this case)
Joined: Mar 22, 2005
Hm, I think the docs are a bit less clear than desirable. If you remove the useFillPaint parameter altogether you should get the desired result.
Joined: Dec 08, 2008
Thanks again Ulf for your quick and accurate response. You are certainly right. That did the trick.