LineGraphDescription

[ Interface ]

export interface lineGraphDescription {
    yAxisId: number;
    lineWidth?: number;
    lineColor?: TcHmi.SolidColor;
    pointDot?: boolean;
    pointDotRadius?: number;
    pointDotFillColor?: TcHmi.SolidColor;
    pointDotStrokeWidth?: number;
    pointDotStrokeColor?: TcHmi.SolidColor;
    legendName?: string;
    xScaleFactor?: number;
    yScaleFactor?: number;
    fillMode?: string;
    fillModeReferenceLine?: string;
    fillColor?: TcHmi.SolidColor;
    fillTransparency?: string;
    colorRanges?: {
        color?: TcHmi.SolidColor;
        fillColor?: TcHmi.SolidColor;
        expression?: TcHmi.Filter | null | undefined;
    }[];
    defaultVisibility?: boolean;
}

Properties

Name

Type

Description

yAxisId

number

id of the Y-axis

lineWidth (optional)

number

Line width

lineColor (optional)

TcHmi.SolidColor

Line color

pointDot

boolean

Are points to be drawn

pointDotRadius (optional)

number

Radius of the point circles

pointDotFillColor (optional)

TcHmi.SolidColor

Fill color of the point circle

pointDotStrokeWidth (optional)

number

Stroke width of the point circle

pointDotStrokeColor (optional)

TcHmi.SolidColor

Stroke color of the point circle

legendName (optional)

string

Legend name

xScaleFactor (optional)

number

X scaling factor

yScaleFactor (optional)

number

Y scaling factor

fillMode (optional)

string

Mode how the graph should be filled. Possible are: None, HorizontalZero, Top, Bottom, Center and Source

fillModeReferenceLine

string

Name of the ReferenceLine

fillColor (optional)

TcHmi.SolidColor

Fill color of the graph

fillTransparency (optional)

number

Transparency of the fill color (0-1)

colorRanges (optional)

TcHmiCharting.ColorRanges

Array of colors used for different areas

defaultVisibility (optional)

boolean

Visibility of the graph

See also

Schema: tchmi:framework#/definitions/ChartLineGraphDescriptionDefinitionList

LineGraphDescription 1:

Available from 1.8