How to show grid line on Category Bar Chart?

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

How to show grid line on Category Bar Chart?

Post by aurorean » Tue Feb 18, 2003 3:00 am

I want to show grid lines on Category Bar Chart as on TimeSeries line chart.
How can I do this?

David Gilbert

Re: How to show grid line on Category Bar Chart?

Post by David Gilbert » Tue Feb 18, 2003 6:16 am

You can use the setDomainGridlinesVisible(...) and setRangeGridlinesVisible(...) methods in the CategoryPlot class (from 0.9.5 onwards).

Regards,

Dave Gilbert

aurorean

Re: How to show grid line on Category Bar Chart?

Post by aurorean » Tue Feb 18, 2003 7:02 am

Thank you very much. I did it!

Locked