Represents the base class for a legend in DataChartComponent.

IgrLegendBase

new IgrLegendBase(props: P): IgrLegendBase

Returns IgrLegendBase

get i(): LegendBase

Returns LegendBase

Gets if the legend is a financial legend.

get isFinancial(): boolean

Returns boolean

Gets if the legend is item-wise.

get isItemwise(): boolean

Returns boolean

componentDidMount(): void

Returns void

Returns the legend visuals expressed as a serialized string.

exportSerializedVisualData(): string

Returns string

findByName(name: string): any

Parameters

  • name: string

Returns any

Use to force the Legend to check for differences in text content.

flushTextContentChangedCheck(): void

Returns void

render(): any

Returns any

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

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

simulateClick(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

simulateHover(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

simulateMouseLeave(): void

Returns void