ISpeedometerScaleView.MinorTickInfo

Syntax

MinorTickInfo: ISpeedometerTickInfo;

Description

The MinorTickInfo property returns parameters of minor scale tick marks.

Example

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

Sub Button1OnClick(Sender:Object; Args: IMouseEventArgs);
Var
    s: ISpeedometer;
    v: ISpeedometerView;
    ScaleView: ISpeedometerScaleView;
    Tick: ISpeedometerTickInfo;
Begin
    s := SpeedometerBox1.Speedometer;
    v := s.View;
    s.BeginUpdate;
    ScaleView := v.ScaleViews.Item(0);
    Tick := ScaleView.MinorTickInfo;
    Tick.Color := GxColor.FromName("Green");
    Tick.Height := 2;
    Tick.Proportion := 0.7;
    Tick.Shape := SpeedometerTickShapes.Rombus;
    s.EndUpdate;
End Sub Button1OnClick;

After executing the example, on clicking the button, the formatting of additional speedometer scale tick marks displayed in the SpeedometerBox1 component is changed.

See also:

ISpeedometerScaleView