UNPKG

igniteui-angular-charts

Version:

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

56 lines (55 loc) 3.38 kB
import { Component, forwardRef, Input, ChangeDetectionStrategy } from '@angular/core'; import { UnknownValuePlotting, UnknownValuePlotting_$type } from "igniteui-angular-core"; import { IgxPolarLineSeriesBaseComponent } from "./igx-polar-line-series-base-component"; import { IgxPolarBaseComponent } from "./igx-polar-base-component"; import { IgxMarkerSeriesComponent } from "./igx-marker-series-component"; import { IgxSeriesComponent } from "./igx-series-component"; import { PolarLineSeries } from "./PolarLineSeries"; import { ensureEnum } from "igniteui-angular-core"; import * as i0 from "@angular/core"; /** * Represents a IgxDataChartComponent polar line series. */ export class IgxPolarLineSeriesComponent extends IgxPolarLineSeriesBaseComponent { createImplementation() { return new PolarLineSeries(); } /** * @hidden */ get i() { return this._implementation; } constructor() { super(); } /** * Gets whether the current series shows only line shapes. */ get isLineOnly() { return this.i.fo; } /** * 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.ad7; } set unknownValuePlotting(v) { this.i.ad7 = ensureEnum(UnknownValuePlotting_$type, v); } static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxPolarLineSeriesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); } static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0-rc.1", type: IgxPolarLineSeriesComponent, isStandalone: true, selector: "igx-polar-line-series", inputs: { unknownValuePlotting: "unknownValuePlotting" }, providers: [{ provide: IgxPolarLineSeriesBaseComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }, { provide: IgxPolarBaseComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }, { provide: IgxMarkerSeriesComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }, { provide: IgxSeriesComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxPolarLineSeriesComponent, decorators: [{ type: Component, args: [{ selector: 'igx-polar-line-series', template: ``, providers: [{ provide: IgxPolarLineSeriesBaseComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }, { provide: IgxPolarBaseComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }, { provide: IgxMarkerSeriesComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }, { provide: IgxSeriesComponent, useExisting: forwardRef(() => IgxPolarLineSeriesComponent) }], changeDetection: ChangeDetectionStrategy.OnPush }] }], ctorParameters: () => [], propDecorators: { unknownValuePlotting: [{ type: Input }] } });