Axis min/max
Posted: Wed Jul 20, 2011 4:58 pm
Hi,
I've produced a TChart with a left, right and bottom axis. The bottom axis shows the scale just fine because it has multiple values associated with it. The left and right axes are giving me trouble. The left axis value remains 0, as expected, for every bottom axis value. The right axis, however, produces a different value for each bottom axis value. I would expect, at least, that I would be able to see min and max values on the right axis. I've tried setting
chart.rightaxis.automatic := true;
and
chart.rightaxis.setminmax(lowval, highval)
I've also done the following to no avail:
chart.leftaxis.setminmax(-1,1)
Neither bit of code produces min/max values on right axis. See image:
I've produced a TChart with a left, right and bottom axis. The bottom axis shows the scale just fine because it has multiple values associated with it. The left and right axes are giving me trouble. The left axis value remains 0, as expected, for every bottom axis value. The right axis, however, produces a different value for each bottom axis value. I would expect, at least, that I would be able to see min and max values on the right axis. I've tried setting
chart.rightaxis.automatic := true;
and
chart.rightaxis.setminmax(lowval, highval)
I've also done the following to no avail:
chart.leftaxis.setminmax(-1,1)
Neither bit of code produces min/max values on right axis. See image: