UNPKG

igniteui-angular-charts

Version:

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

57 lines (56 loc) 4.39 kB
import { Component, forwardRef, Input, ChangeDetectionStrategy } from '@angular/core'; import { IgxDataAnnotationPointLayerComponent } from "./igx-data-annotation-point-layer-component"; import { IgxDataAnnotationRangeLayerComponent } from "./igx-data-annotation-range-layer-component"; import { IgxDataAnnotationShapeLayerComponent } from "./igx-data-annotation-shape-layer-component"; import { IgxDataAnnotationAxisLayerComponent } from "./igx-data-annotation-axis-layer-component"; import { IgxAnnotationLayerComponent } from "./igx-annotation-layer-component"; import { IgxSeriesComponent } from "./igx-series-component"; import { DataAnnotationBandLayer } from "./DataAnnotationBandLayer"; import * as i0 from "@angular/core"; /** * Represents an annotation layer that renders bands (line with breadth) at locations of x/y values mapped to these properties: * StartValueXMemberPath * StartValueYMemberPath * EndValueXMemberPath * EndValueYMemberPath * AnnotationBreadthMemberPath */ export let IgxDataAnnotationBandLayerComponent = /*@__PURE__*/ (() => { class IgxDataAnnotationBandLayerComponent extends IgxDataAnnotationPointLayerComponent { constructor() { super(); } createImplementation() { return new DataAnnotationBandLayer(); } /** * @hidden */ get i() { return this._implementation; } /** * Gets or sets name of data column with breath/size of shape annotations. */ get annotationBreadthMemberPath() { return this.i.ak7; } set annotationBreadthMemberPath(v) { this.i.ak7 = v; } } IgxDataAnnotationBandLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataAnnotationBandLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); IgxDataAnnotationBandLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataAnnotationBandLayerComponent, selector: "igx-data-annotation-band-layer", inputs: { annotationBreadthMemberPath: "annotationBreadthMemberPath" }, providers: [{ provide: IgxDataAnnotationPointLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxDataAnnotationRangeLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxDataAnnotationShapeLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxDataAnnotationAxisLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxAnnotationLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxSeriesComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); return IgxDataAnnotationBandLayerComponent; })(); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataAnnotationBandLayerComponent, decorators: [{ type: Component, args: [{ selector: 'igx-data-annotation-band-layer', template: ``, providers: [{ provide: IgxDataAnnotationPointLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxDataAnnotationRangeLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxDataAnnotationShapeLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxDataAnnotationAxisLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxAnnotationLayerComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }, { provide: IgxSeriesComponent, useExisting: forwardRef(() => IgxDataAnnotationBandLayerComponent) }], changeDetection: ChangeDetectionStrategy.OnPush }] }], ctorParameters: function () { return []; }, propDecorators: { annotationBreadthMemberPath: [{ type: Input }] } });