UNPKG

igniteui-webcomponents-charts

Version:

Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.

85 lines (84 loc) 3.43 kB
import { UnknownValuePlotting_$type } from "igniteui-webcomponents-core"; import { IgcAnchoredRadialSeriesComponent } from "./igc-anchored-radial-series-component"; import { RadialAreaSeries } from "./RadialAreaSeries"; import { getAllPropertyNames, toSpinal, ensureEnum, enumToString } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent radial area series. */ export let IgcRadialAreaSeriesComponent = /*@__PURE__*/ (() => { class IgcRadialAreaSeriesComponent extends IgcAnchoredRadialSeriesComponent { createImplementation() { return new RadialAreaSeries(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } connectedCallback() { if (super["connectedCallback"]) { super["connectedCallback"](); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } } disconnectedCallback() { if (super["disconnectedCallback"]) { super["disconnectedCallback"](); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } } static get observedAttributes() { if (IgcRadialAreaSeriesComponent._observedAttributesIgcRadialAreaSeriesComponent == null) { let names = getAllPropertyNames(IgcRadialAreaSeriesComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcRadialAreaSeriesComponent._observedAttributesIgcRadialAreaSeriesComponent = names; } return IgcRadialAreaSeriesComponent._observedAttributesIgcRadialAreaSeriesComponent; } static register() { if (!IgcRadialAreaSeriesComponent._isElementRegistered) { IgcRadialAreaSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcRadialAreaSeriesComponent.htmlTagName, IgcRadialAreaSeriesComponent); } } /** * Gets whether the current series shows an area shape. */ get isArea() { return this.i.ew; } /** * Determines how unknown values will be plotted on the chart. * Null and Double.NaN are two examples of unknown values. */ get unknownValuePlotting() { return this.i.adt; } set unknownValuePlotting(v) { this.i.adt = ensureEnum(UnknownValuePlotting_$type, v); this._a("unknownValuePlotting", enumToString(UnknownValuePlotting_$type, this.i.adt)); } } IgcRadialAreaSeriesComponent._observedAttributesIgcRadialAreaSeriesComponent = null; IgcRadialAreaSeriesComponent.htmlTagName = "igc-radial-area-series"; IgcRadialAreaSeriesComponent._isElementRegistered = false; return IgcRadialAreaSeriesComponent; })();