@covalent/echarts 6.3.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bar/bar.component.d.ts +1 -1
- package/base/axis/axis.component.d.ts +1 -1
- package/base/axis/x-axis.component.d.ts +1 -1
- package/base/axis/y-axis.component.d.ts +1 -1
- package/base/chart.component.d.ts +1 -1
- package/base/dataset/dataset.component.d.ts +1 -1
- package/base/series/series.component.d.ts +1 -1
- package/clustering/clustering.component.d.ts +1 -1
- package/esm2022/bar/bar.component.mjs +163 -0
- package/{esm2020 → esm2022}/bar/bar.module.mjs +5 -5
- package/esm2022/base/axis/axis.component.mjs +157 -0
- package/esm2022/base/axis/x-axis.component.mjs +56 -0
- package/esm2022/base/axis/y-axis.component.mjs +56 -0
- package/{esm2020 → esm2022}/base/base.module.mjs +11 -11
- package/esm2022/base/chart-options.service.mjs +63 -0
- package/esm2022/base/chart.component.mjs +211 -0
- package/esm2022/base/dataset/dataset.component.mjs +57 -0
- package/esm2022/base/series/series.component.mjs +106 -0
- package/esm2022/clustering/clustering.component.mjs +275 -0
- package/{esm2020 → esm2022}/clustering/clustering.module.mjs +5 -5
- package/esm2022/graph/graph.component.mjs +230 -0
- package/{esm2020 → esm2022}/graph/graph.module.mjs +5 -5
- package/esm2022/histogram/histogram.component.mjs +127 -0
- package/{esm2020 → esm2022}/histogram/histogram.module.mjs +5 -5
- package/esm2022/line/line.component.mjs +195 -0
- package/{esm2020 → esm2022}/line/line.module.mjs +5 -5
- package/esm2022/map/map.component.mjs +159 -0
- package/{esm2020 → esm2022}/map/map.module.mjs +5 -5
- package/esm2022/pie/pie.component.mjs +153 -0
- package/{esm2020 → esm2022}/pie/pie.module.mjs +5 -5
- package/esm2022/regression/regression.component.mjs +140 -0
- package/{esm2020 → esm2022}/regression/regression.module.mjs +5 -5
- package/esm2022/sankey/sankey.component.mjs +139 -0
- package/{esm2020 → esm2022}/sankey/sankey.module.mjs +5 -5
- package/esm2022/scatter/scatter.component.mjs +175 -0
- package/{esm2020 → esm2022}/scatter/scatter.module.mjs +5 -5
- package/esm2022/toolbox/toolbox.component.mjs +149 -0
- package/{esm2020 → esm2022}/toolbox/toolbox.module.mjs +7 -7
- package/esm2022/tooltip/series-tooltip.component.mjs +112 -0
- package/esm2022/tooltip/tooltip.component.mjs +168 -0
- package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +9 -9
- package/esm2022/tree/tree.component.mjs +139 -0
- package/{esm2020 → esm2022}/tree/tree.module.mjs +5 -5
- package/esm2022/treemap/treemap.component.mjs +182 -0
- package/{esm2020 → esm2022}/treemap/treemap.module.mjs +5 -5
- package/esm2022/wordcloud/wordcloud.component.mjs +106 -0
- package/{esm2020 → esm2022}/wordcloud/wordcloud.module.mjs +5 -5
- package/{fesm2015 → fesm2022}/covalent-echarts-bar.mjs +40 -12
- package/fesm2022/covalent-echarts-bar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-base.mjs +135 -69
- package/{fesm2015 → fesm2022}/covalent-echarts-base.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/covalent-echarts-clustering.mjs +54 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-clustering.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-graph.mjs +57 -12
- package/{fesm2015 → fesm2022}/covalent-echarts-graph.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-histogram.mjs +14 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-histogram.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-line.mjs +48 -12
- package/fesm2022/covalent-echarts-line.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-map.mjs +39 -12
- package/{fesm2020 → fesm2022}/covalent-echarts-map.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-pie.mjs +38 -12
- package/fesm2022/covalent-echarts-pie.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-regression.mjs +15 -12
- package/fesm2022/covalent-echarts-regression.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-sankey.mjs +34 -12
- package/fesm2022/covalent-echarts-sankey.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/covalent-echarts-scatter.mjs +43 -12
- package/fesm2022/covalent-echarts-scatter.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-toolbox.mjs +37 -23
- package/{fesm2020 → fesm2022}/covalent-echarts-toolbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-tooltip.mjs +69 -47
- package/{fesm2015 → fesm2022}/covalent-echarts-tooltip.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-tree.mjs +34 -12
- package/{fesm2015 → fesm2022}/covalent-echarts-tree.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/covalent-echarts-treemap.mjs +46 -13
- package/fesm2022/covalent-echarts-treemap.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/covalent-echarts-wordcloud.mjs +26 -12
- package/fesm2022/covalent-echarts-wordcloud.mjs.map +1 -0
- package/graph/graph.component.d.ts +1 -1
- package/histogram/histogram.component.d.ts +1 -1
- package/line/line.component.d.ts +1 -1
- package/map/map.component.d.ts +1 -1
- package/package.json +57 -96
- package/pie/pie.component.d.ts +1 -1
- package/regression/regression.component.d.ts +1 -1
- package/sankey/sankey.component.d.ts +1 -1
- package/scatter/scatter.component.d.ts +1 -1
- package/toolbox/toolbox.component.d.ts +1 -1
- package/tooltip/series-tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tree/tree.component.d.ts +1 -1
- package/treemap/treemap.component.d.ts +2 -2
- package/wordcloud/wordcloud.component.d.ts +1 -1
- package/base/src/axis/README.md +0 -58
- package/base/src/dataset/README.md +0 -80
- package/esm2020/bar/bar.component.mjs +0 -135
- package/esm2020/base/axis/axis.component.mjs +0 -127
- package/esm2020/base/axis/x-axis.component.mjs +0 -55
- package/esm2020/base/axis/y-axis.component.mjs +0 -55
- package/esm2020/base/chart-options.service.mjs +0 -65
- package/esm2020/base/chart.component.mjs +0 -195
- package/esm2020/base/dataset/dataset.component.mjs +0 -52
- package/esm2020/base/series/series.component.mjs +0 -91
- package/esm2020/clustering/clustering.component.mjs +0 -233
- package/esm2020/graph/graph.component.mjs +0 -185
- package/esm2020/histogram/histogram.component.mjs +0 -125
- package/esm2020/line/line.component.mjs +0 -159
- package/esm2020/map/map.component.mjs +0 -132
- package/esm2020/pie/pie.component.mjs +0 -127
- package/esm2020/regression/regression.component.mjs +0 -137
- package/esm2020/sankey/sankey.component.mjs +0 -117
- package/esm2020/scatter/scatter.component.mjs +0 -144
- package/esm2020/toolbox/toolbox.component.mjs +0 -135
- package/esm2020/tooltip/series-tooltip.component.mjs +0 -102
- package/esm2020/tooltip/tooltip.component.mjs +0 -156
- package/esm2020/tree/tree.component.mjs +0 -117
- package/esm2020/treemap/treemap.component.mjs +0 -149
- package/esm2020/wordcloud/wordcloud.component.mjs +0 -92
- package/fesm2015/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2015/covalent-echarts-base.mjs +0 -4931
- package/fesm2015/covalent-echarts-clustering.mjs.map +0 -1
- package/fesm2015/covalent-echarts-graph.mjs +0 -210
- package/fesm2015/covalent-echarts-histogram.mjs +0 -151
- package/fesm2015/covalent-echarts-histogram.mjs.map +0 -1
- package/fesm2015/covalent-echarts-line.mjs +0 -182
- package/fesm2015/covalent-echarts-line.mjs.map +0 -1
- package/fesm2015/covalent-echarts-map.mjs.map +0 -1
- package/fesm2015/covalent-echarts-pie.mjs +0 -150
- package/fesm2015/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2015/covalent-echarts-regression.mjs +0 -163
- package/fesm2015/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2015/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2015/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2015/covalent-echarts-toolbox.mjs +0 -158
- package/fesm2015/covalent-echarts-toolbox.mjs.map +0 -1
- package/fesm2015/covalent-echarts-tooltip.mjs +0 -283
- package/fesm2015/covalent-echarts-tree.mjs +0 -140
- package/fesm2015/covalent-echarts-treemap.mjs +0 -174
- package/fesm2015/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2015/covalent-echarts-wordcloud.mjs +0 -117
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +0 -1
- package/fesm2020/covalent-echarts-bar.mjs +0 -158
- package/fesm2020/covalent-echarts-bar.mjs.map +0 -1
- package/fesm2020/covalent-echarts-base.mjs.map +0 -1
- package/fesm2020/covalent-echarts-clustering.mjs +0 -258
- package/fesm2020/covalent-echarts-graph.mjs.map +0 -1
- package/fesm2020/covalent-echarts-line.mjs.map +0 -1
- package/fesm2020/covalent-echarts-map.mjs +0 -155
- package/fesm2020/covalent-echarts-pie.mjs.map +0 -1
- package/fesm2020/covalent-echarts-regression.mjs.map +0 -1
- package/fesm2020/covalent-echarts-sankey.mjs +0 -142
- package/fesm2020/covalent-echarts-sankey.mjs.map +0 -1
- package/fesm2020/covalent-echarts-scatter.mjs +0 -169
- package/fesm2020/covalent-echarts-scatter.mjs.map +0 -1
- package/fesm2020/covalent-echarts-tooltip.mjs.map +0 -1
- package/fesm2020/covalent-echarts-tree.mjs.map +0 -1
- package/fesm2020/covalent-echarts-treemap.mjs.map +0 -1
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +0 -1
- package/fesm2020/covalent-echarts.mjs +0 -4
- package/fesm2020/covalent-echarts.mjs.map +0 -1
- /package/{esm2020 → esm2022}/bar/covalent-echarts-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/bar/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/base/axis/axis.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/base/base.types.mjs +0 -0
- /package/{esm2020 → esm2022}/base/covalent-echarts-base.mjs +0 -0
- /package/{esm2020 → esm2022}/base/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/base/series/series.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/aqua-splash.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/california-coast.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/hawaiian-sunrise.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/passion-flower.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/razzleberry-pie.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/teradata-classic.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/teradata-default.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/urban-sunrise.mjs +0 -0
- /package/{esm2020 → esm2022}/base/themes/volcanic-eruption.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/assign-defined.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/base/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/clustering/covalent-echarts-clustering.mjs +0 -0
- /package/{esm2020 → esm2022}/clustering/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/covalent-echarts.mjs +0 -0
- /package/{esm2020 → esm2022}/graph/covalent-echarts-graph.mjs +0 -0
- /package/{esm2020 → esm2022}/graph/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/histogram/covalent-echarts-histogram.mjs +0 -0
- /package/{esm2020 → esm2022}/histogram/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/line/covalent-echarts-line.mjs +0 -0
- /package/{esm2020 → esm2022}/line/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/map/covalent-echarts-map.mjs +0 -0
- /package/{esm2020 → esm2022}/map/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/covalent-echarts-pie.mjs +0 -0
- /package/{esm2020 → esm2022}/pie/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/regression/covalent-echarts-regression.mjs +0 -0
- /package/{esm2020 → esm2022}/regression/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/covalent-echarts-sankey.mjs +0 -0
- /package/{esm2020 → esm2022}/sankey/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/scatter/covalent-echarts-scatter.mjs +0 -0
- /package/{esm2020 → esm2022}/scatter/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbox/covalent-echarts-toolbox.mjs +0 -0
- /package/{esm2020 → esm2022}/toolbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/covalent-echarts-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/covalent-echarts-tree.mjs +0 -0
- /package/{esm2020 → esm2022}/tree/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/treemap/covalent-echarts-treemap.mjs +0 -0
- /package/{esm2020 → esm2022}/treemap/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/wordcloud/covalent-echarts-wordcloud.mjs +0 -0
- /package/{esm2020 → esm2022}/wordcloud/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/covalent-echarts.mjs +0 -0
- /package/{fesm2015 → fesm2022}/covalent-echarts.mjs.map +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-clustering.mjs","sources":["../../../../libs/angular-echarts/clustering/src/clustering.component.ts","../../../../libs/angular-echarts/clustering/src/clustering.module.ts","../../../../libs/angular-echarts/clustering/src/covalent-echarts-clustering.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n ITdEdgeLabel,\n ITdEmphasis,\n ITdItemStyle,\n ITdLabel,\n ITdLineStyle,\n ITdMarkArea,\n ITdMarkLine,\n ITdMarkPoint,\n ITdSeries,\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport * as ecStat from 'echarts-stat';\n\nexport interface ITdClusteringSeries extends ITdSeries {\n clusterCount: number;\n showCentroids: boolean;\n animation?: boolean;\n animationDelay?: number | Function;\n animationDelayUpdate?: number | Function;\n animationDuration?: number | Function;\n animationDurationUpdate?: number | Function;\n animationEasing?: string;\n animationEasingUpdate?: string;\n animationThreshold?: number;\n bottom?: string | number;\n calendarIndex?: number;\n circular?: object;\n coordinateSystem?: TdCoordinateSystem;\n cursor?: string;\n edgeLabel?: ITdEdgeLabel;\n edges?: any[];\n edgeSymbol?: any[] | string;\n edgeSymbolSize?: number;\n emphasis?: ITdEmphasis;\n focusNodeAdjacency?: boolean;\n geoIndex?: number;\n height?: string | number;\n hoverAnimation?: boolean;\n itemStyle?: ITdItemStyle;\n label?: ITdLabel;\n left?: string | number;\n legendHoverLink?: boolean;\n lineStyle?: ITdLineStyle;\n links?: any[];\n markArea?: ITdMarkArea;\n markLine?: ITdMarkLine;\n markPoint?: ITdMarkPoint;\n nodes?: any[];\n nodeScaleRatio?: boolean;\n polarIndex?: number;\n right?: string | number;\n silent?: boolean;\n symbol?: TdMarkPointSymbol | string;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n symbolRotate?: number;\n symbolSize?: number | any[] | Function;\n top?: string | number;\n width?: string | number;\n xAxisIndex?: number;\n yAxisIndex?: number;\n z?: number;\n zlevel?: number;\n}\n\n@Component({\n selector: 'td-chart-series[td-clustering]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesClusteringComponent),\n },\n ],\n})\nexport class TdChartSeriesClusteringComponent\n extends TdSeriesDirective\n implements ITdClusteringSeries, OnChanges\n{\n @Input() clusterCount!: number;\n @Input() showCentroids!: boolean;\n @Input() bottom?: string | number;\n @Input() calendarIndex?: number;\n @Input() circular?: object;\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() cursor?: string;\n @Input() edgeLabel?: ITdEdgeLabel;\n @Input() edges?: any[];\n @Input() edgeSymbol?: any[] | string;\n @Input() edgeSymbolSize?: number;\n @Input() emphasis?: ITdEmphasis;\n @Input() focusNodeAdjacency?: boolean;\n @Input() geoIndex?: number;\n @Input() height?: string | number;\n @Input() hoverAnimation?: boolean;\n @Input() itemStyle?: ITdItemStyle;\n @Input() label?: ITdLabel;\n @Input() left?: string | number;\n @Input() legendHoverLink?: boolean;\n @Input() lineStyle?: ITdLineStyle;\n @Input() links?: any[];\n @Input() markArea?: ITdMarkArea;\n @Input() markLine?: ITdMarkLine;\n @Input() markPoint?: ITdMarkPoint;\n @Input() nodes?: any[];\n @Input() nodeScaleRatio?: boolean;\n @Input() polarIndex?: number;\n @Input() right?: string | number;\n @Input() silent?: boolean;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() symbolRotate?: number;\n @Input() symbolSize?: number | any[] | Function;\n @Input() top?: string | number;\n @Input() width?: string | number;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() z?: number;\n @Input() zlevel?: number;\n originalData: any;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('scatter', _optionsService);\n }\n\n override ngOnChanges(): void {\n if (this.originalData) {\n this.data = this.originalData;\n } else {\n this.originalData = this.data;\n }\n const output: any = this.data;\n const result = ecStat.clustering.hierarchicalKMeans(\n output,\n this.clusterCount,\n false\n );\n const series = [];\n\n for (let i = 0; i < result.centroids.length; i++) {\n series.push({\n name: `cluster ${i + 1}`,\n type: 'scatter',\n data: result.pointsInCluster[i],\n markPoint: this.showCentroids\n ? {\n symbolSize: 30,\n itemStyle: {\n normal: {\n opacity: 0.8,\n },\n },\n data: [\n {\n coord: result.centroids[i],\n label: { show: false },\n name: `centroid ${i + 1}`,\n value: result.centroids[i],\n },\n ],\n }\n : {},\n });\n }\n this.optionsService.setOption('series', series);\n this.data = [];\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n clusterCount: this.clusterCount,\n showCentroids: this.showCentroids,\n bottom: this.bottom,\n calendarIndex: this.calendarIndex,\n circular: this.circular,\n coordinateSystem: this.coordinateSystem,\n cursor: this.cursor,\n edgeLabel: this.edgeLabel,\n edges: this.edges,\n edgeSymbol: this.edgeSymbol,\n edgeSymbolSize: this.edgeSymbolSize,\n emphasis: this.emphasis,\n focusNodeAdjacency: this.focusNodeAdjacency,\n geoIndex: this.geoIndex,\n height: this.height,\n hoverAnimation: this.hoverAnimation,\n itemStyle: this.itemStyle,\n label: this.label,\n left: this.left,\n legendHoverLink: this.legendHoverLink,\n lineStyle: this.lineStyle,\n links: this.links,\n markArea: this.markArea,\n markLine: this.markLine,\n markPoint: this.markPoint,\n nodes: this.nodes,\n nodeScaleRatio: this.nodeScaleRatio,\n polarIndex: this.polarIndex,\n right: this.right,\n silent: this.silent,\n symbol: this.symbol,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n symbolRotate: this.symbolRotate,\n symbolSize: this.symbolSize,\n top: this.top,\n width: this.width,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n z: this.z,\n zlevel: this.zlevel,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('scatter', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesClusteringComponent } from './clustering.component';\n\nexport const CLUSTERING_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesClusteringComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [CLUSTERING_MODULE_COMPONENTS],\n exports: [CLUSTERING_MODULE_COMPONENTS],\n})\nexport class CovalentClusteringEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AA0GM,MAAO,gCACX,SAAQ,iBAAiB,CAAA;AA8CzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;KACnC;IAEQ,WAAW,GAAA;QAClB,IAAI,IAAI,CAAC,YAAY,EAAE;AACrB,YAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC;AAC/B,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC;AAC/B,SAAA;AACD,QAAA,MAAM,MAAM,GAAQ,IAAI,CAAC,IAAI,CAAC;AAC9B,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,kBAAkB,CACjD,MAAM,EACN,IAAI,CAAC,YAAY,EACjB,KAAK,CACN,CAAC;QACF,MAAM,MAAM,GAAG,EAAE,CAAC;AAElB,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAChD,MAAM,CAAC,IAAI,CAAC;AACV,gBAAA,IAAI,EAAE,CAAA,QAAA,EAAW,CAAC,GAAG,CAAC,CAAE,CAAA;AACxB,gBAAA,IAAI,EAAE,SAAS;AACf,gBAAA,IAAI,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,CAAA;;4HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAR1C,YAAA,EAAA,CAAA,gCAAgC,CAItB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,gCAAgC,CAAA,EAAA,CAAA,CAAA;AAQrB,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAJhC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;iBACxC,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as i1 from '@covalent/echarts/base';
|
|
5
|
-
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
-
|
|
7
|
-
class TdChartSeriesGraphComponent extends TdSeriesDirective {
|
|
8
|
-
constructor(_optionsService) {
|
|
9
|
-
super('graph', _optionsService);
|
|
10
|
-
}
|
|
11
|
-
getConfig() {
|
|
12
|
-
return {
|
|
13
|
-
legendHoverLink: this.legendHoverLink,
|
|
14
|
-
coordinateSystem: this.coordinateSystem,
|
|
15
|
-
xAxisIndex: this.xAxisIndex,
|
|
16
|
-
yAxisIndex: this.yAxisIndex,
|
|
17
|
-
polarIndex: this.polarIndex,
|
|
18
|
-
calendarIndex: this.calendarIndex,
|
|
19
|
-
geoIndex: this.geoIndex,
|
|
20
|
-
hoverAnimation: this.hoverAnimation,
|
|
21
|
-
circular: this.circular,
|
|
22
|
-
force: this.force,
|
|
23
|
-
layout: this.layout,
|
|
24
|
-
nodeScaleRatio: this.nodeScaleRatio,
|
|
25
|
-
draggable: this.draggable,
|
|
26
|
-
symbol: this.symbol,
|
|
27
|
-
symbolSize: this.symbolSize,
|
|
28
|
-
symbolRotate: this.symbolRotate,
|
|
29
|
-
symbolKeepAspect: this.symbolKeepAspect,
|
|
30
|
-
symbolOffset: this.symbolOffset,
|
|
31
|
-
focusNodeAdjacency: this.focusNodeAdjacency,
|
|
32
|
-
edgeSymbol: this.edgeSymbol,
|
|
33
|
-
edgeSymbolSize: this.edgeSymbolSize,
|
|
34
|
-
cursor: this.cursor,
|
|
35
|
-
roam: this.roam,
|
|
36
|
-
itemStyle: this.itemStyle,
|
|
37
|
-
lineStyle: this.lineStyle,
|
|
38
|
-
label: this.label,
|
|
39
|
-
edgeLabel: this.edgeLabel,
|
|
40
|
-
emphasis: this.emphasis,
|
|
41
|
-
categories: this.categories,
|
|
42
|
-
nodes: this.nodes,
|
|
43
|
-
links: this.links,
|
|
44
|
-
edges: this.edges,
|
|
45
|
-
markPoint: this.markPoint,
|
|
46
|
-
markLine: this.markLine,
|
|
47
|
-
markArea: this.markArea,
|
|
48
|
-
zlevel: this.zlevel,
|
|
49
|
-
z: this.z,
|
|
50
|
-
silent: this.silent,
|
|
51
|
-
left: this.left,
|
|
52
|
-
top: this.top,
|
|
53
|
-
right: this.right,
|
|
54
|
-
bottom: this.bottom,
|
|
55
|
-
width: this.width,
|
|
56
|
-
height: this.height,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
TdChartSeriesGraphComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesGraphComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
-
TdChartSeriesGraphComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartSeriesGraphComponent, selector: "td-chart-series[td-graph]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", legendHoverLink: "legendHoverLink", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", calendarIndex: "calendarIndex", geoIndex: "geoIndex", hoverAnimation: "hoverAnimation", circular: "circular", force: "force", layout: "layout", nodeScaleRatio: "nodeScaleRatio", draggable: "draggable", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", focusNodeAdjacency: "focusNodeAdjacency", edgeSymbol: "edgeSymbol", edgeSymbolSize: "edgeSymbolSize", cursor: "cursor", roam: "roam", initialTreeDepth: "initialTreeDepth", itemStyle: "itemStyle", lineStyle: "lineStyle", label: "label", edgeLabel: "edgeLabel", emphasis: "emphasis", categories: "categories", nodes: "nodes", links: "links", edges: "edges", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent", left: "left", top: "top", right: "right", bottom: "bottom", width: "width", height: "height" }, providers: [
|
|
62
|
-
{
|
|
63
|
-
provide: TdSeriesDirective,
|
|
64
|
-
useExisting: forwardRef(() => TdChartSeriesGraphComponent),
|
|
65
|
-
},
|
|
66
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesGraphComponent, decorators: [{
|
|
68
|
-
type: Component,
|
|
69
|
-
args: [{
|
|
70
|
-
selector: 'td-chart-series[td-graph]',
|
|
71
|
-
template: '',
|
|
72
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
73
|
-
inputs: [
|
|
74
|
-
'config',
|
|
75
|
-
'id',
|
|
76
|
-
'name',
|
|
77
|
-
'color',
|
|
78
|
-
'data',
|
|
79
|
-
'animation',
|
|
80
|
-
'animationThreshold',
|
|
81
|
-
'animationDuration',
|
|
82
|
-
'animationEasing',
|
|
83
|
-
'animationDelay',
|
|
84
|
-
'animationDurationUpdate',
|
|
85
|
-
'animationEasingUpdate',
|
|
86
|
-
'animationDelayUpdate',
|
|
87
|
-
'tooltip',
|
|
88
|
-
],
|
|
89
|
-
providers: [
|
|
90
|
-
{
|
|
91
|
-
provide: TdSeriesDirective,
|
|
92
|
-
useExisting: forwardRef(() => TdChartSeriesGraphComponent),
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
}]
|
|
96
|
-
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { legendHoverLink: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}], coordinateSystem: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], xAxisIndex: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], yAxisIndex: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}], polarIndex: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], calendarIndex: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], geoIndex: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], hoverAnimation: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], circular: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], force: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], layout: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], nodeScaleRatio: [{
|
|
119
|
-
type: Input
|
|
120
|
-
}], draggable: [{
|
|
121
|
-
type: Input
|
|
122
|
-
}], symbol: [{
|
|
123
|
-
type: Input
|
|
124
|
-
}], symbolSize: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}], symbolRotate: [{
|
|
127
|
-
type: Input
|
|
128
|
-
}], symbolKeepAspect: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}], symbolOffset: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], focusNodeAdjacency: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], edgeSymbol: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], edgeSymbolSize: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], cursor: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], roam: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], initialTreeDepth: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}], itemStyle: [{
|
|
145
|
-
type: Input
|
|
146
|
-
}], lineStyle: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], label: [{
|
|
149
|
-
type: Input
|
|
150
|
-
}], edgeLabel: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}], emphasis: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], categories: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], nodes: [{
|
|
157
|
-
type: Input
|
|
158
|
-
}], links: [{
|
|
159
|
-
type: Input
|
|
160
|
-
}], edges: [{
|
|
161
|
-
type: Input
|
|
162
|
-
}], markPoint: [{
|
|
163
|
-
type: Input
|
|
164
|
-
}], markLine: [{
|
|
165
|
-
type: Input
|
|
166
|
-
}], markArea: [{
|
|
167
|
-
type: Input
|
|
168
|
-
}], zlevel: [{
|
|
169
|
-
type: Input
|
|
170
|
-
}], z: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], silent: [{
|
|
173
|
-
type: Input
|
|
174
|
-
}], left: [{
|
|
175
|
-
type: Input
|
|
176
|
-
}], top: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}], right: [{
|
|
179
|
-
type: Input
|
|
180
|
-
}], bottom: [{
|
|
181
|
-
type: Input
|
|
182
|
-
}], width: [{
|
|
183
|
-
type: Input
|
|
184
|
-
}], height: [{
|
|
185
|
-
type: Input
|
|
186
|
-
}] } });
|
|
187
|
-
|
|
188
|
-
const GRAPH_MODULE_COMPONENTS = [
|
|
189
|
-
TdChartSeriesGraphComponent,
|
|
190
|
-
];
|
|
191
|
-
class CovalentGraphEchartsModule {
|
|
192
|
-
}
|
|
193
|
-
CovalentGraphEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentGraphEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
194
|
-
CovalentGraphEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentGraphEchartsModule, declarations: [TdChartSeriesGraphComponent], imports: [CommonModule], exports: [TdChartSeriesGraphComponent] });
|
|
195
|
-
CovalentGraphEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentGraphEchartsModule, imports: [CommonModule] });
|
|
196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentGraphEchartsModule, decorators: [{
|
|
197
|
-
type: NgModule,
|
|
198
|
-
args: [{
|
|
199
|
-
imports: [CommonModule],
|
|
200
|
-
declarations: [GRAPH_MODULE_COMPONENTS],
|
|
201
|
-
exports: [GRAPH_MODULE_COMPONENTS],
|
|
202
|
-
}]
|
|
203
|
-
}] });
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Generated bundle index. Do not edit.
|
|
207
|
-
*/
|
|
208
|
-
|
|
209
|
-
export { CovalentGraphEchartsModule, GRAPH_MODULE_COMPONENTS, TdChartSeriesGraphComponent };
|
|
210
|
-
//# sourceMappingURL=covalent-echarts-graph.mjs.map
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as i1 from '@covalent/echarts/base';
|
|
5
|
-
import { assignDefined, TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
-
import { TdChartSeriesBarComponent } from '@covalent/echarts/bar';
|
|
7
|
-
import * as ecStat from 'echarts-stat';
|
|
8
|
-
|
|
9
|
-
class TdChartSeriesHistogramComponent extends TdChartSeriesBarComponent {
|
|
10
|
-
constructor(_optionsService) {
|
|
11
|
-
super(_optionsService);
|
|
12
|
-
}
|
|
13
|
-
ngOnChanges() {
|
|
14
|
-
var _a, _b, _c, _d, _e;
|
|
15
|
-
let output = [];
|
|
16
|
-
if (!this.source) {
|
|
17
|
-
const dataset = this.optionsService.getOption('dataset');
|
|
18
|
-
this.source = (_a = dataset === null || dataset === void 0 ? void 0 : dataset.source) !== null && _a !== void 0 ? _a : [];
|
|
19
|
-
}
|
|
20
|
-
if ((_b = this.source) === null || _b === void 0 ? void 0 : _b.some((item) => Array.isArray(item))) {
|
|
21
|
-
const config = this.getConfig();
|
|
22
|
-
const index = (_c = config.datasetIndex) !== null && _c !== void 0 ? _c : 1;
|
|
23
|
-
const source = this.source;
|
|
24
|
-
const indexedOutput = source[0].map((_, colIndex) => source.map((row) => row[colIndex]));
|
|
25
|
-
output = (_d = indexedOutput[index - 1]) !== null && _d !== void 0 ? _d : [];
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
output = this.source;
|
|
29
|
-
}
|
|
30
|
-
const bins = ecStat.histogram(output, (_e = this.method) !== null && _e !== void 0 ? _e : 'squareRoot');
|
|
31
|
-
this.data = bins.data;
|
|
32
|
-
this.setOptions();
|
|
33
|
-
}
|
|
34
|
-
getConfig() {
|
|
35
|
-
return {
|
|
36
|
-
method: this.method,
|
|
37
|
-
coordinateSystem: this.coordinateSystem,
|
|
38
|
-
xAxisIndex: this.xAxisIndex,
|
|
39
|
-
yAxisIndex: this.yAxisIndex,
|
|
40
|
-
legendHoverLink: this.legendHoverLink,
|
|
41
|
-
stack: this.stack,
|
|
42
|
-
cursor: this.cursor,
|
|
43
|
-
label: this.label,
|
|
44
|
-
itemStyle: this.itemStyle,
|
|
45
|
-
emphasis: this.emphasis,
|
|
46
|
-
barWidth: this.barWidth,
|
|
47
|
-
barMaxWidth: this.barMaxWidth,
|
|
48
|
-
barMinHeight: this.barMinHeight,
|
|
49
|
-
barGap: this.barGap,
|
|
50
|
-
barCategoryGap: this.barCategoryGap,
|
|
51
|
-
large: this.large,
|
|
52
|
-
largeThreshold: this.largeThreshold,
|
|
53
|
-
progressive: this.progressive,
|
|
54
|
-
progressiveThreshold: this.progressiveThreshold,
|
|
55
|
-
progressiveChunkMode: this.progressiveChunkMode,
|
|
56
|
-
dimensions: this.dimensions,
|
|
57
|
-
encode: this.encode,
|
|
58
|
-
seriesLayoutBy: this.seriesLayoutBy,
|
|
59
|
-
datasetIndex: this.datasetIndex,
|
|
60
|
-
markPoint: this.markPoint,
|
|
61
|
-
markLine: this.markLine,
|
|
62
|
-
markArea: this.markArea,
|
|
63
|
-
zlevel: this.zlevel,
|
|
64
|
-
z: this.z,
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
setOptions() {
|
|
68
|
-
const config = assignDefined(this._state, {
|
|
69
|
-
id: this.id,
|
|
70
|
-
type: this.type,
|
|
71
|
-
name: this.name,
|
|
72
|
-
color: this.color,
|
|
73
|
-
data: this.data,
|
|
74
|
-
animation: this.animation,
|
|
75
|
-
animationThreshold: this.animationThreshold,
|
|
76
|
-
animationDuration: this.animationDuration,
|
|
77
|
-
animationEasing: this.animationEasing,
|
|
78
|
-
animationDelay: this.animationDelay,
|
|
79
|
-
animationDurationUpdate: this.animationDurationUpdate,
|
|
80
|
-
animationEasingUpdate: this.animationEasingUpdate,
|
|
81
|
-
animationDelayUpdate: this.animationDelayUpdate,
|
|
82
|
-
tooltip: this.tooltip,
|
|
83
|
-
}, this.getConfig(), this._options, this.config ? this.config : {});
|
|
84
|
-
this.optionsService.setArrayOption('series', config);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
TdChartSeriesHistogramComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesHistogramComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
-
TdChartSeriesHistogramComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartSeriesHistogramComponent, selector: "td-chart-series[td-histogram]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", source: "source", method: "method" }, providers: [
|
|
89
|
-
{
|
|
90
|
-
provide: TdSeriesDirective,
|
|
91
|
-
useExisting: forwardRef(() => TdChartSeriesHistogramComponent),
|
|
92
|
-
},
|
|
93
|
-
], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesHistogramComponent, decorators: [{
|
|
95
|
-
type: Component,
|
|
96
|
-
args: [{
|
|
97
|
-
selector: 'td-chart-series[td-histogram]',
|
|
98
|
-
template: '',
|
|
99
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
100
|
-
inputs: [
|
|
101
|
-
'config',
|
|
102
|
-
'id',
|
|
103
|
-
'name',
|
|
104
|
-
'color',
|
|
105
|
-
'data',
|
|
106
|
-
'animation',
|
|
107
|
-
'animationThreshold',
|
|
108
|
-
'animationDuration',
|
|
109
|
-
'animationEasing',
|
|
110
|
-
'animationDelay',
|
|
111
|
-
'animationDurationUpdate',
|
|
112
|
-
'animationEasingUpdate',
|
|
113
|
-
'animationDelayUpdate',
|
|
114
|
-
'tooltip',
|
|
115
|
-
],
|
|
116
|
-
providers: [
|
|
117
|
-
{
|
|
118
|
-
provide: TdSeriesDirective,
|
|
119
|
-
useExisting: forwardRef(() => TdChartSeriesHistogramComponent),
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
}]
|
|
123
|
-
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { source: [{
|
|
124
|
-
type: Input
|
|
125
|
-
}], method: [{
|
|
126
|
-
type: Input
|
|
127
|
-
}] } });
|
|
128
|
-
|
|
129
|
-
const HISTOGRAM_MODULE_COMPONENTS = [
|
|
130
|
-
TdChartSeriesHistogramComponent,
|
|
131
|
-
];
|
|
132
|
-
class CovalentHistogramEchartsModule {
|
|
133
|
-
}
|
|
134
|
-
CovalentHistogramEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentHistogramEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
135
|
-
CovalentHistogramEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentHistogramEchartsModule, declarations: [TdChartSeriesHistogramComponent], imports: [CommonModule], exports: [TdChartSeriesHistogramComponent] });
|
|
136
|
-
CovalentHistogramEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentHistogramEchartsModule, imports: [CommonModule] });
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentHistogramEchartsModule, decorators: [{
|
|
138
|
-
type: NgModule,
|
|
139
|
-
args: [{
|
|
140
|
-
imports: [CommonModule],
|
|
141
|
-
declarations: [HISTOGRAM_MODULE_COMPONENTS],
|
|
142
|
-
exports: [HISTOGRAM_MODULE_COMPONENTS],
|
|
143
|
-
}]
|
|
144
|
-
}] });
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Generated bundle index. Do not edit.
|
|
148
|
-
*/
|
|
149
|
-
|
|
150
|
-
export { CovalentHistogramEchartsModule, HISTOGRAM_MODULE_COMPONENTS, TdChartSeriesHistogramComponent };
|
|
151
|
-
//# sourceMappingURL=covalent-echarts-histogram.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-histogram.mjs","sources":["../../../../libs/angular-echarts/histogram/src/histogram.component.ts","../../../../libs/angular-echarts/histogram/src/histogram.module.ts","../../../../libs/angular-echarts/histogram/src/covalent-echarts-histogram.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n OnChanges,\n} from '@angular/core';\n\nimport {\n assignDefined,\n TdChartOptionsService,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\nimport { ITdBarSeries, TdChartSeriesBarComponent } from '@covalent/echarts/bar';\nimport * as ecStat from 'echarts-stat';\n\nexport type TdHistogramBinningMethod =\n | 'squareRoot'\n | 'scott'\n | 'freedmanDiaconis'\n | 'sturges';\n\nexport interface ITdHistogramSeries extends ITdBarSeries {\n data?: number[] | number[][];\n method?: TdHistogramBinningMethod;\n}\n\n@Component({\n selector: 'td-chart-series[td-histogram]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesHistogramComponent),\n },\n ],\n})\nexport class TdChartSeriesHistogramComponent\n extends TdChartSeriesBarComponent\n implements ITdHistogramSeries, OnChanges\n{\n @Input() source?: number[] | number[][];\n @Input() method?: TdHistogramBinningMethod;\n\n constructor(_optionsService: TdChartOptionsService) {\n super(_optionsService);\n }\n\n override ngOnChanges(): void {\n let output: any = [];\n if (!this.source) {\n const dataset: any = this.optionsService.getOption('dataset');\n this.source = dataset?.source ?? [];\n }\n\n if (this.source?.some((item) => Array.isArray(item))) {\n const config = this.getConfig();\n const index = config.datasetIndex ?? 1;\n const source: any[] = this.source;\n const indexedOutput = source[0].map((_: any, colIndex: string | number) =>\n source.map((row) => row[colIndex])\n );\n output = indexedOutput[index - 1] ?? [];\n } else {\n output = this.source;\n }\n\n const bins = ecStat.histogram(output, this.method ?? 'squareRoot');\n this.data = bins.data;\n this.setOptions();\n }\n\n override getConfig(): any {\n return {\n method: this.method,\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n label: this.label,\n itemStyle: this.itemStyle,\n emphasis: this.emphasis,\n barWidth: this.barWidth,\n barMaxWidth: this.barMaxWidth,\n barMinHeight: this.barMinHeight,\n barGap: this.barGap,\n barCategoryGap: this.barCategoryGap,\n large: this.large,\n largeThreshold: this.largeThreshold,\n progressive: this.progressive,\n progressiveThreshold: this.progressiveThreshold,\n progressiveChunkMode: this.progressiveChunkMode,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n };\n }\n\n private setOptions(): void {\n const config: any = assignDefined(\n this._state,\n {\n id: this.id,\n type: this.type,\n name: this.name,\n color: this.color,\n data: this.data,\n animation: this.animation,\n animationThreshold: this.animationThreshold,\n animationDuration: this.animationDuration,\n animationEasing: this.animationEasing,\n animationDelay: this.animationDelay,\n animationDurationUpdate: this.animationDurationUpdate,\n animationEasingUpdate: this.animationEasingUpdate,\n animationDelayUpdate: this.animationDelayUpdate,\n tooltip: this.tooltip,\n },\n this.getConfig(),\n this._options,\n this.config ? this.config : {}\n );\n this.optionsService.setArrayOption('series', config);\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesHistogramComponent } from './histogram.component';\n\nexport const HISTOGRAM_MODULE_COMPONENTS: Type<any>[] = [\n TdChartSeriesHistogramComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [HISTOGRAM_MODULE_COMPONENTS],\n exports: [HISTOGRAM_MODULE_COMPONENTS],\n})\nexport class CovalentHistogramEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAuDM,MAAO,+BACX,SAAQ,yBAAyB,CAAA;AAMjC,IAAA,WAAA,CAAY,eAAsC,EAAA;QAChD,KAAK,CAAC,eAAe,CAAC,CAAC;KACxB;IAEQ,WAAW,GAAA;;QAClB,IAAI,MAAM,GAAQ,EAAE,CAAC;AACrB,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YAChB,MAAM,OAAO,GAAQ,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;AAC9D,YAAA,IAAI,CAAC,MAAM,GAAG,CAAA,EAAA,GAAA,OAAO,KAAA,IAAA,IAAP,OAAO,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAP,OAAO,CAAE,MAAM,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,EAAA,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;2HAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA9B,8BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EARzC,YAAA,EAAA,CAAA,+BAA+B,CAIrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAJtB,+BAA+B,CAAA,EAAA,CAAA,CAAA;AAQpB,8BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,YAJ/B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAL1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;iBACvC,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { forwardRef, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import * as i1 from '@covalent/echarts/base';
|
|
5
|
-
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
6
|
-
|
|
7
|
-
class TdChartSeriesLineComponent extends TdSeriesDirective {
|
|
8
|
-
constructor(_optionsService) {
|
|
9
|
-
super('line', _optionsService);
|
|
10
|
-
}
|
|
11
|
-
getConfig() {
|
|
12
|
-
return {
|
|
13
|
-
coordinateSystem: this.coordinateSystem,
|
|
14
|
-
xAxisIndex: this.xAxisIndex,
|
|
15
|
-
yAxisIndex: this.yAxisIndex,
|
|
16
|
-
polarIndex: this.polarIndex,
|
|
17
|
-
symbol: this.symbol,
|
|
18
|
-
symbolSize: this.symbolSize,
|
|
19
|
-
symbolRotate: this.symbolRotate,
|
|
20
|
-
symbolKeepAspect: this.symbolKeepAspect,
|
|
21
|
-
symbolOffset: this.symbolOffset,
|
|
22
|
-
showSymbol: this.showSymbol,
|
|
23
|
-
showAllSymbol: this.showAllSymbol,
|
|
24
|
-
hoverAnimation: this.hoverAnimation,
|
|
25
|
-
legendHoverLink: this.legendHoverLink,
|
|
26
|
-
stack: this.stack,
|
|
27
|
-
cursor: this.cursor,
|
|
28
|
-
connectNulls: this.connectNulls,
|
|
29
|
-
clipOverflow: this.clipOverflow,
|
|
30
|
-
step: this.step,
|
|
31
|
-
label: this.label,
|
|
32
|
-
itemStyle: this.itemStyle,
|
|
33
|
-
lineStyle: this.lineStyle,
|
|
34
|
-
areaStyle: this.areaStyle,
|
|
35
|
-
emphasis: this.emphasis,
|
|
36
|
-
smooth: this.smooth,
|
|
37
|
-
smoothMonotone: this.smoothMonotone,
|
|
38
|
-
sampling: this.sampling,
|
|
39
|
-
dimensions: this.dimensions,
|
|
40
|
-
encode: this.encode,
|
|
41
|
-
seriesLayoutBy: this.seriesLayoutBy,
|
|
42
|
-
datasetIndex: this.datasetIndex,
|
|
43
|
-
markPoint: this.markPoint,
|
|
44
|
-
markLine: this.markLine,
|
|
45
|
-
markArea: this.markArea,
|
|
46
|
-
zlevel: this.zlevel,
|
|
47
|
-
z: this.z,
|
|
48
|
-
silent: this.silent,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
TdChartSeriesLineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesLineComponent, deps: [{ token: i1.TdChartOptionsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
-
TdChartSeriesLineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.5", type: TdChartSeriesLineComponent, selector: "td-chart-series[td-line]", inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", showSymbol: "showSymbol", showAllSymbol: "showAllSymbol", hoverAnimation: "hoverAnimation", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", connectNulls: "connectNulls", clipOverflow: "clipOverflow", step: "step", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", areaStyle: "areaStyle", emphasis: "emphasis", smooth: "smooth", smoothMonotone: "smoothMonotone", sampling: "sampling", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent" }, providers: [
|
|
54
|
-
{
|
|
55
|
-
provide: TdSeriesDirective,
|
|
56
|
-
useExisting: forwardRef(() => TdChartSeriesLineComponent),
|
|
57
|
-
},
|
|
58
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: TdChartSeriesLineComponent, decorators: [{
|
|
60
|
-
type: Component,
|
|
61
|
-
args: [{
|
|
62
|
-
selector: 'td-chart-series[td-line]',
|
|
63
|
-
template: '',
|
|
64
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
65
|
-
inputs: [
|
|
66
|
-
'config',
|
|
67
|
-
'id',
|
|
68
|
-
'name',
|
|
69
|
-
'color',
|
|
70
|
-
'data',
|
|
71
|
-
'animation',
|
|
72
|
-
'animationThreshold',
|
|
73
|
-
'animationDuration',
|
|
74
|
-
'animationEasing',
|
|
75
|
-
'animationDelay',
|
|
76
|
-
'animationDurationUpdate',
|
|
77
|
-
'animationEasingUpdate',
|
|
78
|
-
'animationDelayUpdate',
|
|
79
|
-
'tooltip',
|
|
80
|
-
],
|
|
81
|
-
providers: [
|
|
82
|
-
{
|
|
83
|
-
provide: TdSeriesDirective,
|
|
84
|
-
useExisting: forwardRef(() => TdChartSeriesLineComponent),
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
}]
|
|
88
|
-
}], ctorParameters: function () { return [{ type: i1.TdChartOptionsService }]; }, propDecorators: { coordinateSystem: [{
|
|
89
|
-
type: Input
|
|
90
|
-
}], xAxisIndex: [{
|
|
91
|
-
type: Input
|
|
92
|
-
}], yAxisIndex: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], polarIndex: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}], symbol: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}], symbolSize: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], symbolRotate: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}], symbolKeepAspect: [{
|
|
103
|
-
type: Input
|
|
104
|
-
}], symbolOffset: [{
|
|
105
|
-
type: Input
|
|
106
|
-
}], showSymbol: [{
|
|
107
|
-
type: Input
|
|
108
|
-
}], showAllSymbol: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], hoverAnimation: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], legendHoverLink: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], stack: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], cursor: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], connectNulls: [{
|
|
119
|
-
type: Input
|
|
120
|
-
}], clipOverflow: [{
|
|
121
|
-
type: Input
|
|
122
|
-
}], step: [{
|
|
123
|
-
type: Input
|
|
124
|
-
}], label: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}], itemStyle: [{
|
|
127
|
-
type: Input
|
|
128
|
-
}], lineStyle: [{
|
|
129
|
-
type: Input
|
|
130
|
-
}], areaStyle: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], emphasis: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], smooth: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], smoothMonotone: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], sampling: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], dimensions: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], encode: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}], seriesLayoutBy: [{
|
|
145
|
-
type: Input
|
|
146
|
-
}], datasetIndex: [{
|
|
147
|
-
type: Input
|
|
148
|
-
}], markPoint: [{
|
|
149
|
-
type: Input
|
|
150
|
-
}], markLine: [{
|
|
151
|
-
type: Input
|
|
152
|
-
}], markArea: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], zlevel: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], z: [{
|
|
157
|
-
type: Input
|
|
158
|
-
}], silent: [{
|
|
159
|
-
type: Input
|
|
160
|
-
}] } });
|
|
161
|
-
|
|
162
|
-
const LINE_MODULE_COMPONENTS = [TdChartSeriesLineComponent];
|
|
163
|
-
class CovalentLineEchartsModule {
|
|
164
|
-
}
|
|
165
|
-
CovalentLineEchartsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentLineEchartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
166
|
-
CovalentLineEchartsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.5", ngImport: i0, type: CovalentLineEchartsModule, declarations: [TdChartSeriesLineComponent], imports: [CommonModule], exports: [TdChartSeriesLineComponent] });
|
|
167
|
-
CovalentLineEchartsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentLineEchartsModule, imports: [CommonModule] });
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.5", ngImport: i0, type: CovalentLineEchartsModule, decorators: [{
|
|
169
|
-
type: NgModule,
|
|
170
|
-
args: [{
|
|
171
|
-
imports: [CommonModule],
|
|
172
|
-
declarations: [LINE_MODULE_COMPONENTS],
|
|
173
|
-
exports: [LINE_MODULE_COMPONENTS],
|
|
174
|
-
}]
|
|
175
|
-
}] });
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Generated bundle index. Do not edit.
|
|
179
|
-
*/
|
|
180
|
-
|
|
181
|
-
export { CovalentLineEchartsModule, LINE_MODULE_COMPONENTS, TdChartSeriesLineComponent };
|
|
182
|
-
//# sourceMappingURL=covalent-echarts-line.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"covalent-echarts-line.mjs","sources":["../../../../libs/angular-echarts/line/src/line.component.ts","../../../../libs/angular-echarts/line/src/line.module.ts","../../../../libs/angular-echarts/line/src/covalent-echarts-line.ts"],"sourcesContent":["import {\n Component,\n Input,\n ChangeDetectionStrategy,\n forwardRef,\n} from '@angular/core';\n\nimport {\n TdChartOptionsService,\n TdCoordinateSystem,\n TdMarkPointSymbol,\n ITdLabel,\n ITdItemStyle,\n ITdLineStyle,\n ITdAreaStyle,\n TdSeriesLayoutBy,\n ITdMarkPoint,\n ITdMarkLine,\n ITdMarkArea,\n ITdEmphasis,\n ITdSeries,\n ITdShadow,\n TdSeriesDirective,\n} from '@covalent/echarts/base';\n\nexport type TdSampling = 'average' | 'max' | 'min' | 'sum';\n\nexport interface ITdLineSeries extends ITdSeries, ITdShadow {\n coordinateSystem?: TdCoordinateSystem;\n xAxisIndex?: number;\n yAxisIndex?: number;\n polarIndex?: number;\n symbol?: TdMarkPointSymbol | string;\n symbolSize?: number | any[] | Function;\n symbolRotate?: number;\n symbolKeepAspect?: boolean;\n symbolOffset?: any[];\n showSymbol?: boolean;\n showAllSymbol?: boolean | 'auto';\n hoverAnimation?: boolean;\n legendHoverLink?: boolean;\n stack?: string;\n cursor?: string;\n connectNulls?: boolean;\n clipOverflow?: boolean;\n step?: string | boolean;\n label?: ITdLabel;\n itemStyle?: ITdItemStyle;\n lineStyle?: ITdLineStyle;\n width?: number;\n opacity?: number;\n areaStyle?: ITdAreaStyle;\n emphasis?: ITdEmphasis;\n smooth?: boolean | number;\n smoothMonotone?: string;\n sampling?: TdSampling;\n dimensions?: any[];\n encode?: any;\n seriesLayoutBy?: TdSeriesLayoutBy;\n datasetIndex?: number;\n data?: any[];\n markPoint?: ITdMarkPoint;\n markLine?: ITdMarkLine;\n markArea?: ITdMarkArea;\n zlevel?: number;\n z?: number;\n silent?: boolean;\n}\n\n@Component({\n selector: 'td-chart-series[td-line]',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: [\n 'config',\n 'id',\n 'name',\n 'color',\n 'data',\n\n 'animation',\n 'animationThreshold',\n 'animationDuration',\n 'animationEasing',\n 'animationDelay',\n 'animationDurationUpdate',\n 'animationEasingUpdate',\n 'animationDelayUpdate',\n 'tooltip',\n ],\n providers: [\n {\n provide: TdSeriesDirective,\n useExisting: forwardRef(() => TdChartSeriesLineComponent),\n },\n ],\n})\nexport class TdChartSeriesLineComponent\n extends TdSeriesDirective\n implements ITdLineSeries\n{\n @Input() coordinateSystem?: TdCoordinateSystem;\n @Input() xAxisIndex?: number;\n @Input() yAxisIndex?: number;\n @Input() polarIndex?: number;\n @Input() symbol?: TdMarkPointSymbol | string;\n @Input() symbolSize?: number | any[] | Function;\n @Input() symbolRotate?: number;\n @Input() symbolKeepAspect?: boolean;\n @Input() symbolOffset?: any[];\n @Input() showSymbol?: boolean;\n @Input() showAllSymbol?: boolean;\n @Input() hoverAnimation?: boolean;\n @Input() legendHoverLink?: boolean;\n @Input() stack?: string;\n @Input() cursor?: string;\n @Input() connectNulls?: boolean;\n @Input() clipOverflow?: boolean;\n @Input() step?: string | boolean;\n @Input() label?: ITdLabel;\n @Input() itemStyle?: ITdItemStyle;\n @Input() lineStyle?: ITdLineStyle;\n @Input() areaStyle?: ITdAreaStyle;\n @Input() emphasis?: ITdEmphasis;\n @Input() smooth?: boolean | number;\n @Input() smoothMonotone?: string;\n @Input() sampling?: TdSampling;\n @Input() dimensions?: any[];\n @Input() encode: any;\n @Input() seriesLayoutBy?: TdSeriesLayoutBy;\n @Input() datasetIndex?: number;\n @Input() markPoint?: ITdMarkPoint;\n @Input() markLine?: ITdMarkLine;\n @Input() markArea?: ITdMarkArea;\n @Input() zlevel?: number;\n @Input() z?: number;\n @Input() silent?: boolean;\n\n constructor(_optionsService: TdChartOptionsService) {\n super('line', _optionsService);\n }\n\n getConfig(): any {\n return {\n coordinateSystem: this.coordinateSystem,\n xAxisIndex: this.xAxisIndex,\n yAxisIndex: this.yAxisIndex,\n polarIndex: this.polarIndex,\n symbol: this.symbol,\n symbolSize: this.symbolSize,\n symbolRotate: this.symbolRotate,\n symbolKeepAspect: this.symbolKeepAspect,\n symbolOffset: this.symbolOffset,\n showSymbol: this.showSymbol,\n showAllSymbol: this.showAllSymbol,\n hoverAnimation: this.hoverAnimation,\n legendHoverLink: this.legendHoverLink,\n stack: this.stack,\n cursor: this.cursor,\n connectNulls: this.connectNulls,\n clipOverflow: this.clipOverflow,\n step: this.step,\n label: this.label,\n itemStyle: this.itemStyle,\n lineStyle: this.lineStyle,\n areaStyle: this.areaStyle,\n emphasis: this.emphasis,\n smooth: this.smooth,\n smoothMonotone: this.smoothMonotone,\n sampling: this.sampling,\n dimensions: this.dimensions,\n encode: this.encode,\n seriesLayoutBy: this.seriesLayoutBy,\n datasetIndex: this.datasetIndex,\n markPoint: this.markPoint,\n markLine: this.markLine,\n markArea: this.markArea,\n zlevel: this.zlevel,\n z: this.z,\n silent: this.silent,\n };\n }\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TdChartSeriesLineComponent } from './line.component';\n\nexport const LINE_MODULE_COMPONENTS: Type<any>[] = [TdChartSeriesLineComponent];\n\n@NgModule({\n imports: [CommonModule],\n declarations: [LINE_MODULE_COMPONENTS],\n exports: [LINE_MODULE_COMPONENTS],\n})\nexport class CovalentLineEchartsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;AAiGM,MAAO,0BACX,SAAQ,iBAAiB,CAAA;AAwCzB,IAAA,WAAA,CAAY,eAAsC,EAAA;AAChD,QAAA,KAAK,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;KAChC;IAED,SAAS,GAAA;QACP,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,IAAI,EAAE,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