igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
50 lines (49 loc) • 4.45 kB
JavaScript
import { __extends } from "tslib";
import { Component, forwardRef, 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 { DataAnnotationRectLayer } from "./DataAnnotationRectLayer";
import * as i0 from "@angular/core";
/**
* Represents an annotation layer that renders rectangles at locations of x/y values mapped to these properties:
* StartValueXMemberPath
* StartValueYMemberPath
* EndValueXMemberPath
* EndValueYMemberPath
*/
var IgxDataAnnotationRectLayerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgxDataAnnotationRectLayerComponent, _super);
function IgxDataAnnotationRectLayerComponent() {
return _super.call(this) || this;
}
IgxDataAnnotationRectLayerComponent.prototype.createImplementation = function () {
return new DataAnnotationRectLayer();
};
Object.defineProperty(IgxDataAnnotationRectLayerComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgxDataAnnotationRectLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataAnnotationRectLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
IgxDataAnnotationRectLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDataAnnotationRectLayerComponent, selector: "igx-data-annotation-rect-layer", providers: [{ provide: IgxDataAnnotationPointLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxDataAnnotationRangeLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxDataAnnotationShapeLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxDataAnnotationAxisLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxAnnotationLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }], usesInheritance: true, ngImport: i0, template: "", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
return IgxDataAnnotationRectLayerComponent;
}(IgxDataAnnotationPointLayerComponent));
export { IgxDataAnnotationRectLayerComponent };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDataAnnotationRectLayerComponent, decorators: [{
type: Component,
args: [{
selector: 'igx-data-annotation-rect-layer',
template: "",
providers: [{ provide: IgxDataAnnotationPointLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxDataAnnotationRangeLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxDataAnnotationShapeLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxDataAnnotationAxisLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxAnnotationLayerComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxDataAnnotationRectLayerComponent; }) }],
changeDetection: ChangeDetectionStrategy.OnPush
}]
}], ctorParameters: function () { return []; } });