TiPlotAxis.DesiredStart
TiPlotComponent See Also
Specifies the desired start of values in the axis scale
property DesiredStart : Double;
Description
Use DesiredStart to get or set the desired start for the axis scale. This
property will affect what value will be on the first major tick of the axis.
Let's say the Axis starts at 0, but you want it to start at 9. Setting this
value to 9 will instruct the Axis to start the first major tick on 9 and then
follow the DesiredIncrement property for all further major ticks.
Note: due to performance issues, this property only has effect if the value exists
in the visible axis (i.e. the value must be equal to or between the axis' min
and max values). This feature is only intended to be used with static scales (scales that do
not scroll).
Set this property to 0 to disable this feature and use the default 1-2-5 rules.
Example
Delphi
iComponent.XAxis[0].DesiredStart := 2.5;
iComponent.YAxis[0].DesiredStart := 2.5;
C++ Builder
iComponent->XAxis[0]->DesiredStart = 2.5;
iComponent->YAxis[0]->DesiredStart = 2.5;
Contents | Index | Previous | Next