Options
All
  • Public
  • Public/Protected
  • All
Menu

Draws a scale for an entire row or for each line within the row. Scales vary depending on the layout used for the row / line. The scale for the chart layout displays the minimum and maximum values while the scale for the agenda layout displays a time scale (8am, 9am, 10am, .....). The labels and dashes in the scale layer have to align perfectly with the lines drawn by the agenda lines layer and the chart lines layer.

since

1.2

Type parameters

  • R: Row

    the type of the rows

Hierarchy

Index

Constructors

constructor

Methods

draw

  • draw(drawingEngine: RowDrawingEngine<R>): void
  • Parameters

    • drawingEngine: RowDrawingEngine<R>

    Returns void

getBackgroundFill

  • getBackgroundFill(): Color
  • Returns Color

getDividerLineStroke

  • getDividerLineStroke(): Color
  • Returns Color

getFont

  • getFont(): string
  • Returns string

getMajorChartLabelsFill

  • getMajorChartLabelsFill(): Color
  • Returns Color

getMajorChartLinesLineWidth

  • getMajorChartLinesLineWidth(): number
  • Returns number

getMajorChartLinesSize

  • getMajorChartLinesSize(): number
  • Returns number

getMajorChartLinesStroke

  • getMajorChartLinesStroke(): Color
  • Returns Color

getMinorChartLabelsFill

  • getMinorChartLabelsFill(): Color
  • Returns Color

getMinorChartLinesLineWidth

  • getMinorChartLinesLineWidth(): number
  • Returns number

getMinorChartLinesSize

  • getMinorChartLinesSize(): number
  • Returns number

getMinorChartLinesStroke

  • getMinorChartLinesStroke(): Color
  • Returns Color

getWidth

  • getWidth(): number
  • Returns number

isMajorChartLabelsVisible

  • isMajorChartLabelsVisible(): boolean
  • Returns boolean

isMajorChartLinesVisible

  • isMajorChartLinesVisible(): boolean
  • Returns boolean

isMinorChartLabelsVisible

  • isMinorChartLabelsVisible(): boolean
  • Returns boolean

isMinorChartLinesVisible

  • isMinorChartLinesVisible(): boolean
  • Returns boolean

setBackgroundFill

  • setBackgroundFill(value: Color): void
  • Parameters

    Returns void

setDividerLineStroke

  • setDividerLineStroke(value: Color): void
  • Parameters

    Returns void

setFont

  • setFont(value: string): void
  • Parameters

    • value: string

    Returns void

setMajorChartLabelsFill

  • setMajorChartLabelsFill(value: Color): void
  • Parameters

    Returns void

setMajorChartLabelsVisible

  • setMajorChartLabelsVisible(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setMajorChartLinesLineWidth

  • setMajorChartLinesLineWidth(value: number): void
  • Parameters

    • value: number

    Returns void

setMajorChartLinesSize

  • setMajorChartLinesSize(value: number): void
  • Parameters

    • value: number

    Returns void

setMajorChartLinesStroke

  • setMajorChartLinesStroke(value: Color): void
  • Parameters

    Returns void

setMajorChartLinesVisible

  • setMajorChartLinesVisible(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setMinorChartLabelsFill

  • setMinorChartLabelsFill(value: Color): void
  • Parameters

    Returns void

setMinorChartLabelsVisible

  • setMinorChartLabelsVisible(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setMinorChartLinesLineWidth

  • setMinorChartLinesLineWidth(value: number): void
  • Parameters

    • value: number

    Returns void

setMinorChartLinesSize

  • setMinorChartLinesSize(value: number): void
  • Parameters

    • value: number

    Returns void

setMinorChartLinesStroke

  • setMinorChartLinesStroke(value: Color): void
  • Parameters

    Returns void

setMinorChartLinesVisible

  • setMinorChartLinesVisible(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

setWidth

  • setWidth(value: number): void
  • Parameters

    • value: number

    Returns void