YAxis
[ Interface ]
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;
}
Properties
Name | Type | Description |
---|---|---|
id | id of the Y-axis | |
position | Position as enumeration | |
mainTickMinValue | Minimum value of the main axis marker | |
mainTickMaxValue | Maximum value of the main axis marker | |
showLabels | Is the label to be displayed | |
showAxis Info: Available from version 1.12.746.0 | Is the axis to be displayed | |
labelFontColor (optional) | Label font color | |
axisColor (optional) | Axis color | |
showAxisName (optional) | Is the axis name to be displayed | |
axisName (optional) | Name of the axis | |
axisNameFontFamily (optional) | Font of the axis name | |
axisNameFontSize (optional) | Font size of the axis name | |
axisNameFontSizeUnit (optional) | Unit of the font size of the axis name | |
axisNameFontWeight (optional) | Font weight of the axis name | |
axisNameFontColor (optional) | Font color of the axis name | |
decimalPlaces (optional) | Decimal places of the axis labeling | |
unit (optional) | Display unit | |
autoScaling (optional) | Should the axis adapt automatically |
See also
Schema: tchmi:framework#/definitions/ChartYAxisDefinition
Available from version 1.10 |