Represents the base class for a legend in DataChartComponent.
Constructors
Section titled "Constructors"IgrLegendBase
new IgrLegendBase(props: P): IgrLegendBase Returns IgrLegendBase
Accessors
Section titled "Accessors"get i(): LegendBase
Returns LegendBase
isFinancial
Section titled "isFinancial"Gets if the legend is a financial legend.
get isFinancial(): boolean
Returns boolean
isItemwise
Section titled "isItemwise"Gets if the legend is item-wise.
get isItemwise(): boolean
Returns boolean
Methods
Section titled "Methods"componentDidMount
Section titled "componentDidMount"componentDidMount(): void Returns void
exportSerializedVisualData
Section titled "exportSerializedVisualData"Returns the legend visuals expressed as a serialized string.
exportSerializedVisualData(): string Returns string
findByName
Section titled "findByName"findByName(name: string): any Parameters
- name:
string
Returns any
flushTextContentChangedCheck
Section titled "flushTextContentChangedCheck"Use to force the Legend to check for differences in text content.
flushTextContentChangedCheck(): void Returns void
render
Section titled "render"render(): any Returns any
shouldComponentUpdate
Section titled "shouldComponentUpdate"shouldComponentUpdate(nextProps: any, nextState: any): boolean Parameters
- nextProps:
any - nextState:
any
Returns boolean
simulateClick
Section titled "simulateClick"simulateClick(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulateHover
Section titled "simulateHover"simulateHover(point: IgPoint): void Parameters
- point:
IgPoint
Returns void
simulateMouseLeave
Section titled "simulateMouseLeave"simulateMouseLeave(): void