Hi,
I have created an bar chart and I have an whole bunch of periodic data that I need to display in it. Basically I need to show how the bar lengths vary in time. The problem is that the chart changes the scale of the domain-axis every time I put new measurement in the screen. What I would like to do is to fix the scale to the highest measurement that I have so that the domain axis wouldn't change between measurements. How can I achieve this?
Bar charts
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
By default, JFreeChart automatically calculates the axis ranges to match the dataset. But you can specify a fixed range by calling the setRange() method on the axis.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

