Posted - 13 Oct 2013 : 20:38:48 After years of programming this I am nowhere near understanding these graphs fully! Everytime I take it up after a gap of few months I have to start all over again!

What is the difference between

xaxis.setscalestartX/stopX, and Y transform.setscalestartX/stopX and Y scrollframe.ChartObjScale.SetScaleStartX and Y

what is the difference between xaxis.calcautoaxis, yaxis.calcautoaxisand transform.autoscale

and when should these be used/not be used?

Am I the only one who is this stupid?

1 L A T E S T R E P L I E S (Newest First)

quinncurtis

Posted - 14 Oct 2013 : 08:49:44 The difference between the coordinate system and the axes is discussed on the first page of Chapter 7 - Axes in the QCChart2D manual. Ask any questions referencing that discussion. The axes are graphical objects which reside in the coordinate system. They do NOT have to have the same extent as the coordinate system.

The coordinate system ScaleStart and ScaleStop define the extent of the coordinate system. The axes do not have ScaleStart and ScaleStop methods. They do have AxisMin and AxisMax function. They control the extent of the axis in the associated coordinate system.

The transform.AutoScale methods fit the coordinate system to the data. The axes.CalcAutoAxes methods fit the extent of the axes to the associate coordinate system.

The RTScrollFrame manages the scaling of the associated coordinate system. Calling the scrollframe.ChartObjScale.SetScaleStartX and Y is the same thing as calling SetScaleStartX and Y on the underlying coordinate system