Represents the base class for a legend in DataChartComponent.

IgcLegendBaseComponent

new IgcLegendBaseComponent(): IgcLegendBaseComponent

Returns IgcLegendBaseComponent

legendItemMouseEnter: object
legendItemMouseLeave: object
legendItemMouseLeftButtonDown: object
legendItemMouseLeftButtonUp: object
legendItemMouseMove: object
legendTextContentChanged: object
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

get observedAttributes(): string[]

Returns string[]

attributeChangedCallback(name: string, oldValue: string, newValue: string): void

Parameters

  • name: string
  • oldValue: string
  • newValue: string

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

simulateClick(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

simulateHover(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

simulateMouseLeave(): void

Returns void