Represents a legend that displays an item for each point in the series.

You can use the ItemLegend to display a legend item for each data member bound to the BubbleSeries

IgxItemLegendComponent

new IgxItemLegendComponent(renderer: Renderer2, elRef: ElementRef, ngZone: NgZone): IgxItemLegendComponent

Returns IgxItemLegendComponent

container: Element

Inherited from: IgxLegendBaseComponent

ngAcceptInputType_isFinancial: string | boolean
ngAcceptInputType_isItemwise: string | boolean
ngAcceptInputType_orientation: string | LegendOrientation
ɵcmp: ɵɵComponentDeclaration<IgxItemLegendComponent, "igx-item-legend", never, object, object, never, never, true, never>
ɵfac: ɵɵFactoryDeclaration<IgxItemLegendComponent, never>
get i(): ItemLegend

Returns ItemLegend

Inherited from: IgxLegendBaseComponent

Gets if the legend is a financial legend.

get isFinancial(): boolean

Returns boolean

Gets whether or not this legend supports itemwise visuals

get isItemwise(): boolean

Returns boolean

Gets or sets the current Legend object's orientation.

get orientation(): LegendOrientation

Returns LegendOrientation

set orientation(v: LegendOrientation): void

Parameters

Returns void

Gets or sets color of text

get textColor(): string

Returns string

set textColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets style of text.

get textStyle(): string

Returns string

set textStyle(v: string): void

Parameters

  • v: string

Returns void

createItemwiseLegendItems(legendItems: any, series: any): void

Parameters

  • legendItems: any
  • series: any

Returns void

Returns the legend visuals expressed as a serialized string.

exportSerializedVisualData(): any

Returns any

exportVisualData(): any

Returns any

Inherited from: IgxLegendBaseComponent

findByName(name: string): any

Parameters

  • name: string

Returns any

Inherited from: IgxLegendBaseComponent

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

flushTextContentChangedCheck(): void

Returns void

ngOnDestroy(): void

Returns void

Inherited from: IgxLegendBaseComponent

simulateClick(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

Inherited from: IgxLegendBaseComponent

simulateHover(point: IgPoint): void

Parameters

  • point: IgPoint

Returns void

Inherited from: IgxLegendBaseComponent

simulateMouseLeave(): void

Returns void