YAxis

[ Schnittstelle ]

export interface YAxis {
    id: number;
    position: TcHmiCharting.IAxis.Position;
    mainTickMinValue?: number;
    mainTickMaxValue?: number;
    showLabels?: boolean;
    showAxis?: boolean;
    labelFontColor?: TcHmi.SolidColor;
    axisColor?: TcHmi.SolidColor;
    showAxisName?: boolean;
    axisName?: string;
    axisNameFontFamily?: string;
    axisNameFontSize?: number;
    axisNameFontSizeUnit?: TcHmi.DimensionUnit;
    axisNameFontWeight?: TcHmi.FontWeight;
    axisNameFontColor?: TcHmi.SolidColor;
    decimalPlaces?: number;
    unit?: string;
    autoScaling?: boolean;
}

Eigenschaften

Name

Typ

Beschreibung

id

number

id der Y-Achse

position

TcHmiCharting.IAxis.Position

Position als Enumeration

mainTickMinValue

number

Minimalwert des Hauptachsenmarkers

mainTickMaxValue

number

Maximalwert des Hauptachsenmarkers

showLabels

boolean

Soll die Beschriftung angezeigt werden

showAxis

Info: Verfügbar ab Version 1.12.746.0

boolean

Soll die Achse angezeigt werden

labelFontColor (optional)

TcHmi.SolidColor

Farbe des Beschriftungstextes

axisColor (optional)

TcHmi.SolidColor

Farbe des Achse

showAxisName (optional)

boolean

Soll der Achsname angezeigt werden

axisName (optional)

string

Name der Achse

axisNameFontFamily (optional)

string

Schriftart des Achsnamens

axisNameFontSize (optional)

number

Schriftgröße des Achsnamens

axisNameFontSizeUnit (optional)

TcHmi.DimensionUnit

Einheit der Schriftgröße des Achsnamens

axisNameFontWeight (optional)

TcHmi.FontWeight

Schriftstärke des Achsnamens

axisNameFontColor (optional)

TcHmi.SolidColor

Schriftfarbe des Achsnamens

decimalPlaces (optional)

number

Dezimalstellen der Achsbeschriftung

unit (optional)

string

Anzeige-Einheit

autoScaling (optional)

boolean

Soll die Achse sich automatisch anpassen

Siehe auch

Schema: tchmi:framework#/definitions/ChartYAxisDefinition

YAxis 1:

Verfügbar ab Version 1.10