IChartAxis.AutoScaleParameter

Fore Syntax

AutoScaleParameter: Double;

Fore Syntax

AutoScaleParameter: double;

Description

The AutoScaleParameter property determines parameter of automatic scaling.

Comments

Default parameter value is 0.

When specifying the auto scaling parameter, you need to set respective value for the IChartAxis.AutoScale property.

Fore Example

This example assumes that there is the ChartAxis object of the IChartAxis type.

To execute this example, add a reference to the Chart system assembly.

Sub Scale;
Var
    ChartAxis: IChartAxis;
Begin
    ChartAxis.AutoScale := 
1 As ChartAutoScaleMode;
    ChartAxis.AutoScaleParameter := 
5;
End Sub Scale;

After executing the example clustering with the specified parameter is applied to the axis.

Fore.NET Example

Requirements and the result of execution of the Fore.NET example are similar to the Fore example.

Imports Prognoz.Platform.Interop.Chart;

Public Shared Sub Main(Params: StartParams);
Var
    ChartAxis: IChartAxis;
Begin
    ChartAxis.AutoScale := 1 As ChartAutoScaleMode;
    ChartAxis.AutoScaleParameter := 5;
End Sub;

See also:

IChartAxis