I am returning to this topic again after trying to understand it some while ago. What I am trying to do is quite straightfoward. I have a chart with two series, assume they are line series. One series uses the left axis, the other series uses the right axis. I want to control the range plotted on each axis.
For a single Y axis I can easily do this using MyChart.Extent, YMin,YMax, UseYMin,UseYMax. I must admit that trying to make this work with two y axes just left me totally baffled, despite some lengthy replies to the posts I submitted then. I gave up through lack of time and redesigned my application to use charts with just a single y-axis.
Now I have another application that could really benefit from separate y-axes. Is it possible for someone to just give me the code to do what I need? The code snippets supplied before, and the info in the various tutorials, does not actually supply complete code for what I am sure must be a common requirement, and I suspect I'm not the only one to have difficulty with this. Once I've got something that works, then maybe I will be better able to understand why it works. But the pressures of development mean that I need to just get things working first.
For single y-axis I use:
With MyChart.Extent do begin
set YMin,YMax UseYMin, UseYMax in an obvious way
end;