igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
191 lines (182 loc) • 7.37 kB
TypeScript
import { XamDoughnutChart } from './XamDoughnutChart';
import { IgPoint } from "igniteui-webcomponents-core";
import { IgcSliceClickEventArgs } from "./igc-slice-click-event-args";
import { IgcHoleDimensionsChangedEventArgs } from "./igc-hole-dimensions-changed-event-args";
import { IgcRingSeriesBaseComponent } from "./igc-ring-series-base-component";
import { IgcRingSeriesCollection } from "./igc-ring-series-collection";
import { IgcHTMLElement } from "igniteui-webcomponents-core";
/**
* Represents concentric circles divided on arcs depending on data.
*/
export declare class IgcDoughnutChartComponent extends IgcHTMLElement {
private container;
contentSeries: IgcRingSeriesBaseComponent[];
private _height;
private _width;
set height(value: string);
get height(): string;
set width(value: string);
get width(): string;
private _renderer;
constructor();
ngOnDestroy(): void;
private _wrapper;
private onImplementationCreated;
protected createImplementation(): XamDoughnutChart;
protected _implementation: any;
get i(): XamDoughnutChart;
protected createSeriesComponent(type: string): any;
private _chart;
private updateContentChildren;
private _seriesAdapter;
private _disconnected;
disconnectedCallback(): void;
connectedCallback(): void;
afterContentInit(): void;
/**
* The series actually present in the chart. Do not directly modify this array.
* This array's contents can be modified by causing Angular to reproject the child content.
* Or adding and removing series from the manual series collection on the series property.
*/
actualSeries: IgcRingSeriesBaseComponent[];
private _series;
/**
* A collection or manually added series for the chart.
*/
get series(): IgcRingSeriesCollection;
private _ensureTooltipCreated;
private _defaultTooltips;
private _ensureDefaultTooltip;
private _onDefaultTooltipsReady;
private createTooltip;
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 _observedAttributesIgcDoughnutChartComponent;
static get observedAttributes(): string[];
private _updatingFromAttribute;
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
static htmlTagName: string;
protected static _isElementRegistered: boolean;
static register(): void;
/**
* Gets or sets whether the slices can be selected.
*/
get allowSliceSelection(): boolean;
set allowSliceSelection(v: boolean);
/**
* Gets or sets whether all surface interactions with the plot area should be disabled.
*/
get isSurfaceInteractionDisabled(): boolean;
set isSurfaceInteractionDisabled(v: boolean);
/**
* Gets or sets whether the slices can be exploded.
*/
get allowSliceExplosion(): boolean;
set allowSliceExplosion(v: boolean);
/**
* Gets or sets the inner extent of the doughnut chart. It is percent from the outer ring's radius.
*/
get innerExtent(): number;
set innerExtent(v: number);
/**
* Gets or sets the fill brush.
*/
get selectedSliceFill(): string;
set selectedSliceFill(v: string);
/**
* Gets or sets the stroke brush.
*/
get selectedSliceStroke(): string;
set selectedSliceStroke(v: string);
/**
* Gets or sets the stroke thickness.
*/
get selectedSliceStrokeThickness(): number;
set selectedSliceStrokeThickness(v: number);
/**
* Gets or sets the opacity.
*/
get selectedSliceOpacity(): number;
set selectedSliceOpacity(v: number);
ensureSelectedStyle(): void;
/**
* Gets or sets the scaling value used to affect the pixel density of the control.
* A higher scaling ratio will produce crisper visuals at the expense of memory. Lower values will cause the control
* to appear blurry.
*/
get pixelScalingRatio(): number;
set pixelScalingRatio(v: number);
/**
* Resolved pixel scaling ratio. Unless explicitly overridden by the
* IgxDoughnutChart.PixelScalingRatioComponent property,
* this one returns the default ratio enforced by device. High resolution devices will initialize this property
* to a higher value.
*/
get actualPixelScalingRatio(): number;
set actualPixelScalingRatio(v: number);
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;
/**
* Called by the UI framework to provide a UI container for rendering this control.
* @param container * The UI container element.
*/
provideContainer(container: any): void;
/**
* Called when the control has been resized.
*/
notifyResized(): void;
/**
* Gets the ID of the UI container.
*/
getContainerID(): string;
/**
* Gets the center coordinates of the doughnut chart's center presenter.
*/
getCenterCoordinates(): IgPoint;
/**
* Gets the hole radius of the doughnut chart's center presenter.
*/
getHoleRadius(): number;
/**
* Use to force the doughnut chart to finish any deferred work before printing or evaluating its visual.
* This should only be called if the visual of the doughnut chart needs to be synchronously saved or evaluated.
* Calling this method too often will hinder the performance of the doughnut chart.
*/
flush(): void;
/**
* Returns the chart visuals expressed as a serialized string.
*/
exportSerializedVisualData(): string;
notifyInsertItem(source_: any, index: number, newItem: any): void;
notifySetItem(source_: any, index: number, oldItem: any, newItem: any): void;
/**
* Used to manually notify the chart that the data source has reset or cleared its items.
*/
notifyClearItems(source_: any): void;
notifyRemoveItem(source_: any, index: number, oldItem: any): void;
private _sliceClick;
private _sliceClick_wrapped;
/**
* Raised when the slice is clicked.
*/
get sliceClick(): (s: IgcDoughnutChartComponent, e: IgcSliceClickEventArgs) => void;
set sliceClick(ev: (s: IgcDoughnutChartComponent, e: IgcSliceClickEventArgs) => void);
private _holeDimensionsChanged;
private _holeDimensionsChanged_wrapped;
/**
* Raised when the dimensions (center point or radius) of the doughnut hole change.
*/
get holeDimensionsChanged(): (s: IgcDoughnutChartComponent, e: IgcHoleDimensionsChangedEventArgs) => void;
set holeDimensionsChanged(ev: (s: IgcDoughnutChartComponent, e: IgcHoleDimensionsChangedEventArgs) => void);
}