igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
104 lines (101 loc) • 4.71 kB
TypeScript
import { IgPoint } from "igniteui-webcomponents-core";
import { LegendBase } from './LegendBase';
import { IgcLegendMouseButtonEventArgs } from "./igc-legend-mouse-button-event-args";
import { IgcLegendMouseEventArgs } from "./igc-legend-mouse-event-args";
import { IgcLegendTextContentChangedEventArgs } from "./igc-legend-text-content-changed-event-args";
import { IgcHTMLElement } from "igniteui-webcomponents-core";
export declare const LegendBaseStyles: string[];
/**
* Represents the base class for a legend in IgxDataChartComponent.
*/
export declare abstract class IgcLegendBaseComponent extends IgcHTMLElement {
protected _implementation: any;
get i(): LegendBase;
private onImplementationCreated;
constructor();
private static _checked;
private static ensureCss;
protected abstract createImplementation(): any;
private _settingAttributes;
protected _attached: boolean;
private _queuedSetAttributes;
protected _enqueueSetAttribute(attrName: string, attrValue: string): void;
protected _flushQueuedAttributes(): void;
protected _a(attrName: string, attrValue: any): void;
private static _observedAttributesIgcLegendBaseComponent;
static get observedAttributes(): string[];
private _updatingFromAttribute;
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
/**
* Gets if the legend is item-wise.
*/
get isItemwise(): boolean;
/**
* Gets if the legend is a financial legend.
*/
get isFinancial(): boolean;
findByName(name: string): any;
protected __p: string;
protected _hasUserValues: Set<string>;
protected get hasUserValues(): Set<string>;
protected __m(propertyName: string): void;
protected _stylingContainer: any;
protected _stylingParent: any;
protected _inStyling: boolean;
protected _styling(container: any, component: any, parent?: any): void;
/**
* Use to force the Legend to check for differences in text content.
*/
flushTextContentChangedCheck(): void;
/**
* Returns the legend visuals expressed as a serialized string.
*/
exportSerializedVisualData(): string;
simulateHover(point: IgPoint): void;
simulateClick(point: IgPoint): void;
simulateMouseLeave(): void;
private _legendItemMouseLeftButtonDown;
private _legendItemMouseLeftButtonDown_wrapped;
/**
* Event raised when the left mouse button is pressed while the mouse pointer is over a legend item
* in this Legend.
*/
get legendItemMouseLeftButtonDown(): (s: IgcLegendBaseComponent, e: IgcLegendMouseButtonEventArgs) => void;
set legendItemMouseLeftButtonDown(ev: (s: IgcLegendBaseComponent, e: IgcLegendMouseButtonEventArgs) => void);
private _legendItemMouseLeftButtonUp;
private _legendItemMouseLeftButtonUp_wrapped;
/**
* Event raised when the left mouse button is released while the mouse pointer is over a legend item
* in this Legend.
*/
get legendItemMouseLeftButtonUp(): (s: IgcLegendBaseComponent, e: IgcLegendMouseButtonEventArgs) => void;
set legendItemMouseLeftButtonUp(ev: (s: IgcLegendBaseComponent, e: IgcLegendMouseButtonEventArgs) => void);
private _legendItemMouseEnter;
private _legendItemMouseEnter_wrapped;
/**
* Event raised when the mouse pointer enters a legend item of this legend.
*/
get legendItemMouseEnter(): (s: IgcLegendBaseComponent, e: IgcLegendMouseEventArgs) => void;
set legendItemMouseEnter(ev: (s: IgcLegendBaseComponent, e: IgcLegendMouseEventArgs) => void);
private _legendItemMouseLeave;
private _legendItemMouseLeave_wrapped;
/**
* Event raised when the mouse pointer leaves a legend item of this legend.
*/
get legendItemMouseLeave(): (s: IgcLegendBaseComponent, e: IgcLegendMouseEventArgs) => void;
set legendItemMouseLeave(ev: (s: IgcLegendBaseComponent, e: IgcLegendMouseEventArgs) => void);
private _legendItemMouseMove;
private _legendItemMouseMove_wrapped;
/**
* Event raised when the mouse pointer moves over a legend item of this legend.
*/
get legendItemMouseMove(): (s: IgcLegendBaseComponent, e: IgcLegendMouseEventArgs) => void;
set legendItemMouseMove(ev: (s: IgcLegendBaseComponent, e: IgcLegendMouseEventArgs) => void);
private _legendTextContentChanged;
private _legendTextContentChanged_wrapped;
/**
* Event raised when this legend's required size changes.
*/
get legendTextContentChanged(): (s: IgcLegendBaseComponent, e: IgcLegendTextContentChangedEventArgs) => void;
set legendTextContentChanged(ev: (s: IgcLegendBaseComponent, e: IgcLegendTextContentChangedEventArgs) => void);
}