UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

71 lines (70 loc) 4.03 kB
import { __extends } from "tslib"; import { Component, forwardRef, Input, ChangeDetectionStrategy } from '@angular/core'; import { UnknownValuePlotting_$type } from "igniteui-angular-core"; import { IgxScatterBaseComponent } from "./igx-scatter-base-component"; import { IgxMarkerSeriesComponent } from "./igx-marker-series-component"; import { IgxSeriesComponent } from "./igx-series-component"; import { ScatterLineSeries } from "./ScatterLineSeries"; import { ensureEnum } from "igniteui-angular-core"; import * as i0 from "@angular/core"; /** * Represents a IgxDataChartComponent scatter line series */ var IgxScatterLineSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgxScatterLineSeriesComponent, _super); function IgxScatterLineSeriesComponent() { return _super.call(this) || this; } IgxScatterLineSeriesComponent.prototype.createImplementation = function () { return new ScatterLineSeries(); }; Object.defineProperty(IgxScatterLineSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); Object.defineProperty(IgxScatterLineSeriesComponent.prototype, "isLineOnly", { /** * Gets whether the current series shows only line shapes. */ get: function () { return this.i.fj; }, enumerable: false, configurable: true }); Object.defineProperty(IgxScatterLineSeriesComponent.prototype, "unknownValuePlotting", { /** * Determines how unknown values will be plotted on the chart. * Null and Double.NaN are two examples of unknown values. */ get: function () { return this.i.acm; }, set: function (v) { this.i.acm = ensureEnum(UnknownValuePlotting_$type, v); }, enumerable: false, configurable: true }); IgxScatterLineSeriesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxScatterLineSeriesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); IgxScatterLineSeriesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxScatterLineSeriesComponent, selector: "igx-scatter-line-series", inputs: { unknownValuePlotting: "unknownValuePlotting" }, providers: [{ provide: IgxScatterBaseComponent, useExisting: forwardRef(function () { return IgxScatterLineSeriesComponent; }) }, { provide: IgxMarkerSeriesComponent, useExisting: forwardRef(function () { return IgxScatterLineSeriesComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxScatterLineSeriesComponent; }) }], usesInheritance: true, ngImport: i0, template: "", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); return IgxScatterLineSeriesComponent; }(IgxScatterBaseComponent)); export { IgxScatterLineSeriesComponent }; i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxScatterLineSeriesComponent, decorators: [{ type: Component, args: [{ selector: 'igx-scatter-line-series', template: "", providers: [{ provide: IgxScatterBaseComponent, useExisting: forwardRef(function () { return IgxScatterLineSeriesComponent; }) }, { provide: IgxMarkerSeriesComponent, useExisting: forwardRef(function () { return IgxScatterLineSeriesComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxScatterLineSeriesComponent; }) }], changeDetection: ChangeDetectionStrategy.OnPush }] }], ctorParameters: function () { return []; }, propDecorators: { unknownValuePlotting: [{ type: Input }] } });