YAxis
[ Schnittstelle ]
export interface YAxis {
id: number;
showAxis: boolean;
position: TcHmiCharting.IAxis.Position;
logarithmicScale: boolean;
axisLabeling: ["Number", "Scientific", "Auto"];
mainTickMinValue?: number;
mainTickMaxValue?: number;
showLabels?: 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;
showIfNoData?: boolean;
format?: TcHmi.IFunction<string>;
}Eigenschaften
|
Name |
Typ |
Beschreibung |
|---|---|---|
|
id |
id der Y-Achse | |
|
showAxis |
Sichtbarkeit der Achse | |
|
position |
Position als Enumeration | |
|
logarithmicScale |
Logarithmische Skalierung | |
|
axisLabeling |
Zahlenformat der Achse | |
|
mainTickMinValue |
Minimalwert des Hauptachsenmarkers | |
|
mainTickMaxValue |
Maximalwert des Hauptachsenmarkers | |
|
showLabels |
Soll die Beschriftung angezeigt werden. | |
|
labelFontColor (optional) |
Farbe des Beschritungstextes | |
|
axisColor (optional) |
Farbe des Achse | |
|
showAxisName (optional) |
Soll der Achsname angezeigt werden. | |
|
axisName (optional) |
Name der Achse | |
|
axisNameFontFamily (optional) |
Schriftart des Achsnamens | |
|
axisNameFontSize (optional) |
Schriftgröße des Achsnamens | |
|
axisNameFontSizeUnit (optional) |
Einheit der Schriftgröße des Achsnamens. | |
|
axisNameFontWeight (optional) |
Schriftstärke des Achsnamens | |
|
axisNameFontColor (optional) |
Schriftfarbe des Achsnamens | |
|
decimalPlaces (optional) |
Dezimalstellen der Achsbeschriftung | |
|
unit (optional) |
Anzeige-Einheit | |
|
autoScaling (optional) |
Soll die Achse sich automatisch anpassen. | |
|
showAxisIfNoData |
Anzeige der Achse bei vorhandenen Daten. | |
|
Format |
Formattierungsfunktion der Achsenbeschriftungen | |
|
mirrorAxis (optional) |
Spiegelung der Achse |
Siehe auch
Schema: tchmi:framework#/definitions/ChartYAxisDefinition
![]() | Verfügbar ab Version 1.10 |
