igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
85 lines (84 loc) • 3.55 kB
JavaScript
import { __extends } from "tslib";
import { IgcPolarBaseComponent } from "./igc-polar-base-component";
import { PolarScatterSeries } from "./PolarScatterSeries";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
* Represents a IgxDataChartComponent polar scatter series.
*/
export var IgcPolarScatterSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcPolarScatterSeriesComponent, _super);
function IgcPolarScatterSeriesComponent() {
return _super.call(this) || this;
}
IgcPolarScatterSeriesComponent.prototype.createImplementation = function () {
return new PolarScatterSeries();
};
Object.defineProperty(IgcPolarScatterSeriesComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcPolarScatterSeriesComponent.prototype.connectedCallback = function () {
if (_super.prototype["connectedCallback"]) {
_super.prototype["connectedCallback"].call(this);
}
if (this.i.connectedCallback) {
this.i.connectedCallback();
}
if (!this._attached) {
this._attached = true;
this._flushQueuedAttributes();
}
};
IgcPolarScatterSeriesComponent.prototype.disconnectedCallback = function () {
if (_super.prototype["disconnectedCallback"]) {
_super.prototype["disconnectedCallback"].call(this);
}
if (this.i.disconnectedCallback) {
this.i.disconnectedCallback();
}
if (this._attached) {
this._attached = false;
}
};
Object.defineProperty(IgcPolarScatterSeriesComponent, "observedAttributes", {
get: function () {
if (IgcPolarScatterSeriesComponent._observedAttributesIgcPolarScatterSeriesComponent == null) {
var names = getAllPropertyNames(IgcPolarScatterSeriesComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcPolarScatterSeriesComponent._observedAttributesIgcPolarScatterSeriesComponent = names;
}
return IgcPolarScatterSeriesComponent._observedAttributesIgcPolarScatterSeriesComponent;
},
enumerable: false,
configurable: true
});
IgcPolarScatterSeriesComponent.register = function () {
if (!IgcPolarScatterSeriesComponent._isElementRegistered) {
IgcPolarScatterSeriesComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcPolarScatterSeriesComponent.htmlTagName, IgcPolarScatterSeriesComponent);
}
};
Object.defineProperty(IgcPolarScatterSeriesComponent.prototype, "hasOnlyMarkers", {
/**
* Gets whether the series has only marker as visuals
*/
get: function () {
return this.i.ek;
},
enumerable: false,
configurable: true
});
IgcPolarScatterSeriesComponent._observedAttributesIgcPolarScatterSeriesComponent = null;
IgcPolarScatterSeriesComponent.htmlTagName = "igc-polar-scatter-series";
IgcPolarScatterSeriesComponent._isElementRegistered = false;
return IgcPolarScatterSeriesComponent;
}(IgcPolarBaseComponent));