Defining GapsPercent in 0.9.5

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

Defining GapsPercent in 0.9.5

Post by baboo » Fri Feb 14, 2003 6:28 pm

Hi!

I am inexperienced in JFreeChart and have some doubts. I am constructing a graph OverlaidVerticalCategoryPlot (VerticalBarRenderer and LineAndShapeRenderer)

In the version 0.9.4 I used the functions below:
OverlaidVerticalCategoryPlot plot = new OverlaidVerticalCategoryPlot("Day ", "Value", categ);
plot.setItemGapsPercent(0.0d);
plot.setCategoryGapsPercent(0.5d);


I am with difficulties in version 0.9.5. Somebody could help me. How I make this in this new version?

I would like to also know how I make to show the lines guides in axle X in a graph of the OverlaidVerticalCategoryPlot type.

Thank in advance!

David Gilbert

Re: Defining GapsPercent in 0.9.5

Post by David Gilbert » Fri Feb 14, 2003 6:52 pm

The gaps are now controlled by the CategoryAxis class.

Regards,

Dave Gilbert

Locked