Is it possible to alter the position of the verical axis in horizontalBarChart?
I would like to display values that are all around 100, so I would like the vertical axis to be set at 100 and the bars would be drawn according to this value. (Bar with value 93 would be to the left of the vertical axis and 107 would be to the right of it).
I would not like to alter the data (by substracting 100). Or if doing so I would like to keep TickLabels unaltered (Label 100 would be where the vertical axis is). So if one knows how to alter TickLabels values (that they would show other values than those that are really presented in the chart), that would be very helpful too.
Thank you.
Moving vertical axis in HorizontalBarChart
Re: Moving vertical axis in HorizontalBarChart
For the moment, the vertical axis is always at the left of the plot, and the horizontal axis is always at the bottom.
I am planning to allow the vertical axis to be drawn at the right or left of the plot, and the horizontal axis to be drawn at the top or bottom of the plot.
With the way JFreeChart works, having an axis in the middle of the plot would be difficult to implement...but I'll think about it some more.
Regards,
DG.
I am planning to allow the vertical axis to be drawn at the right or left of the plot, and the horizontal axis to be drawn at the top or bottom of the plot.
With the way JFreeChart works, having an axis in the middle of the plot would be difficult to implement...but I'll think about it some more.
Regards,
DG.