ISpeedometerScaleView.DeltaAngle

Syntax

DeltaAngle: Double;

Description

The DeltaAngle property determines a scale working area angle.

Comments

The minimum value is 10 degrees, the maximum value is 360 degrees. The property is set to 270 degrees by default.

Example

Executing the example requires a form with the Button1 button and the SpeedometerBox component named SpeedometerBox1.

Sub Button2OnClick(Sender:Object; Args: IMouseEventArgs);
Var
    s: ISpeedometer;
    v: ISpeedometerView;
    ScaleView: ISpeedometerScaleView;
Begin
    s := SpeedometerBox1.Speedometer;
    v := s.View;
    s.BeginUpdate;
    ScaleView := v.ScaleViews.Item(0);
    ScaleView.StartAngle:= -80;
    ScaleView.DeltaAngle:= 340;
    s.EndUpdate;
End Sub Button1OnClick;

After executing the example, on clicking the button, the formatting of the speedometer scale displayed in the SpeedometerBox1 component is changed. The initial angle and angle of the working area is changed for the scale.

See also:

ISpeedometerScaleView