to show the gap between the domain units to be proportionate

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jareena
Posts: 3
Joined: Wed Jun 10, 2009 1:18 pm

to show the gap between the domain units to be proportionate

Post by Jareena » Wed Apr 07, 2010 3:34 pm

Is it possible to have different size of gaps between domain axis units.

I am using series like this

final XYSeries series = new XYSeries("Flat Data");
series.add(1.0, 10.0);
series.add(5.0, 20.0);
series.add(4.0, 40.0);
series.add(12.5, 80.0);
series.add(17.3, 100.0);

By default the gap between domain units is equal. i.e for the above series the gap between 10 and 20 is same as 20 and 40.
I would like to show the gap between the domain units to be proportionate to the difference between two successive units.

Please help me

Locked