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:
Axis min/max
Re: Axis min/max
Hello,
I assume your two series use the bottom axis, as per default. How have you set the vertical axes? One series with the left axis and the other with the right axis?
Note that the axes, when automatic, calculate their min and max considering the values in the series associated to them. This means, if one series is set to use left axis, this axis doesn't care about the values on the other series.
Of course I'm not sure if the problem is this. It would be helpful if you could arrange a simple example project we can run as-is to reproduce the problem here.
I assume your two series use the bottom axis, as per default. How have you set the vertical axes? One series with the left axis and the other with the right axis?
Note that the axes, when automatic, calculate their min and max considering the values in the series associated to them. This means, if one series is set to use left axis, this axis doesn't care about the values on the other series.
Of course I'm not sure if the problem is this. It would be helpful if you could arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |