UNPKG

igniteui-angular-charts

Version:

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

200 lines (199 loc) 11.6 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { NgModule, ENVIRONMENT_INITIALIZER, makeEnvironmentProviders } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AnnotationFactoryManager } from './AnnotationFactoryManager'; import { IgxCrosshairLayerModule, provideIgxCrosshairLayer, registerIgxCrosshairLayer } from './igx-crosshair-layer-module'; import { IgxCategoryToolTipLayerModule, provideIgxCategoryToolTipLayer, registerIgxCategoryToolTipLayer } from './igx-category-tool-tip-layer-module'; import { IgxItemToolTipLayerModule, provideIgxItemToolTipLayer, registerIgxItemToolTipLayer } from './igx-item-tool-tip-layer-module'; import { IgxUserAnnotationToolTipLayerModule, provideIgxUserAnnotationToolTipLayer, registerIgxUserAnnotationToolTipLayer } from './igx-user-annotation-tool-tip-layer-module'; import { IgxCategoryItemHighlightLayerModule, provideIgxCategoryItemHighlightLayer, registerIgxCategoryItemHighlightLayer } from './igx-category-item-highlight-layer-module'; import { IgxCategoryHighlightLayerModule, provideIgxCategoryHighlightLayer, registerIgxCategoryHighlightLayer } from './igx-category-highlight-layer-module'; import { IgxFinalValueLayerModule, provideIgxFinalValueLayer, registerIgxFinalValueLayer } from './igx-final-value-layer-module'; import { IgxCalloutLayerModule, provideIgxCalloutLayer, registerIgxCalloutLayer } from './igx-callout-layer-module'; import { IgxDataToolTipLayerModule, provideIgxDataToolTipLayer, registerIgxDataToolTipLayer } from './igx-data-tool-tip-layer-module'; import { IgxValueLayerModule, provideIgxValueLayer, registerIgxValueLayer } from './igx-value-layer-module'; import { IgxTrendLineLayerModule, provideIgxTrendLineLayer, registerIgxTrendLineLayer } from './igx-trend-line-layer-module'; import { IgxDataAnnotationBandLayerModule, provideIgxDataAnnotationBandLayer, registerIgxDataAnnotationBandLayer } from './igx-data-annotation-band-layer-module'; import { IgxDataAnnotationLineLayerModule, provideIgxDataAnnotationLineLayer, registerIgxDataAnnotationLineLayer } from './igx-data-annotation-line-layer-module'; import { IgxDataAnnotationRectLayerModule, provideIgxDataAnnotationRectLayer, registerIgxDataAnnotationRectLayer } from './igx-data-annotation-rect-layer-module'; import { IgxDataAnnotationSliceLayerModule, provideIgxDataAnnotationSliceLayer, registerIgxDataAnnotationSliceLayer } from './igx-data-annotation-slice-layer-module'; import { IgxDataAnnotationStripLayerModule, provideIgxDataAnnotationStripLayer, registerIgxDataAnnotationStripLayer } from './igx-data-annotation-strip-layer-module'; import { IgxUserAnnotationLayerModule, provideIgxUserAnnotationLayer, registerIgxUserAnnotationLayer } from './igx-user-annotation-layer-module'; import { IgxUserAnnotationInformationModule, provideIgxUserAnnotationInformation, registerIgxUserAnnotationInformation } from './igx-user-annotation-information-module'; import { FastItemObjectColumn } from "igniteui-angular-core"; import { TypeRegistrar } from "igniteui-angular-core"; import * as i0 from "@angular/core"; export function provideIgxDataChartAnnotation() { return makeEnvironmentProviders([ provideIgxCrosshairLayer(), provideIgxCategoryToolTipLayer(), provideIgxItemToolTipLayer(), provideIgxUserAnnotationToolTipLayer(), provideIgxCategoryItemHighlightLayer(), provideIgxCategoryHighlightLayer(), provideIgxFinalValueLayer(), provideIgxCalloutLayer(), provideIgxDataToolTipLayer(), provideIgxValueLayer(), provideIgxTrendLineLayer(), provideIgxDataAnnotationBandLayer(), provideIgxDataAnnotationLineLayer(), provideIgxDataAnnotationRectLayer(), provideIgxDataAnnotationSliceLayer(), provideIgxDataAnnotationStripLayer(), provideIgxUserAnnotationLayer(), provideIgxUserAnnotationInformation(), { provide: ENVIRONMENT_INITIALIZER, useValue: () => { TypeRegistrar.register('AnnotationFactoryManager', AnnotationFactoryManager.$type); TypeRegistrar.register('FastItemObjectColumn', FastItemObjectColumn.$type); }, multi: true, }, ]); } export function registerIgxDataChartAnnotation() { registerIgxCrosshairLayer(); registerIgxCategoryToolTipLayer(); registerIgxItemToolTipLayer(); registerIgxUserAnnotationToolTipLayer(); registerIgxCategoryItemHighlightLayer(); registerIgxCategoryHighlightLayer(); registerIgxFinalValueLayer(); registerIgxCalloutLayer(); registerIgxDataToolTipLayer(); registerIgxValueLayer(); registerIgxTrendLineLayer(); registerIgxDataAnnotationBandLayer(); registerIgxDataAnnotationLineLayer(); registerIgxDataAnnotationRectLayer(); registerIgxDataAnnotationSliceLayer(); registerIgxDataAnnotationStripLayer(); registerIgxUserAnnotationLayer(); registerIgxUserAnnotationInformation(); TypeRegistrar.register('AnnotationFactoryManager', AnnotationFactoryManager.$type); TypeRegistrar.register('FastItemObjectColumn', FastItemObjectColumn.$type); } export class IgxDataChartAnnotationModule { static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartAnnotationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartAnnotationModule, imports: [CommonModule, IgxCrosshairLayerModule, IgxCategoryToolTipLayerModule, IgxItemToolTipLayerModule, IgxUserAnnotationToolTipLayerModule, IgxCategoryItemHighlightLayerModule, IgxCategoryHighlightLayerModule, IgxFinalValueLayerModule, IgxCalloutLayerModule, IgxDataToolTipLayerModule, IgxValueLayerModule, IgxTrendLineLayerModule, IgxDataAnnotationBandLayerModule, IgxDataAnnotationLineLayerModule, IgxDataAnnotationRectLayerModule, IgxDataAnnotationSliceLayerModule, IgxDataAnnotationStripLayerModule, IgxUserAnnotationLayerModule, IgxUserAnnotationInformationModule], exports: [IgxCrosshairLayerModule, IgxCategoryToolTipLayerModule, IgxItemToolTipLayerModule, IgxUserAnnotationToolTipLayerModule, IgxCategoryItemHighlightLayerModule, IgxCategoryHighlightLayerModule, IgxFinalValueLayerModule, IgxCalloutLayerModule, IgxDataToolTipLayerModule, IgxValueLayerModule, IgxTrendLineLayerModule, IgxDataAnnotationBandLayerModule, IgxDataAnnotationLineLayerModule, IgxDataAnnotationRectLayerModule, IgxDataAnnotationSliceLayerModule, IgxDataAnnotationStripLayerModule, IgxUserAnnotationLayerModule, IgxUserAnnotationInformationModule] }); } static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartAnnotationModule, providers: [provideIgxDataChartAnnotation()], imports: [CommonModule, IgxCrosshairLayerModule, IgxCategoryToolTipLayerModule, IgxItemToolTipLayerModule, IgxUserAnnotationToolTipLayerModule, IgxCategoryItemHighlightLayerModule, IgxCategoryHighlightLayerModule, IgxFinalValueLayerModule, IgxCalloutLayerModule, IgxDataToolTipLayerModule, IgxValueLayerModule, IgxTrendLineLayerModule, IgxDataAnnotationBandLayerModule, IgxDataAnnotationLineLayerModule, IgxDataAnnotationRectLayerModule, IgxDataAnnotationSliceLayerModule, IgxDataAnnotationStripLayerModule, IgxUserAnnotationLayerModule, IgxUserAnnotationInformationModule, IgxCrosshairLayerModule, IgxCategoryToolTipLayerModule, IgxItemToolTipLayerModule, IgxUserAnnotationToolTipLayerModule, IgxCategoryItemHighlightLayerModule, IgxCategoryHighlightLayerModule, IgxFinalValueLayerModule, IgxCalloutLayerModule, IgxDataToolTipLayerModule, IgxValueLayerModule, IgxTrendLineLayerModule, IgxDataAnnotationBandLayerModule, IgxDataAnnotationLineLayerModule, IgxDataAnnotationRectLayerModule, IgxDataAnnotationSliceLayerModule, IgxDataAnnotationStripLayerModule, IgxUserAnnotationLayerModule, IgxUserAnnotationInformationModule] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0-rc.1", ngImport: i0, type: IgxDataChartAnnotationModule, decorators: [{ type: NgModule, args: [{ imports: [CommonModule, IgxCrosshairLayerModule, IgxCategoryToolTipLayerModule, IgxItemToolTipLayerModule, IgxUserAnnotationToolTipLayerModule, IgxCategoryItemHighlightLayerModule, IgxCategoryHighlightLayerModule, IgxFinalValueLayerModule, IgxCalloutLayerModule, IgxDataToolTipLayerModule, IgxValueLayerModule, IgxTrendLineLayerModule, IgxDataAnnotationBandLayerModule, IgxDataAnnotationLineLayerModule, IgxDataAnnotationRectLayerModule, IgxDataAnnotationSliceLayerModule, IgxDataAnnotationStripLayerModule, IgxUserAnnotationLayerModule, IgxUserAnnotationInformationModule ], exports: [IgxCrosshairLayerModule, IgxCategoryToolTipLayerModule, IgxItemToolTipLayerModule, IgxUserAnnotationToolTipLayerModule, IgxCategoryItemHighlightLayerModule, IgxCategoryHighlightLayerModule, IgxFinalValueLayerModule, IgxCalloutLayerModule, IgxDataToolTipLayerModule, IgxValueLayerModule, IgxTrendLineLayerModule, IgxDataAnnotationBandLayerModule, IgxDataAnnotationLineLayerModule, IgxDataAnnotationRectLayerModule, IgxDataAnnotationSliceLayerModule, IgxDataAnnotationStripLayerModule, IgxUserAnnotationLayerModule, IgxUserAnnotationInformationModule ], providers: [provideIgxDataChartAnnotation()] }] }] });