Where do you set the range to start at 19? I only see the value 23 in the object inspector. BTW, there are two AutoScaleTransformations in ChartAxisTransformR - you only need one.
Oops, that was the problem.
But also with the fixed version I attached, it is not working as expected.
Attached is the screencast of what I see - sometimes the number 19, sometimes the number 30 in the right axis suddenly disappears (when the y-axis reaches 83 s, the 30 disappears, when it reaches 86s, the 19 disappears) for a second. I expected that the right axis stays stable when I set a range.
Can you please add in the docs:
https://wiki.freepascal.org/TAChart_documentation#Live_Viewthe info that one can set the range via lvMultiAxis and that one must use the booleans UseMin/UseMax in order to get the range setting for lvMultiAxis ?
The reason why in the MultiAxisRange mode the axis has the first label at 22 rather than 23 is...
I will not participate in a discussion about commenting of source code here....
But that is my point: You made a new implementation of a feature. You also have good reasons why you implemented the things as they are and there are forum posts about these design decisions and discussions. But looking in the code as a stranger, I am lost. I miss the info what the idea was, what were the design decisions, where in the forums were the debates?, etc. When look e.g. a year later in the code , it is not clear to me why there is a lvMultiAxis, what are the differences to lvAuto and so on. therefore one has to spend a lot of time to google around and hopefully find this forum thread. So why not adding a comment with a link to this forum thread?