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

number

id of the Y-axis

position

TcHmiCharting.IAxis.Position

Position as enumeration

mainTickMinValue

number

Minimum value of the main axis marker

mainTickMaxValue

number

Maximum value of the main axis marker

showLabels

boolean

Is the label to be displayed

showAxis

Info: Available from version 1.12.746.0

boolean

Is the axis to be displayed

labelFontColor (optional)

TcHmi.SolidColor

Label font color

axisColor (optional)

TcHmi.SolidColor

Axis color

showAxisName (optional)

boolean

Is the axis name to be displayed

axisName (optional)

string

Name of the axis

axisNameFontFamily (optional)

string

Font of the axis name

axisNameFontSize (optional)

number

Font size of the axis name

axisNameFontSizeUnit (optional)

TcHmi.DimensionUnit

Unit of the font size of the axis name

axisNameFontWeight (optional)

TcHmi.FontWeight

Font weight of the axis name

axisNameFontColor (optional)

TcHmi.SolidColor

Font color of the axis name

decimalPlaces (optional)

number

Decimal places of the axis labeling

unit (optional)

string

Display unit

autoScaling (optional)

boolean

Should the axis adapt automatically

See also

Schema: tchmi:framework#/definitions/ChartYAxisDefinition

YAxis 1:

Available from version 1.10