Meaningless Drivel is fun!*
The moose likes Other Open Source Projects and the fly likes Cewolf Line renderer Processor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Cewolf Line renderer Processor" Watch "Cewolf Line renderer Processor" New topic
Author

Cewolf Line renderer Processor

Levi Raymond
Greenhorn

Joined: Dec 08, 2008
Posts: 21
Hi guys,

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.

Thanks

SCJP5, SCWCD5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
What *is* happening? Post the relevant tags, and a screenshot of the result.


Ping & DNS - my free Android networking tools app
Levi Raymond
Greenhorn

Joined: Dec 08, 2008
Posts: 21
The tags for the postprocessor are as below:



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)



[Thumbnail for result.png]

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
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.
Levi Raymond
Greenhorn

Joined: Dec 08, 2008
Posts: 21
Thanks again Ulf for your quick and accurate response. You are certainly right. That did the trick.
 
GeeCON Prague 2014
 
subject: Cewolf Line renderer Processor