Represents the base class for a legend in IgxDataChartComponent.

IgxLegendBaseComponent

new IgxLegendBaseComponent(): IgxLegendBaseComponent

Returns IgxLegendBaseComponent

ngAcceptInputType_isFinancial: string | boolean
ngAcceptInputType_isItemwise: string | boolean
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

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

simulateClick(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

simulateHover(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

simulateMouseLeave(): void

Returns void