To the project leader and others as well

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
parthadebnath
Posts: 3
Joined: Mon Jun 12, 2006 2:04 pm

To the project leader and others as well

Post by parthadebnath » Fri Jun 30, 2006 9:53 am

Hi,

I am an extensive user of JFreeChart as I find this as the best API for a java programmer to draw, display and save any kinna chart.
In my current project I need to draw a stackedbar chart for users who are unfortunatly color blind.
For this I cant use colors to distinguish stackes.I need to incorporate horizental, vertical or digonal strips in the stacks for this.
Is this kinna chart is feasible using JFreeChart?? Is yes please give me some hint.
Thanks in advance,
Partha
N.B. Its very very urgent. I need to submit a feasibility report within 2-3 days...

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Jun 30, 2006 11:00 am

JFreeChart can fill the bars using any instance of Paint, so you could try Java's TexturePaint for this. The only problem is that TexturePaint uses bitmaps, so the quality isn't so great, particularly if you want to output to vector formats like PDF and SVG.

The alternative is to customise the renderer and use your own code to fill the bars.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked