Represents a legend in a DataChartComponent control.
The Legend helps end-user identify visuals of chart series with contextual information related to the data plotted in the chart control.
Constructors
Section titled "Constructors"IgcLegendComponent
new IgcLegendComponent(): IgcLegendComponent Returns IgcLegendComponent
Properties
Section titled "Properties"container
Section titled "container"container: WebComponentWrapper htmlTagName
Section titled "htmlTagName"htmlTagName: string legendItemMouseEnter
Section titled "legendItemMouseEnter"Inherited from: IgcLegendBaseComponent
legendItemMouseEnter: object legendItemMouseLeave
Section titled "legendItemMouseLeave"Inherited from: IgcLegendBaseComponent
legendItemMouseLeave: object legendItemMouseLeftButtonDown
Section titled "legendItemMouseLeftButtonDown"Inherited from: IgcLegendBaseComponent
legendItemMouseLeftButtonDown: object legendItemMouseLeftButtonUp
Section titled "legendItemMouseLeftButtonUp"Inherited from: IgcLegendBaseComponent
legendItemMouseLeftButtonUp: object legendItemMouseMove
Section titled "legendItemMouseMove"Inherited from: IgcLegendBaseComponent
legendItemMouseMove: object legendTextContentChanged
Section titled "legendTextContentChanged"Inherited from: IgcLegendBaseComponent
legendTextContentChanged: object orientation
Section titled "orientation"orientation: LegendOrientation textColor
Section titled "textColor"textColor: string textStyle
Section titled "textStyle"textStyle: string Accessors
Section titled "Accessors"get i(): Legend Returns Legend
isFinancial
Section titled "isFinancial"Inherited from: IgcLegendBaseComponent
Gets if the legend is a financial legend.
get isFinancial(): boolean Returns boolean
isItemwise
Section titled "isItemwise"Inherited from: IgcLegendBaseComponent
Gets if the legend is item-wise.
get isItemwise(): boolean Returns boolean
observedAttributes
Section titled "observedAttributes"get observedAttributes(): string[] Returns string[]
Methods
Section titled "Methods"attributeChangedCallback
Section titled "attributeChangedCallback"Inherited from: IgcLegendBaseComponent
attributeChangedCallback(name: string, oldValue: string, newValue: string): void Parameters
- name:
string - oldValue:
string - newValue:
string
Returns void
connectedCallback
Section titled "connectedCallback"connectedCallback(): void Returns void
destroy
Section titled "destroy"destroy(): void Returns void
disconnectedCallback
Section titled "disconnectedCallback"disconnectedCallback(): void Returns void
exportSerializedVisualData
Section titled "exportSerializedVisualData"Inherited from: IgcLegendBaseComponent
Returns the legend visuals expressed as a serialized string.
exportSerializedVisualData(): string Returns string
findByName
Section titled "findByName"Inherited from: IgcLegendBaseComponent
findByName(name: string): any Parameters
- name:
string
Returns any
flushTextContentChangedCheck
Section titled "flushTextContentChangedCheck"Inherited from: IgcLegendBaseComponent
Use to force the Legend to check for differences in text content.
flushTextContentChangedCheck(): void Returns void
simulateClick
Section titled "simulateClick"Inherited from: IgcLegendBaseComponent
simulateClick(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulateHover
Section titled "simulateHover"Inherited from: IgcLegendBaseComponent
simulateHover(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulateMouseLeave
Section titled "simulateMouseLeave"Inherited from: IgcLegendBaseComponent
simulateMouseLeave(): void Returns void
register
Section titled "register"register(): void