Hierarchy

  • StiGaugeRange

Implements

Index

Constructors

constructor

  • new StiGaugeRange(color?: Color, startExpression?: string, endExpression?: string): StiGaugeRange
  • Creates a new object of the type StiGaugeRange.

    color

    A color of the gauge range.

    startexpression

    An expression which calculates a start value of the gauge range.

    endexpression

    An expression which calculates an end value of the gauge range.

    Parameters

    • Optional color: Color
    • Optional startExpression: string
    • Optional endExpression: string

    Returns StiGaugeRange

Properties

Protected _hash

_hash: StiMeta[]

color

color: Color = Color.red

endExpression

endExpression: string = "100"

Contains expression for calculation a end of the gauge range.

startExpression

startExpression: string = "0"

Contains expression for calculation a start of the gauge range.

Accessors

end

  • get end(): number
  • set end(value: number): void
  • 'End' property obsoleted! Please use 'EndExpression' property instead of it.

    Returns number

  • 'End' property obsoleted! Please use 'EndExpression' property instead of it.

    Parameters

    • value: number

    Returns void

start

  • get start(): number
  • set start(value: number): void
  • 'Start' property obsoleted! Please use 'StartExpression' property instead of it.

    Returns number

  • 'Start' property obsoleted! Please use 'StartExpression' property instead of it.

    Parameters

    • value: number

    Returns void

Methods

clone

  • clone(): any

getStringRepresentation

  • getStringRepresentation(): string
  • Returns string

implements

  • implements(): any[]
  • Returns any[]

loadFromJsonObject

  • loadFromJsonObject(j: StiJson): void

loadFromXml

  • Parameters

    Returns void

meta

saveToJsonObject

saveToString

  • saveToString(): string
  • Saves element to String.

    Returns string

    String representation which contains schema.

Static loadFromJson

Static loadFromXml

Generated using TypeDoc