How to display different colors for ZERO values in bar chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Narasimha Pai

How to display different colors for ZERO values in bar chart

Post by Narasimha Pai » Wed Mar 05, 2003 8:53 pm

Hi All,

I have developed a Vertical 3D Bar Chart. In this chart I have some values which are zero. In the present case, these zero values are displayed without any color. In order to differentiate different zero values based on legend, I want to display the zero values with the corresponding legend colors.

Please help me.

Thanks and Regards,
Narasimha

David Gilbert

Re: How to display different colors for ZERO values in bar c

Post by David Gilbert » Thu Mar 06, 2003 5:51 pm

Hi Narasimha,

I think this might be a bug...can you post a bug report in the database at SourceForge (link near the top of this page) so I remember to look at it?

Regards,

Dave Gilbert

Narasimha Pai

Re: How to display different colors for ZERO values in bar c

Post by Narasimha Pai » Thu Mar 06, 2003 11:56 pm

Hi Dave,

Can you please give me some temporary work around so that I can change the source code. If possible please send me the required snippet of code. That will be of great help.

Thanks for this wonderful application.

Regards,
Narasimha

Locked