Represents a base class for brush scales.

IgrBrushScale

new IgrBrushScale(props: P): IgrBrushScale

Returns IgrBrushScale

brushes: string[]
propertyUpdated: object

Checks if this item is a BrushScale

get isBrushScale(): boolean

Returns boolean

Gets the status of the scale

get isReady(): boolean

Returns boolean

get nativeElement(): HTMLElement

Returns HTMLElement

componentDidMount(): void

Returns void

findByName(name: string): any

Parameters

  • name: string

Returns any

Gets a brush from the brushes collection by index.

getBrush(index: number): string

Parameters

  • index: number

Returns string

Notify attached series about changes to this scale

notifySeries(): void

Returns void

Registers a series with the scale. Under normal circumstances you should not need to call this manually.

registerSeries(series: IgrSeries): void

Parameters

  • series: IgrSeries
    • The series to register with the scale.

Returns void

render(): any

Returns any

shouldComponentUpdate(nextProps: any, nextState: any): boolean

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

Unregisters a series with the scale. Under normal circumstances you should not need to call this manually.

unregisterSeries(series: IgrSeries): void

Parameters

  • series: IgrSeries
    • The series to unregister from the scale.

Returns void

_createFromInternal(internal: any): IgrBrushScale

Parameters

  • internal: any

Returns IgrBrushScale