This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Cewolf Line renderer Processor

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What *is* happening? Post the relevant tags, and a screenshot of the result.
 
Levi Raymond
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
result.png
[Thumbnail for result.png]
screenshot
 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks again Ulf for your quick and accurate response. You are certainly right. That did the trick.
 
Message for you sir! I think it is a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!