UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

1,286 lines (1,233 loc) 221 kB
/*! * devextreme-angular * Version: 22.1.14 * Build date: Mon Apr 29 2024 * * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ /* tslint:disable:max-line-length */ import { BrowserTransferStateModule } from '@angular/platform-browser'; import { Component, NgModule, PLATFORM_ID, Inject, Input, Output, ContentChildren } from '@angular/core'; import DxChart from 'devextreme/viz/chart'; import { DxComponent, DxTemplateHost, DxIntegrationModule, DxTemplateModule, NestedOptionHost, IterableDifferHelper, WatcherHelper } from 'devextreme-angular/core'; import { DxoAdaptiveLayoutModule } from 'devextreme-angular/ui/nested'; import { DxoAnimationModule } from 'devextreme-angular/ui/nested'; import { DxiAnnotationModule } from 'devextreme-angular/ui/nested'; import { DxoBorderModule } from 'devextreme-angular/ui/nested'; import { DxoFontModule } from 'devextreme-angular/ui/nested'; import { DxoImageModule } from 'devextreme-angular/ui/nested'; import { DxoShadowModule } from 'devextreme-angular/ui/nested'; import { DxoArgumentAxisModule } from 'devextreme-angular/ui/nested'; import { DxoAggregationIntervalModule } from 'devextreme-angular/ui/nested'; import { DxiBreakModule } from 'devextreme-angular/ui/nested'; import { DxoBreakStyleModule } from 'devextreme-angular/ui/nested'; import { DxiConstantLineModule } from 'devextreme-angular/ui/nested'; import { DxoLabelModule } from 'devextreme-angular/ui/nested'; import { DxoConstantLineStyleModule } from 'devextreme-angular/ui/nested'; import { DxoGridModule } from 'devextreme-angular/ui/nested'; import { DxoFormatModule } from 'devextreme-angular/ui/nested'; import { DxoMinorGridModule } from 'devextreme-angular/ui/nested'; import { DxoMinorTickModule } from 'devextreme-angular/ui/nested'; import { DxoMinorTickIntervalModule } from 'devextreme-angular/ui/nested'; import { DxoMinVisualRangeLengthModule } from 'devextreme-angular/ui/nested'; import { DxiStripModule } from 'devextreme-angular/ui/nested'; import { DxoStripStyleModule } from 'devextreme-angular/ui/nested'; import { DxoTickModule } from 'devextreme-angular/ui/nested'; import { DxoTickIntervalModule } from 'devextreme-angular/ui/nested'; import { DxoTitleModule } from 'devextreme-angular/ui/nested'; import { DxoCommonAnnotationSettingsModule } from 'devextreme-angular/ui/nested'; import { DxoCommonAxisSettingsModule } from 'devextreme-angular/ui/nested'; import { DxoCommonPaneSettingsModule } from 'devextreme-angular/ui/nested'; import { DxoCommonSeriesSettingsModule } from 'devextreme-angular/ui/nested'; import { DxoAggregationModule } from 'devextreme-angular/ui/nested'; import { DxoAreaModule } from 'devextreme-angular/ui/nested'; import { DxoHoverStyleModule } from 'devextreme-angular/ui/nested'; import { DxoHatchingModule } from 'devextreme-angular/ui/nested'; import { DxoConnectorModule } from 'devextreme-angular/ui/nested'; import { DxoPointModule } from 'devextreme-angular/ui/nested'; import { DxoHeightModule } from 'devextreme-angular/ui/nested'; import { DxoUrlModule } from 'devextreme-angular/ui/nested'; import { DxoWidthModule } from 'devextreme-angular/ui/nested'; import { DxoSelectionStyleModule } from 'devextreme-angular/ui/nested'; import { DxoReductionModule } from 'devextreme-angular/ui/nested'; import { DxoValueErrorBarModule } from 'devextreme-angular/ui/nested'; import { DxoBarModule } from 'devextreme-angular/ui/nested'; import { DxoBubbleModule } from 'devextreme-angular/ui/nested'; import { DxoCandlestickModule } from 'devextreme-angular/ui/nested'; import { DxoFullstackedareaModule } from 'devextreme-angular/ui/nested'; import { DxoFullstackedbarModule } from 'devextreme-angular/ui/nested'; import { DxoFullstackedlineModule } from 'devextreme-angular/ui/nested'; import { DxoFullstackedsplineModule } from 'devextreme-angular/ui/nested'; import { DxoFullstackedsplineareaModule } from 'devextreme-angular/ui/nested'; import { DxoArgumentFormatModule } from 'devextreme-angular/ui/nested'; import { DxoLineModule } from 'devextreme-angular/ui/nested'; import { DxoRangeareaModule } from 'devextreme-angular/ui/nested'; import { DxoRangebarModule } from 'devextreme-angular/ui/nested'; import { DxoScatterModule } from 'devextreme-angular/ui/nested'; import { DxoSplineModule } from 'devextreme-angular/ui/nested'; import { DxoSplineareaModule } from 'devextreme-angular/ui/nested'; import { DxoStackedareaModule } from 'devextreme-angular/ui/nested'; import { DxoStackedbarModule } from 'devextreme-angular/ui/nested'; import { DxoStackedlineModule } from 'devextreme-angular/ui/nested'; import { DxoStackedsplineModule } from 'devextreme-angular/ui/nested'; import { DxoStackedsplineareaModule } from 'devextreme-angular/ui/nested'; import { DxoStepareaModule } from 'devextreme-angular/ui/nested'; import { DxoSteplineModule } from 'devextreme-angular/ui/nested'; import { DxoStockModule } from 'devextreme-angular/ui/nested'; import { DxoCrosshairModule } from 'devextreme-angular/ui/nested'; import { DxoHorizontalLineModule } from 'devextreme-angular/ui/nested'; import { DxoVerticalLineModule } from 'devextreme-angular/ui/nested'; import { DxoDataPrepareSettingsModule } from 'devextreme-angular/ui/nested'; import { DxoExportModule } from 'devextreme-angular/ui/nested'; import { DxoLegendModule } from 'devextreme-angular/ui/nested'; import { DxoMarginModule } from 'devextreme-angular/ui/nested'; import { DxoSubtitleModule } from 'devextreme-angular/ui/nested'; import { DxoLoadingIndicatorModule } from 'devextreme-angular/ui/nested'; import { DxiPaneModule } from 'devextreme-angular/ui/nested'; import { DxoScrollBarModule } from 'devextreme-angular/ui/nested'; import { DxiSeriesModule } from 'devextreme-angular/ui/nested'; import { DxoSeriesTemplateModule } from 'devextreme-angular/ui/nested'; import { DxoSizeModule } from 'devextreme-angular/ui/nested'; import { DxoTooltipModule } from 'devextreme-angular/ui/nested'; import { DxiValueAxisModule } from 'devextreme-angular/ui/nested'; import { DxoZoomAndPanModule } from 'devextreme-angular/ui/nested'; import { DxoDragBoxStyleModule } from 'devextreme-angular/ui/nested'; import { DxiAnnotationComponent } from 'devextreme-angular/ui/nested'; import { DxiPaneComponent } from 'devextreme-angular/ui/nested'; import { DxiSeriesComponent } from 'devextreme-angular/ui/nested'; import { DxiValueAxisComponent } from 'devextreme-angular/ui/nested'; import * as i0 from "@angular/core"; import * as i1 from "devextreme-angular/core"; import * as i2 from "@angular/platform-browser"; /** * The Chart is a UI component that visualizes data from a local or remote storage using a great variety of series types along with different interactive elements, such as tooltips, crosshair pointer, legend, etc. */ export class DxChartComponent extends DxComponent { constructor(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) { super(elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId); this._watcherHelper = _watcherHelper; this._idh = _idh; this._createEventEmitters([ { subscribe: 'argumentAxisClick', emit: 'onArgumentAxisClick' }, { subscribe: 'disposing', emit: 'onDisposing' }, { subscribe: 'done', emit: 'onDone' }, { subscribe: 'drawn', emit: 'onDrawn' }, { subscribe: 'exported', emit: 'onExported' }, { subscribe: 'exporting', emit: 'onExporting' }, { subscribe: 'fileSaving', emit: 'onFileSaving' }, { subscribe: 'incidentOccurred', emit: 'onIncidentOccurred' }, { subscribe: 'initialized', emit: 'onInitialized' }, { subscribe: 'legendClick', emit: 'onLegendClick' }, { subscribe: 'optionChanged', emit: 'onOptionChanged' }, { subscribe: 'pointClick', emit: 'onPointClick' }, { subscribe: 'pointHoverChanged', emit: 'onPointHoverChanged' }, { subscribe: 'pointSelectionChanged', emit: 'onPointSelectionChanged' }, { subscribe: 'seriesClick', emit: 'onSeriesClick' }, { subscribe: 'seriesHoverChanged', emit: 'onSeriesHoverChanged' }, { subscribe: 'seriesSelectionChanged', emit: 'onSeriesSelectionChanged' }, { subscribe: 'tooltipHidden', emit: 'onTooltipHidden' }, { subscribe: 'tooltipShown', emit: 'onTooltipShown' }, { subscribe: 'zoomEnd', emit: 'onZoomEnd' }, { subscribe: 'zoomStart', emit: 'onZoomStart' }, { emit: 'adaptiveLayoutChange' }, { emit: 'adjustOnZoomChange' }, { emit: 'animationChange' }, { emit: 'annotationsChange' }, { emit: 'argumentAxisChange' }, { emit: 'autoHidePointMarkersChange' }, { emit: 'barGroupPaddingChange' }, { emit: 'barGroupWidthChange' }, { emit: 'commonAnnotationSettingsChange' }, { emit: 'commonAxisSettingsChange' }, { emit: 'commonPaneSettingsChange' }, { emit: 'commonSeriesSettingsChange' }, { emit: 'containerBackgroundColorChange' }, { emit: 'crosshairChange' }, { emit: 'customizeAnnotationChange' }, { emit: 'customizeLabelChange' }, { emit: 'customizePointChange' }, { emit: 'dataPrepareSettingsChange' }, { emit: 'dataSourceChange' }, { emit: 'defaultPaneChange' }, { emit: 'disabledChange' }, { emit: 'elementAttrChange' }, { emit: 'exportChange' }, { emit: 'legendChange' }, { emit: 'loadingIndicatorChange' }, { emit: 'marginChange' }, { emit: 'maxBubbleSizeChange' }, { emit: 'minBubbleSizeChange' }, { emit: 'negativesAsZeroesChange' }, { emit: 'paletteChange' }, { emit: 'paletteExtensionModeChange' }, { emit: 'panesChange' }, { emit: 'pathModifiedChange' }, { emit: 'pointSelectionModeChange' }, { emit: 'redrawOnResizeChange' }, { emit: 'resizePanesOnZoomChange' }, { emit: 'resolveLabelOverlappingChange' }, { emit: 'rotatedChange' }, { emit: 'rtlEnabledChange' }, { emit: 'scrollBarChange' }, { emit: 'seriesChange' }, { emit: 'seriesSelectionModeChange' }, { emit: 'seriesTemplateChange' }, { emit: 'sizeChange' }, { emit: 'stickyHoveringChange' }, { emit: 'synchronizeMultiAxesChange' }, { emit: 'themeChange' }, { emit: 'titleChange' }, { emit: 'tooltipChange' }, { emit: 'valueAxisChange' }, { emit: 'zoomAndPanChange' } ]); this._idh.setHost(this); optionHost.setHost(this); } /** * Specifies adaptive layout properties. */ get adaptiveLayout() { return this._getOption('adaptiveLayout'); } set adaptiveLayout(value) { this._setOption('adaptiveLayout', value); } /** * Specifies whether to adjust the value axis's visualRange when the argument axis is being zoomed or panned. */ get adjustOnZoom() { return this._getOption('adjustOnZoom'); } set adjustOnZoom(value) { this._setOption('adjustOnZoom', value); } /** * Specifies animation properties. */ get animation() { return this._getOption('animation'); } set animation(value) { this._setOption('animation', value); } /** * Specifies the annotation collection. */ get annotations() { return this._getOption('annotations'); } set annotations(value) { this._setOption('annotations', value); } /** * Configures the argument axis. */ get argumentAxis() { return this._getOption('argumentAxis'); } set argumentAxis(value) { this._setOption('argumentAxis', value); } /** * Specifies whether to hide series point markers automatically to reduce visual clutter. */ get autoHidePointMarkers() { return this._getOption('autoHidePointMarkers'); } set autoHidePointMarkers(value) { this._setOption('autoHidePointMarkers', value); } /** * Controls the padding and consequently the width of a group of bars with the same argument using relative units. Ignored if the barGroupWidth property is set. */ get barGroupPadding() { return this._getOption('barGroupPadding'); } set barGroupPadding(value) { this._setOption('barGroupPadding', value); } /** * Specifies a fixed width for groups of bars with the same argument, measured in pixels. Takes precedence over the barGroupPadding property. */ get barGroupWidth() { return this._getOption('barGroupWidth'); } set barGroupWidth(value) { this._setOption('barGroupWidth', value); } /** * Specifies settings common for all annotations in the chart. */ get commonAnnotationSettings() { return this._getOption('commonAnnotationSettings'); } set commonAnnotationSettings(value) { this._setOption('commonAnnotationSettings', value); } /** * Defines common settings for both the argument and value axis in a chart. */ get commonAxisSettings() { return this._getOption('commonAxisSettings'); } set commonAxisSettings(value) { this._setOption('commonAxisSettings', value); } /** * Defines common settings for all panes in a chart. */ get commonPaneSettings() { return this._getOption('commonPaneSettings'); } set commonPaneSettings(value) { this._setOption('commonPaneSettings', value); } /** * Specifies settings common for all series in the chart. */ get commonSeriesSettings() { return this._getOption('commonSeriesSettings'); } set commonSeriesSettings(value) { this._setOption('commonSeriesSettings', value); } /** * Specifies background color of the chart container. */ get containerBackgroundColor() { return this._getOption('containerBackgroundColor'); } set containerBackgroundColor(value) { this._setOption('containerBackgroundColor', value); } /** * Configures the crosshair feature. */ get crosshair() { return this._getOption('crosshair'); } set crosshair(value) { this._setOption('crosshair', value); } /** * Customizes an individual annotation. */ get customizeAnnotation() { return this._getOption('customizeAnnotation'); } set customizeAnnotation(value) { this._setOption('customizeAnnotation', value); } /** * Customizes the appearance of an individual point label. */ get customizeLabel() { return this._getOption('customizeLabel'); } set customizeLabel(value) { this._setOption('customizeLabel', value); } /** * Customizes the appearance of an individual series point. */ get customizePoint() { return this._getOption('customizePoint'); } set customizePoint(value) { this._setOption('customizePoint', value); } /** * Processes data before visualizing it. */ get dataPrepareSettings() { return this._getOption('dataPrepareSettings'); } set dataPrepareSettings(value) { this._setOption('dataPrepareSettings', value); } /** * Binds the UI component to data. */ get dataSource() { return this._getOption('dataSource'); } set dataSource(value) { this._setOption('dataSource', value); } /** * Specifies which pane should be used by default. */ get defaultPane() { return this._getOption('defaultPane'); } set defaultPane(value) { this._setOption('defaultPane', value); } /** * Specifies whether the UI component responds to user interaction. */ get disabled() { return this._getOption('disabled'); } set disabled(value) { this._setOption('disabled', value); } /** * Specifies the global attributes to be attached to the UI component's container element. */ get elementAttr() { return this._getOption('elementAttr'); } set elementAttr(value) { this._setOption('elementAttr', value); } /** * Configures the exporting and printing features. */ get export() { return this._getOption('export'); } set export(value) { this._setOption('export', value); } /** * Specifies the properties of a chart's legend. */ get legend() { return this._getOption('legend'); } set legend(value) { this._setOption('legend', value); } /** * Configures the loading indicator. */ get loadingIndicator() { return this._getOption('loadingIndicator'); } set loadingIndicator(value) { this._setOption('loadingIndicator', value); } /** * Generates space around the UI component. */ get margin() { return this._getOption('margin'); } set margin(value) { this._setOption('margin', value); } /** * Specifies a coefficient determining the diameter of the largest bubble. */ get maxBubbleSize() { return this._getOption('maxBubbleSize'); } set maxBubbleSize(value) { this._setOption('maxBubbleSize', value); } /** * Specifies the diameter of the smallest bubble measured in pixels. */ get minBubbleSize() { return this._getOption('minBubbleSize'); } set minBubbleSize(value) { this._setOption('minBubbleSize', value); } /** * Forces the UI component to treat negative values as zeroes. Applies to stacked-like series only. */ get negativesAsZeroes() { return this._getOption('negativesAsZeroes'); } set negativesAsZeroes(value) { this._setOption('negativesAsZeroes', value); } /** * Sets the palette to be used for colorizing series and their elements. */ get palette() { return this._getOption('palette'); } set palette(value) { this._setOption('palette', value); } /** * Specifies what to do with colors in the palette when their number is less than the number of series (in the Chart UI component) or points in a series (in the PieChart UI component). */ get paletteExtensionMode() { return this._getOption('paletteExtensionMode'); } set paletteExtensionMode(value) { this._setOption('paletteExtensionMode', value); } /** * Declares a collection of panes. */ get panes() { return this._getOption('panes'); } set panes(value) { this._setOption('panes', value); } /** * Notifies the UI component that it is embedded into an HTML page that uses a tag modifying the path. */ get pathModified() { return this._getOption('pathModified'); } set pathModified(value) { this._setOption('pathModified', value); } /** * Specifies whether a single point or multiple points can be selected in the chart. */ get pointSelectionMode() { return this._getOption('pointSelectionMode'); } set pointSelectionMode(value) { this._setOption('pointSelectionMode', value); } /** * Specifies whether to redraw the UI component when the size of the parent browser window changes or a mobile device rotates. */ get redrawOnResize() { return this._getOption('redrawOnResize'); } set redrawOnResize(value) { this._setOption('redrawOnResize', value); } /** * Specifies whether panes can be resized if other chart elements require more space after zooming or panning. */ get resizePanesOnZoom() { return this._getOption('resizePanesOnZoom'); } set resizePanesOnZoom(value) { this._setOption('resizePanesOnZoom', value); } /** * Specifies how the chart must behave when series point labels overlap. */ get resolveLabelOverlapping() { return this._getOption('resolveLabelOverlapping'); } set resolveLabelOverlapping(value) { this._setOption('resolveLabelOverlapping', value); } /** * Swaps the axes around making the value axis horizontal and the argument axis vertical. */ get rotated() { return this._getOption('rotated'); } set rotated(value) { this._setOption('rotated', value); } /** * Switches the UI component to a right-to-left representation. */ get rtlEnabled() { return this._getOption('rtlEnabled'); } set rtlEnabled(value) { this._setOption('rtlEnabled', value); } /** * Specifies the settings of the scroll bar. */ get scrollBar() { return this._getOption('scrollBar'); } set scrollBar(value) { this._setOption('scrollBar', value); } /** * Specifies properties for Chart UI component series. */ get series() { return this._getOption('series'); } set series(value) { this._setOption('series', value); } /** * Specifies whether a single series or multiple series can be selected in the chart. */ get seriesSelectionMode() { return this._getOption('seriesSelectionMode'); } set seriesSelectionMode(value) { this._setOption('seriesSelectionMode', value); } /** * Defines properties for the series template. */ get seriesTemplate() { return this._getOption('seriesTemplate'); } set seriesTemplate(value) { this._setOption('seriesTemplate', value); } /** * Specifies the UI component's size in pixels. */ get size() { return this._getOption('size'); } set size(value) { this._setOption('size', value); } /** * Specifies whether a point should remain in the hover state when the mouse pointer moves away. */ get stickyHovering() { return this._getOption('stickyHovering'); } set stickyHovering(value) { this._setOption('stickyHovering', value); } /** * Indicates whether or not to synchronize value axes when they are displayed on a single pane. */ get synchronizeMultiAxes() { return this._getOption('synchronizeMultiAxes'); } set synchronizeMultiAxes(value) { this._setOption('synchronizeMultiAxes', value); } /** * Sets the name of the theme the UI component uses. */ get theme() { return this._getOption('theme'); } set theme(value) { this._setOption('theme', value); } /** * Configures the UI component's title. */ get title() { return this._getOption('title'); } set title(value) { this._setOption('title', value); } /** * Configures tooltips. */ get tooltip() { return this._getOption('tooltip'); } set tooltip(value) { this._setOption('tooltip', value); } /** * Configures the value axis. */ get valueAxis() { return this._getOption('valueAxis'); } set valueAxis(value) { this._setOption('valueAxis', value); } /** * Configures zooming and panning. */ get zoomAndPan() { return this._getOption('zoomAndPan'); } set zoomAndPan(value) { this._setOption('zoomAndPan', value); } get annotationsChildren() { return this._getOption('annotations'); } set annotationsChildren(value) { this.setChildren('annotations', value); } get panesChildren() { return this._getOption('panes'); } set panesChildren(value) { this.setChildren('panes', value); } get seriesChildren() { return this._getOption('series'); } set seriesChildren(value) { this.setChildren('series', value); } get valueAxisChildren() { return this._getOption('valueAxis'); } set valueAxisChildren(value) { this.setChildren('valueAxis', value); } _createInstance(element, options) { return new DxChart(element, options); } ngOnDestroy() { this._destroyWidget(); } ngOnChanges(changes) { super.ngOnChanges(changes); this.setupChanges('annotations', changes); this.setupChanges('dataSource', changes); this.setupChanges('palette', changes); this.setupChanges('panes', changes); this.setupChanges('series', changes); this.setupChanges('valueAxis', changes); } setupChanges(prop, changes) { if (!(prop in this._optionsToUpdate)) { this._idh.setup(prop, changes); } } ngDoCheck() { this._idh.doCheck('annotations'); this._idh.doCheck('dataSource'); this._idh.doCheck('palette'); this._idh.doCheck('panes'); this._idh.doCheck('series'); this._idh.doCheck('valueAxis'); this._watcherHelper.checkWatchers(); super.ngDoCheck(); super.clearChangedOptions(); } _setOption(name, value) { let isSetup = this._idh.setupSingle(name, value); let isChanged = this._idh.getChanges(name, value) !== null; if (isSetup || isChanged) { super._setOption(name, value); } } } /** @nocollapse */ DxChartComponent.ɵfac = function DxChartComponent_Factory(t) { return new (t || DxChartComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.DxTemplateHost), i0.ɵɵdirectiveInject(i1.WatcherHelper), i0.ɵɵdirectiveInject(i1.IterableDifferHelper), i0.ɵɵdirectiveInject(i1.NestedOptionHost), i0.ɵɵdirectiveInject(i2.TransferState), i0.ɵɵdirectiveInject(PLATFORM_ID)); }; /** @nocollapse */ DxChartComponent.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DxChartComponent, selectors: [["dx-chart"]], contentQueries: function DxChartComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) { i0.ɵɵcontentQuery(dirIndex, DxiAnnotationComponent, 4); i0.ɵɵcontentQuery(dirIndex, DxiPaneComponent, 4); i0.ɵɵcontentQuery(dirIndex, DxiSeriesComponent, 4); i0.ɵɵcontentQuery(dirIndex, DxiValueAxisComponent, 4); } if (rf & 2) { let _t; i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.annotationsChildren = _t); i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.panesChildren = _t); i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.seriesChildren = _t); i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.valueAxisChildren = _t); } }, inputs: { adaptiveLayout: "adaptiveLayout", adjustOnZoom: "adjustOnZoom", animation: "animation", annotations: "annotations", argumentAxis: "argumentAxis", autoHidePointMarkers: "autoHidePointMarkers", barGroupPadding: "barGroupPadding", barGroupWidth: "barGroupWidth", commonAnnotationSettings: "commonAnnotationSettings", commonAxisSettings: "commonAxisSettings", commonPaneSettings: "commonPaneSettings", commonSeriesSettings: "commonSeriesSettings", containerBackgroundColor: "containerBackgroundColor", crosshair: "crosshair", customizeAnnotation: "customizeAnnotation", customizeLabel: "customizeLabel", customizePoint: "customizePoint", dataPrepareSettings: "dataPrepareSettings", dataSource: "dataSource", defaultPane: "defaultPane", disabled: "disabled", elementAttr: "elementAttr", export: "export", legend: "legend", loadingIndicator: "loadingIndicator", margin: "margin", maxBubbleSize: "maxBubbleSize", minBubbleSize: "minBubbleSize", negativesAsZeroes: "negativesAsZeroes", palette: "palette", paletteExtensionMode: "paletteExtensionMode", panes: "panes", pathModified: "pathModified", pointSelectionMode: "pointSelectionMode", redrawOnResize: "redrawOnResize", resizePanesOnZoom: "resizePanesOnZoom", resolveLabelOverlapping: "resolveLabelOverlapping", rotated: "rotated", rtlEnabled: "rtlEnabled", scrollBar: "scrollBar", series: "series", seriesSelectionMode: "seriesSelectionMode", seriesTemplate: "seriesTemplate", size: "size", stickyHovering: "stickyHovering", synchronizeMultiAxes: "synchronizeMultiAxes", theme: "theme", title: "title", tooltip: "tooltip", valueAxis: "valueAxis", zoomAndPan: "zoomAndPan" }, outputs: { onArgumentAxisClick: "onArgumentAxisClick", onDisposing: "onDisposing", onDone: "onDone", onDrawn: "onDrawn", onExported: "onExported", onExporting: "onExporting", onFileSaving: "onFileSaving", onIncidentOccurred: "onIncidentOccurred", onInitialized: "onInitialized", onLegendClick: "onLegendClick", onOptionChanged: "onOptionChanged", onPointClick: "onPointClick", onPointHoverChanged: "onPointHoverChanged", onPointSelectionChanged: "onPointSelectionChanged", onSeriesClick: "onSeriesClick", onSeriesHoverChanged: "onSeriesHoverChanged", onSeriesSelectionChanged: "onSeriesSelectionChanged", onTooltipHidden: "onTooltipHidden", onTooltipShown: "onTooltipShown", onZoomEnd: "onZoomEnd", onZoomStart: "onZoomStart", adaptiveLayoutChange: "adaptiveLayoutChange", adjustOnZoomChange: "adjustOnZoomChange", animationChange: "animationChange", annotationsChange: "annotationsChange", argumentAxisChange: "argumentAxisChange", autoHidePointMarkersChange: "autoHidePointMarkersChange", barGroupPaddingChange: "barGroupPaddingChange", barGroupWidthChange: "barGroupWidthChange", commonAnnotationSettingsChange: "commonAnnotationSettingsChange", commonAxisSettingsChange: "commonAxisSettingsChange", commonPaneSettingsChange: "commonPaneSettingsChange", commonSeriesSettingsChange: "commonSeriesSettingsChange", containerBackgroundColorChange: "containerBackgroundColorChange", crosshairChange: "crosshairChange", customizeAnnotationChange: "customizeAnnotationChange", customizeLabelChange: "customizeLabelChange", customizePointChange: "customizePointChange", dataPrepareSettingsChange: "dataPrepareSettingsChange", dataSourceChange: "dataSourceChange", defaultPaneChange: "defaultPaneChange", disabledChange: "disabledChange", elementAttrChange: "elementAttrChange", exportChange: "exportChange", legendChange: "legendChange", loadingIndicatorChange: "loadingIndicatorChange", marginChange: "marginChange", maxBubbleSizeChange: "maxBubbleSizeChange", minBubbleSizeChange: "minBubbleSizeChange", negativesAsZeroesChange: "negativesAsZeroesChange", paletteChange: "paletteChange", paletteExtensionModeChange: "paletteExtensionModeChange", panesChange: "panesChange", pathModifiedChange: "pathModifiedChange", pointSelectionModeChange: "pointSelectionModeChange", redrawOnResizeChange: "redrawOnResizeChange", resizePanesOnZoomChange: "resizePanesOnZoomChange", resolveLabelOverlappingChange: "resolveLabelOverlappingChange", rotatedChange: "rotatedChange", rtlEnabledChange: "rtlEnabledChange", scrollBarChange: "scrollBarChange", seriesChange: "seriesChange", seriesSelectionModeChange: "seriesSelectionModeChange", seriesTemplateChange: "seriesTemplateChange", sizeChange: "sizeChange", stickyHoveringChange: "stickyHoveringChange", synchronizeMultiAxesChange: "synchronizeMultiAxesChange", themeChange: "themeChange", titleChange: "titleChange", tooltipChange: "tooltipChange", valueAxisChange: "valueAxisChange", zoomAndPanChange: "zoomAndPanChange" }, features: [i0.ɵɵProvidersFeature([ DxTemplateHost, WatcherHelper, NestedOptionHost, IterableDifferHelper ]), i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function DxChartComponent_Template(rf, ctx) { }, styles: ["[_nghost-%COMP%] { display: block; }"] }); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DxChartComponent, [{ type: Component, args: [{ selector: 'dx-chart', template: '', styles: [' :host { display: block; }'], providers: [ DxTemplateHost, WatcherHelper, NestedOptionHost, IterableDifferHelper ] }] }], function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.DxTemplateHost }, { type: i1.WatcherHelper }, { type: i1.IterableDifferHelper }, { type: i1.NestedOptionHost }, { type: i2.TransferState }, { type: undefined, decorators: [{ type: Inject, args: [PLATFORM_ID] }] }]; }, { adaptiveLayout: [{ type: Input }], adjustOnZoom: [{ type: Input }], animation: [{ type: Input }], annotations: [{ type: Input }], argumentAxis: [{ type: Input }], autoHidePointMarkers: [{ type: Input }], barGroupPadding: [{ type: Input }], barGroupWidth: [{ type: Input }], commonAnnotationSettings: [{ type: Input }], commonAxisSettings: [{ type: Input }], commonPaneSettings: [{ type: Input }], commonSeriesSettings: [{ type: Input }], containerBackgroundColor: [{ type: Input }], crosshair: [{ type: Input }], customizeAnnotation: [{ type: Input }], customizeLabel: [{ type: Input }], customizePoint: [{ type: Input }], dataPrepareSettings: [{ type: Input }], dataSource: [{ type: Input }], defaultPane: [{ type: Input }], disabled: [{ type: Input }], elementAttr: [{ type: Input }], export: [{ type: Input }], legend: [{ type: Input }], loadingIndicator: [{ type: Input }], margin: [{ type: Input }], maxBubbleSize: [{ type: Input }], minBubbleSize: [{ type: Input }], negativesAsZeroes: [{ type: Input }], palette: [{ type: Input }], paletteExtensionMode: [{ type: Input }], panes: [{ type: Input }], pathModified: [{ type: Input }], pointSelectionMode: [{ type: Input }], redrawOnResize: [{ type: Input }], resizePanesOnZoom: [{ type: Input }], resolveLabelOverlapping: [{ type: Input }], rotated: [{ type: Input }], rtlEnabled: [{ type: Input }], scrollBar: [{ type: Input }], series: [{ type: Input }], seriesSelectionMode: [{ type: Input }], seriesTemplate: [{ type: Input }], size: [{ type: Input }], stickyHovering: [{ type: Input }], synchronizeMultiAxes: [{ type: Input }], theme: [{ type: Input }], title: [{ type: Input }], tooltip: [{ type: Input }], valueAxis: [{ type: Input }], zoomAndPan: [{ type: Input }], onArgumentAxisClick: [{ type: Output }], onDisposing: [{ type: Output }], onDone: [{ type: Output }], onDrawn: [{ type: Output }], onExported: [{ type: Output }], onExporting: [{ type: Output }], onFileSaving: [{ type: Output }], onIncidentOccurred: [{ type: Output }], onInitialized: [{ type: Output }], onLegendClick: [{ type: Output }], onOptionChanged: [{ type: Output }], onPointClick: [{ type: Output }], onPointHoverChanged: [{ type: Output }], onPointSelectionChanged: [{ type: Output }], onSeriesClick: [{ type: Output }], onSeriesHoverChanged: [{ type: Output }], onSeriesSelectionChanged: [{ type: Output }], onTooltipHidden: [{ type: Output }], onTooltipShown: [{ type: Output }], onZoomEnd: [{ type: Output }], onZoomStart: [{ type: Output }], adaptiveLayoutChange: [{ type: Output }], adjustOnZoomChange: [{ type: Output }], animationChange: [{ type: Output }], annotationsChange: [{ type: Output }], argumentAxisChange: [{ type: Output }], autoHidePointMarkersChange: [{ type: Output }], barGroupPaddingChange: [{ type: Output }], barGroupWidthChange: [{ type: Output }], commonAnnotationSettingsChange: [{ type: Output }], commonAxisSettingsChange: [{ type: Output }], commonPaneSettingsChange: [{ type: Output }], commonSeriesSettingsChange: [{ type: Output }], containerBackgroundColorChange: [{ type: Output }], crosshairChange: [{ type: Output }], customizeAnnotationChange: [{ type: Output }], customizeLabelChange: [{ type: Output }], customizePointChange: [{ type: Output }], dataPrepareSettingsChange: [{ type: Output }], dataSourceChange: [{ type: Output }], defaultPaneChange: [{ type: Output }], disabledChange: [{ type: Output }], elementAttrChange: [{ type: Output }], exportChange: [{ type: Output }], legendChange: [{ type: Output }], loadingIndicatorChange: [{ type: Output }], marginChange: [{ type: Output }], maxBubbleSizeChange: [{ type: Output }], minBubbleSizeChange: [{ type: Output }], negativesAsZeroesChange: [{ type: Output }], paletteChange: [{ type: Output }], paletteExtensionModeChange: [{ type: Output }], panesChange: [{ type: Output }], pathModifiedChange: [{ type: Output }], pointSelectionModeChange: [{ type: Output }], redrawOnResizeChange: [{ type: Output }], resizePanesOnZoomChange: [{ type: Output }], resolveLabelOverlappingChange: [{ type: Output }], rotatedChange: [{ type: Output }], rtlEnabledChange: [{ type: Output }], scrollBarChange: [{ type: Output }], seriesChange: [{ type: Output }], seriesSelectionModeChange: [{ type: Output }], seriesTemplateChange: [{ type: Output }], sizeChange: [{ type: Output }], stickyHoveringChange: [{ type: Output }], synchronizeMultiAxesChange: [{ type: Output }], themeChange: [{ type: Output }], titleChange: [{ type: Output }], tooltipChange: [{ type: Output }], valueAxisChange: [{ type: Output }], zoomAndPanChange: [{ type: Output }], annotationsChildren: [{ type: ContentChildren, args: [DxiAnnotationComponent] }], panesChildren: [{ type: ContentChildren, args: [DxiPaneComponent] }], seriesChildren: [{ type: ContentChildren, args: [DxiSeriesComponent] }], valueAxisChildren: [{ type: ContentChildren, args: [DxiValueAxisComponent] }] }); })(); export class DxChartModule { } /** @nocollapse */ DxChartModule.ɵfac = function DxChartModule_Factory(t) { return new (t || DxChartModule)(); }; /** @nocollapse */ DxChartModule.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: DxChartModule }); /** @nocollapse */ DxChartModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ imports: [[ DxoAdaptiveLayoutModule, DxoAnimationModule, DxiAnnotationModule, DxoBorderModule, DxoFontModule, DxoImageModule, DxoShadowModule, DxoArgumentAxisModule, DxoAggregationIntervalModule, DxiBreakModule, DxoBreakStyleModule, DxiConstantLineModule, DxoLabelModule, DxoConstantLineStyleModule, DxoGridModule, DxoFormatModule, DxoMinorGridModule, DxoMinorTickModule, DxoMinorTickIntervalModule, DxoMinVisualRangeLengthModule, DxiStripModule, DxoStripStyleModule, DxoTickModule, DxoTickIntervalModule, DxoTitleModule, DxoCommonAnnotationSettingsModule, DxoCommonAxisSettingsModule, DxoCommonPaneSettingsModule, DxoCommonSeriesSettingsModule, DxoAggregationModule, DxoAreaModule, DxoHoverStyleModule, DxoHatchingModule, DxoConnectorModule, DxoPointModule, DxoHeightModule, DxoUrlModule, DxoWidthModule, DxoSelectionStyleModule, DxoReductionModule, DxoValueErrorBarModule, DxoBarModule, DxoBubbleModule, DxoCandlestickModule, DxoFullstackedareaModule, DxoFullstackedbarModule, DxoFullstackedlineModule, DxoFullstackedsplineModule, DxoFullstackedsplineareaModule, DxoArgumentFormatModule, DxoLineModule, DxoRangeareaModule, DxoRangebarModule, DxoScatterModule, DxoSplineModule, DxoSplineareaModule, DxoStackedareaModule, DxoStackedbarModule, DxoStackedlineModule, DxoStackedsplineModule, DxoStackedsplineareaModule, DxoStepareaModule, DxoSteplineModule, DxoStockModule, DxoCrosshairModule, DxoHorizontalLineModule, DxoVerticalLineModule, DxoDataPrepareSettingsModule, DxoExportModule, DxoLegendModule, DxoMarginModule, DxoSubtitleModule, DxoLoadingIndicatorModule, DxiPaneModule, DxoScrollBarModule, DxiSeriesModule, DxoSeriesTemplateModule, DxoSizeModule, DxoTooltipModule, DxiValueAxisModule, DxoZoomAndPanModule, DxoDragBoxStyleModule, DxIntegrationModule, DxTemplateModule, BrowserTransferStateModule ], DxoAdaptiveLayoutModule, DxoAnimationModule, DxiAnnotationModule, DxoBorderModule, DxoFontModule, DxoImageModule, DxoShadowModule, DxoArgumentAxisModule, DxoAggregationIntervalModule, DxiBreakModule, DxoBreakStyleModule, DxiConstantLineModule, DxoLabelModule, DxoConstantLineStyleModule, DxoGridModule, DxoFormatModule, DxoMinorGridModule, DxoMinorTickModule, DxoMinorTickIntervalModule, DxoMinVisualRangeLengthModule, DxiStripModule, DxoStripStyleModule, DxoTickModule, DxoTickIntervalModule, DxoTitleModule, DxoCommonAnnotationSettingsModule, DxoCommonAxisSettingsModule, DxoCommonPaneSettingsModule, DxoCommonSeriesSettingsModule, DxoAggregationModule, DxoAreaModule, DxoHoverStyleModule, DxoHatchingModule, DxoConnectorModule, DxoPointModule, DxoHeightModule, DxoUrlModule, DxoWidthModule, DxoSelectionStyleModule, DxoReductionModule, DxoValueErrorBarModule, DxoBarModule, DxoBubbleModule, DxoCandlestickModule, DxoFullstackedareaModule, DxoFullstackedbarModule, DxoFullstackedlineModule, DxoFullstackedsplineModule, DxoFullstackedsplineareaModule, DxoArgumentFormatModule, DxoLineModule, DxoRangeareaModule, DxoRangebarModule, DxoScatterModule, DxoSplineModule, DxoSplineareaModule, DxoStackedareaModule, DxoStackedbarModule, DxoStackedlineModule, DxoStackedsplineModule, DxoStackedsplineareaModule, DxoStepareaModule, DxoSteplineModule, DxoStockModule, DxoCrosshairModule, DxoHorizontalLineModule, DxoVerticalLineModule, DxoDataPrepareSettingsModule, DxoExportModule, DxoLegendModule, DxoMarginModule, DxoSubtitleModule, DxoLoadingIndicatorModule, DxiPaneModule, DxoScrollBarModule, DxiSeriesModule, DxoSeriesTemplateModule, DxoSizeModule, DxoTooltipModule, DxiValueAxisModule, DxoZoomAndPanModule, DxoDragBoxStyleModule, DxTemplateModule] }); (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DxChartModule, [{ type: NgModule, args: [{ imports: [ DxoAdaptiveLayoutModule, DxoAnimationModule, DxiAnnotationModule, DxoBorderModule, DxoFontModule, DxoImageModule, DxoShadowModule, DxoArgumentAxisModule, DxoAggregationIntervalModule, DxiBreakModule, DxoBreakStyleModule, DxiConstantLineModule, DxoLabelModule, DxoConstantLineStyleModule, DxoGridModule, DxoFormatModule, DxoMinorGridModule, DxoMinorTickModule, DxoMinorTickIntervalModule, DxoMinVisualRangeLengthModule, DxiStripModule, DxoStripStyleModule, DxoTickModule, DxoTickIntervalModule, DxoTitleModule, DxoCommonAnnotationSettingsModule, DxoCommonAxisSettingsModule, DxoCommonPaneSettingsModule, DxoCommonSeriesSettingsModule, DxoAggregationModule, DxoAreaModule, DxoHoverStyleModule, DxoHatchingModule, DxoConnectorModule, DxoPointModule, DxoHeightModule, DxoUrlModule, DxoWidthModule, DxoSelectionStyleModule, DxoReductionModule, DxoValueErrorBarModule, DxoBarModule, DxoBubbleModule, DxoCandlestickModule, DxoFullstackedareaModule, DxoFullstackedbarModule, DxoFullstackedlineModule, DxoFullstackedsplineModule, DxoFullstackedsplineareaModule, DxoArgumentFormatModule,