LineGraphDescription

[ Interface ]

export interface LineGraphDescription {
    symbol: string;
    yAxisId?: number;
    lineWidth?: number;
    lineColor?: TcHmi.SolidColor;
    pointDot?: boolean;
    pointDotInStopMode?: boolean;
    pointDotRadius?: number;
    pointDotFillColor?: TcHmi.SolidColor;
    pointDotStrokeWidth?: number;
    pointDotStrokeColor?: TcHmi.SolidColor;
    legendName?: string;
    scaleFactor?: number;
    fillColor?: TcHmi.SolidColor;
    fillTransparency?: string;
    fillMode?: string;
}


Properties

Name

Type

Description

symbol

string

Symbol name

yAxisId (optional)

number

id of the Y-axis

lineWidth (optional)

number

Line width

lineColor (optional)

TcHmi.SolidColor

Line color

pointDot

boolean

Are points to be drawn

pointDotInStopMode (optional)

boolean

Should points be drawn in stop mode

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

scaleFactor (optional)

number

Scale factor

fillColor (optional)

TcHmi.SolidColor

Fill color of the graph

fillMode (optional)

string

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

fillTransparency (optional)

number

Fill color transparency (0-1)

See also

Schema: tchmi:framework#/definitions/TrendLineGraphDescriptionDefinitionList

LineGraphDescription 1:

Available from version 1.10