igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
70 lines (69 loc) • 2.93 kB
JavaScript
import { IgcStackedColumnSeriesComponent } from "./igc-stacked-column-series-component";
import { Stacked100ColumnSeries } from "./Stacked100ColumnSeries";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
* Represents a IgxDataChartComponent stacked100 column series.
*/
export let IgcStacked100ColumnSeriesComponent = /*@__PURE__*/ (() => {
class IgcStacked100ColumnSeriesComponent extends IgcStackedColumnSeriesComponent {
createImplementation() {
return new Stacked100ColumnSeries();
}
/**
* @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 (IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent == null) {
let names = getAllPropertyNames(IgcStacked100ColumnSeriesComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent = names;
}
return IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent;
}
static register() {
if (!IgcStacked100ColumnSeriesComponent._isElementRegistered) {
IgcStacked100ColumnSeriesComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcStacked100ColumnSeriesComponent.htmlTagName, IgcStacked100ColumnSeriesComponent);
}
}
get isPercentBased() {
return this.i.abb;
}
}
IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent = null;
IgcStacked100ColumnSeriesComponent.htmlTagName = "igc-stacked-100-column-series";
IgcStacked100ColumnSeriesComponent._isElementRegistered = false;
return IgcStacked100ColumnSeriesComponent;
})();