@covalent/echarts 4.0.0 → 4.1.1-beta.3
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/README.md +4 -90
- package/bar/README.md +23 -21
- package/bar/bar.component.d.ts +30 -27
- package/bar/bar.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.d.ts +2 -1
- package/bar/package.json +6 -7
- package/bar/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/README.md +26 -26
- package/base/axis/axis.component.d.ts +32 -29
- package/base/axis/x-axis.component.d.ts +3 -0
- package/base/axis/y-axis.component.d.ts +3 -0
- package/base/base.module.d.ts +9 -1
- package/base/chart-options.service.d.ts +3 -0
- package/base/chart.component.d.ts +6 -3
- package/base/covalent-echarts-base.d.ts +2 -2
- package/base/dataset/dataset.component.d.ts +8 -5
- package/base/package.json +6 -7
- package/base/{public-api.d.ts → public_api.d.ts} +0 -0
- package/base/series/series.component.d.ts +18 -15
- package/base/{axis → src/axis}/README.md +19 -19
- package/base/{dataset → src/dataset}/README.md +19 -16
- package/covalent-echarts.d.ts +2 -1
- package/esm2020/bar/bar.component.mjs +135 -0
- package/esm2020/bar/bar.module.mjs +19 -0
- package/esm2020/bar/covalent-echarts-bar.mjs +5 -0
- package/esm2020/bar/public_api.mjs +3 -0
- package/esm2020/base/axis/axis.component.mjs +127 -0
- package/esm2020/base/axis/axis.interface.mjs +2 -0
- package/esm2020/base/axis/x-axis.component.mjs +55 -0
- package/esm2020/base/axis/y-axis.component.mjs +55 -0
- package/esm2020/base/base.module.mjs +35 -0
- package/esm2020/base/base.types.mjs +2 -0
- package/esm2020/base/chart-options.service.mjs +65 -0
- package/esm2020/base/chart.component.mjs +195 -0
- package/esm2020/base/covalent-echarts-base.mjs +5 -0
- package/esm2020/base/dataset/dataset.component.mjs +52 -0
- package/esm2020/base/public_api.mjs +10 -0
- package/esm2020/base/series/series.component.mjs +91 -0
- package/esm2020/base/series/series.interface.mjs +2 -0
- package/esm2020/base/themes/aqua-splash.mjs +487 -0
- package/esm2020/base/themes/california-coast.mjs +460 -0
- package/esm2020/base/themes/hawaiian-sunrise.mjs +460 -0
- package/esm2020/base/themes/passion-flower.mjs +460 -0
- package/esm2020/base/themes/razzleberry-pie.mjs +487 -0
- package/esm2020/base/themes/teradata-classic.mjs +487 -0
- package/{esm2015/base/themes/razzleberry-pie.js → esm2020/base/themes/teradata-default.mjs} +30 -35
- package/esm2020/base/themes/urban-sunrise.mjs +460 -0
- package/esm2020/base/themes/volcanic-eruption.mjs +460 -0
- package/esm2020/base/utils/assign-defined.mjs +25 -0
- package/esm2020/base/utils/echarts.mjs +49 -0
- package/esm2020/base/utils/index.mjs +3 -0
- package/esm2020/covalent-echarts.mjs +5 -0
- package/esm2020/graph/covalent-echarts-graph.mjs +5 -0
- package/esm2020/graph/graph.component.mjs +185 -0
- package/esm2020/graph/graph.module.mjs +21 -0
- package/esm2020/graph/public_api.mjs +3 -0
- package/esm2020/line/covalent-echarts-line.mjs +5 -0
- package/esm2020/line/line.component.mjs +159 -0
- package/esm2020/line/line.module.mjs +19 -0
- package/esm2020/line/public_api.mjs +3 -0
- package/esm2020/map/covalent-echarts-map.mjs +5 -0
- package/esm2020/map/map.component.mjs +132 -0
- package/esm2020/map/map.module.mjs +19 -0
- package/esm2020/map/public_api.mjs +3 -0
- package/esm2020/pie/covalent-echarts-pie.mjs +5 -0
- package/esm2020/pie/pie.component.mjs +127 -0
- package/esm2020/pie/pie.module.mjs +19 -0
- package/esm2020/pie/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/sankey/covalent-echarts-sankey.mjs +5 -0
- package/esm2020/sankey/public_api.mjs +3 -0
- package/esm2020/sankey/sankey.component.mjs +117 -0
- package/esm2020/sankey/sankey.module.mjs +21 -0
- package/esm2020/scatter/covalent-echarts-scatter.mjs +5 -0
- package/esm2020/scatter/public_api.mjs +3 -0
- package/esm2020/scatter/scatter.component.mjs +144 -0
- package/esm2020/scatter/scatter.module.mjs +21 -0
- package/esm2020/toolbox/covalent-echarts-toolbox.mjs +5 -0
- package/esm2020/toolbox/public_api.mjs +3 -0
- package/esm2020/toolbox/toolbox.component.mjs +135 -0
- package/esm2020/toolbox/toolbox.module.mjs +24 -0
- package/esm2020/tooltip/covalent-echarts-tooltip.mjs +5 -0
- package/esm2020/tooltip/public_api.mjs +4 -0
- package/esm2020/tooltip/series-tooltip.component.mjs +102 -0
- package/esm2020/tooltip/tooltip.component.mjs +156 -0
- package/esm2020/tooltip/tooltip.module.mjs +28 -0
- package/esm2020/tree/covalent-echarts-tree.mjs +5 -0
- package/esm2020/tree/public_api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +117 -0
- package/esm2020/tree/tree.module.mjs +19 -0
- package/esm2020/treemap/covalent-echarts-treemap.mjs +5 -0
- package/esm2020/treemap/public_api.mjs +3 -0
- package/esm2020/treemap/treemap.component.mjs +149 -0
- package/esm2020/treemap/treemap.module.mjs +21 -0
- package/esm2020/wordcloud/covalent-echarts-wordcloud.mjs +5 -0
- package/esm2020/wordcloud/public_api.mjs +3 -0
- package/esm2020/wordcloud/wordcloud.component.mjs +92 -0
- package/esm2020/wordcloud/wordcloud.module.mjs +21 -0
- package/fesm2015/covalent-echarts-bar.mjs +158 -0
- package/fesm2015/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2015/{covalent-echarts-base.js → covalent-echarts-base.mjs} +390 -856
- package/fesm2015/covalent-echarts-base.mjs.map +1 -0
- package/fesm2015/covalent-echarts-graph.mjs +210 -0
- package/fesm2015/covalent-echarts-graph.mjs.map +1 -0
- package/fesm2015/covalent-echarts-line.mjs +182 -0
- package/fesm2015/covalent-echarts-line.mjs.map +1 -0
- package/fesm2015/covalent-echarts-map.mjs +155 -0
- package/fesm2015/covalent-echarts-map.mjs.map +1 -0
- package/fesm2015/covalent-echarts-pie.mjs +150 -0
- package/fesm2015/covalent-echarts-pie.mjs.map +1 -0
- package/fesm2015/covalent-echarts-sankey.mjs +142 -0
- package/fesm2015/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2015/covalent-echarts-scatter.mjs +169 -0
- package/fesm2015/covalent-echarts-scatter.mjs.map +1 -0
- package/fesm2015/covalent-echarts-toolbox.mjs +158 -0
- package/fesm2015/covalent-echarts-toolbox.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tooltip.mjs +283 -0
- package/fesm2015/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2015/covalent-echarts-tree.mjs +140 -0
- package/fesm2015/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2015/covalent-echarts-treemap.mjs +174 -0
- package/fesm2015/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs +117 -0
- package/fesm2015/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2015/covalent-echarts.mjs +4 -0
- package/fesm2015/covalent-echarts.mjs.map +1 -0
- package/fesm2020/covalent-echarts-bar.mjs +158 -0
- package/fesm2020/covalent-echarts-bar.mjs.map +1 -0
- package/fesm2020/covalent-echarts-base.mjs +4930 -0
- package/fesm2020/covalent-echarts-base.mjs.map +1 -0
- package/fesm2020/covalent-echarts-graph.mjs +210 -0
- package/fesm2020/covalent-echarts-graph.mjs.map +1 -0
- package/fesm2020/covalent-echarts-line.mjs +182 -0
- package/fesm2020/covalent-echarts-line.mjs.map +1 -0
- package/fesm2020/covalent-echarts-map.mjs +155 -0
- package/fesm2020/covalent-echarts-map.mjs.map +1 -0
- package/fesm2020/covalent-echarts-pie.mjs +150 -0
- package/fesm2020/covalent-echarts-pie.mjs.map +1 -0
- package/fesm2020/covalent-echarts-sankey.mjs +142 -0
- package/fesm2020/covalent-echarts-sankey.mjs.map +1 -0
- package/fesm2020/covalent-echarts-scatter.mjs +169 -0
- package/fesm2020/covalent-echarts-scatter.mjs.map +1 -0
- package/fesm2020/covalent-echarts-toolbox.mjs +163 -0
- package/fesm2020/covalent-echarts-toolbox.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tooltip.mjs +283 -0
- package/fesm2020/covalent-echarts-tooltip.mjs.map +1 -0
- package/fesm2020/covalent-echarts-tree.mjs +140 -0
- package/fesm2020/covalent-echarts-tree.mjs.map +1 -0
- package/fesm2020/covalent-echarts-treemap.mjs +174 -0
- package/fesm2020/covalent-echarts-treemap.mjs.map +1 -0
- package/fesm2020/covalent-echarts-wordcloud.mjs +117 -0
- package/fesm2020/covalent-echarts-wordcloud.mjs.map +1 -0
- package/fesm2020/covalent-echarts.mjs +4 -0
- package/fesm2020/covalent-echarts.mjs.map +1 -0
- package/graph/README.md +21 -19
- package/graph/covalent-echarts-graph.d.ts +2 -1
- package/graph/graph.component.d.ts +63 -60
- package/graph/graph.module.d.ts +6 -1
- package/graph/package.json +6 -7
- package/graph/{public-api.d.ts → public_api.d.ts} +0 -0
- package/line/README.md +19 -21
- package/line/covalent-echarts-line.d.ts +2 -1
- package/line/line.component.d.ts +38 -35
- package/line/line.module.d.ts +6 -1
- package/line/package.json +6 -7
- package/line/{public-api.d.ts → public_api.d.ts} +0 -0
- package/map/README.md +19 -17
- package/map/covalent-echarts-map.d.ts +2 -1
- package/map/map.component.d.ts +30 -27
- package/map/map.module.d.ts +6 -1
- package/map/package.json +6 -7
- package/map/{public-api.d.ts → public_api.d.ts} +0 -0
- package/package.json +130 -31
- package/pie/README.md +17 -15
- package/pie/covalent-echarts-pie.d.ts +2 -1
- package/pie/package.json +6 -7
- package/pie/pie.component.d.ts +29 -26
- package/pie/pie.module.d.ts +6 -1
- package/pie/{public-api.d.ts → public_api.d.ts} +0 -0
- package/{index.d.ts → public_api.d.ts} +0 -0
- package/sankey/README.md +22 -20
- package/sankey/covalent-echarts-sankey.d.ts +2 -1
- package/sankey/package.json +6 -7
- package/sankey/{public-api.d.ts → public_api.d.ts} +0 -0
- package/sankey/sankey.component.d.ts +25 -22
- package/sankey/sankey.module.d.ts +6 -1
- package/scatter/README.md +19 -21
- package/scatter/covalent-echarts-scatter.d.ts +2 -1
- package/scatter/package.json +6 -7
- package/scatter/{public-api.d.ts → public_api.d.ts} +0 -0
- package/scatter/scatter.component.d.ts +34 -31
- package/scatter/scatter.module.d.ts +6 -1
- package/toolbox/README.md +12 -11
- package/toolbox/covalent-echarts-toolbox.d.ts +2 -1
- package/toolbox/package.json +6 -7
- package/toolbox/{public-api.d.ts → public_api.d.ts} +0 -0
- package/toolbox/toolbox.component.d.ts +15 -10
- package/toolbox/toolbox.module.d.ts +6 -1
- package/tooltip/README.md +30 -26
- package/tooltip/covalent-echarts-tooltip.d.ts +2 -1
- package/tooltip/package.json +6 -7
- package/tooltip/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tooltip/series-tooltip.component.d.ts +14 -9
- package/tooltip/tooltip.component.d.ts +21 -16
- package/tooltip/tooltip.module.d.ts +7 -1
- package/tree/README.md +20 -18
- package/tree/covalent-echarts-tree.d.ts +2 -1
- package/tree/package.json +6 -7
- package/tree/{public-api.d.ts → public_api.d.ts} +0 -0
- package/tree/tree.component.d.ts +27 -24
- package/tree/tree.module.d.ts +6 -1
- package/treemap/README.md +23 -21
- package/treemap/covalent-echarts-treemap.d.ts +2 -1
- package/treemap/package.json +6 -7
- package/treemap/{public-api.d.ts → public_api.d.ts} +0 -0
- package/treemap/treemap.component.d.ts +40 -37
- package/treemap/treemap.module.d.ts +6 -1
- package/wordcloud/README.md +25 -23
- package/wordcloud/covalent-echarts-wordcloud.d.ts +2 -1
- package/wordcloud/package.json +6 -7
- package/wordcloud/{public-api.d.ts → public_api.d.ts} +0 -0
- package/wordcloud/wordcloud.component.d.ts +17 -14
- package/wordcloud/wordcloud.module.d.ts +6 -1
- package/bar/covalent-echarts-bar.metadata.json +0 -1
- package/bar/index.d.ts +0 -1
- package/base/chart.component.scss +0 -4
- package/base/covalent-echarts-base.metadata.json +0 -1
- package/base/index.d.ts +0 -1
- package/bundles/covalent-echarts-bar.umd.js +0 -588
- package/bundles/covalent-echarts-bar.umd.js.map +0 -1
- package/bundles/covalent-echarts-bar.umd.min.js +0 -16
- package/bundles/covalent-echarts-bar.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-base.umd.js +0 -5750
- package/bundles/covalent-echarts-base.umd.js.map +0 -1
- package/bundles/covalent-echarts-base.umd.min.js +0 -16
- package/bundles/covalent-echarts-base.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-graph.umd.js +0 -745
- package/bundles/covalent-echarts-graph.umd.js.map +0 -1
- package/bundles/covalent-echarts-graph.umd.min.js +0 -16
- package/bundles/covalent-echarts-graph.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-line.umd.js +0 -638
- package/bundles/covalent-echarts-line.umd.js.map +0 -1
- package/bundles/covalent-echarts-line.umd.min.js +0 -16
- package/bundles/covalent-echarts-line.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-map.umd.js +0 -600
- package/bundles/covalent-echarts-map.umd.js.map +0 -1
- package/bundles/covalent-echarts-map.umd.min.js +0 -16
- package/bundles/covalent-echarts-map.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-pie.umd.js +0 -574
- package/bundles/covalent-echarts-pie.umd.js.map +0 -1
- package/bundles/covalent-echarts-pie.umd.min.js +0 -16
- package/bundles/covalent-echarts-pie.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-sankey.umd.js +0 -570
- package/bundles/covalent-echarts-sankey.umd.js.map +0 -1
- package/bundles/covalent-echarts-sankey.umd.min.js +0 -16
- package/bundles/covalent-echarts-sankey.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-scatter.umd.js +0 -610
- package/bundles/covalent-echarts-scatter.umd.js.map +0 -1
- package/bundles/covalent-echarts-scatter.umd.min.js +0 -16
- package/bundles/covalent-echarts-scatter.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-toolbox.umd.js +0 -460
- package/bundles/covalent-echarts-toolbox.umd.js.map +0 -1
- package/bundles/covalent-echarts-toolbox.umd.min.js +0 -2
- package/bundles/covalent-echarts-toolbox.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-tooltip.umd.js +0 -476
- package/bundles/covalent-echarts-tooltip.umd.js.map +0 -1
- package/bundles/covalent-echarts-tooltip.umd.min.js +0 -2
- package/bundles/covalent-echarts-tooltip.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-tree.umd.js +0 -584
- package/bundles/covalent-echarts-tree.umd.js.map +0 -1
- package/bundles/covalent-echarts-tree.umd.min.js +0 -16
- package/bundles/covalent-echarts-tree.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-treemap.umd.js +0 -728
- package/bundles/covalent-echarts-treemap.umd.js.map +0 -1
- package/bundles/covalent-echarts-treemap.umd.min.js +0 -16
- package/bundles/covalent-echarts-treemap.umd.min.js.map +0 -1
- package/bundles/covalent-echarts-wordcloud.umd.js +0 -521
- package/bundles/covalent-echarts-wordcloud.umd.js.map +0 -1
- package/bundles/covalent-echarts-wordcloud.umd.min.js +0 -16
- package/bundles/covalent-echarts-wordcloud.umd.min.js.map +0 -1
- package/bundles/covalent-echarts.umd.js +0 -9
- package/bundles/covalent-echarts.umd.js.map +0 -1
- package/bundles/covalent-echarts.umd.min.js +0 -2
- package/bundles/covalent-echarts.umd.min.js.map +0 -1
- package/covalent-echarts.metadata.json +0 -1
- package/esm2015/bar/bar.component.js +0 -241
- package/esm2015/bar/bar.module.js +0 -21
- package/esm2015/bar/covalent-echarts-bar.js +0 -10
- package/esm2015/bar/index.js +0 -7
- package/esm2015/bar/public-api.js +0 -8
- package/esm2015/base/axis/axis.component.js +0 -209
- package/esm2015/base/axis/axis.interface.js +0 -324
- package/esm2015/base/axis/x-axis.component.js +0 -67
- package/esm2015/base/axis/y-axis.component.js +0 -67
- package/esm2015/base/base.module.js +0 -31
- package/esm2015/base/base.types.js +0 -278
- package/esm2015/base/chart-options.service.js +0 -115
- package/esm2015/base/chart.component.js +0 -354
- package/esm2015/base/covalent-echarts-base.js +0 -11
- package/esm2015/base/dataset/dataset.component.js +0 -93
- package/esm2015/base/index.js +0 -7
- package/esm2015/base/public-api.js +0 -15
- package/esm2015/base/series/series.component.js +0 -187
- package/esm2015/base/series/series.interface.js +0 -178
- package/esm2015/base/themes/aqua-splash.js +0 -465
- package/esm2015/base/themes/california-coast.js +0 -465
- package/esm2015/base/themes/hawaiian-sunrise.js +0 -465
- package/esm2015/base/themes/passion-flower.js +0 -465
- package/esm2015/base/themes/teradata-classic.js +0 -465
- package/esm2015/base/themes/teradata-default.js +0 -465
- package/esm2015/base/themes/urban-sunrise.js +0 -465
- package/esm2015/base/themes/volcanic-eruption.js +0 -465
- package/esm2015/base/utils/assign-defined.js +0 -37
- package/esm2015/base/utils/echarts.js +0 -60
- package/esm2015/base/utils/index.js +0 -8
- package/esm2015/covalent-echarts.js +0 -10
- package/esm2015/graph/covalent-echarts-graph.js +0 -10
- package/esm2015/graph/graph.component.js +0 -398
- package/esm2015/graph/graph.module.js +0 -21
- package/esm2015/graph/index.js +0 -7
- package/esm2015/graph/public-api.js +0 -8
- package/esm2015/index.js +0 -7
- package/esm2015/line/covalent-echarts-line.js +0 -10
- package/esm2015/line/index.js +0 -7
- package/esm2015/line/line.component.js +0 -291
- package/esm2015/line/line.module.js +0 -21
- package/esm2015/line/public-api.js +0 -8
- package/esm2015/map/covalent-echarts-map.js +0 -10
- package/esm2015/map/index.js +0 -7
- package/esm2015/map/map.component.js +0 -253
- package/esm2015/map/map.module.js +0 -21
- package/esm2015/map/public-api.js +0 -8
- package/esm2015/pie/covalent-echarts-pie.js +0 -10
- package/esm2015/pie/index.js +0 -7
- package/esm2015/pie/pie.component.js +0 -227
- package/esm2015/pie/pie.module.js +0 -21
- package/esm2015/pie/public-api.js +0 -8
- package/esm2015/sankey/covalent-echarts-sankey.js +0 -10
- package/esm2015/sankey/index.js +0 -7
- package/esm2015/sankey/public-api.js +0 -8
- package/esm2015/sankey/sankey.component.js +0 -223
- package/esm2015/sankey/sankey.module.js +0 -21
- package/esm2015/scatter/covalent-echarts-scatter.js +0 -10
- package/esm2015/scatter/index.js +0 -7
- package/esm2015/scatter/public-api.js +0 -8
- package/esm2015/scatter/scatter.component.js +0 -263
- package/esm2015/scatter/scatter.module.js +0 -21
- package/esm2015/toolbox/covalent-echarts-toolbox.js +0 -10
- package/esm2015/toolbox/index.js +0 -7
- package/esm2015/toolbox/public-api.js +0 -8
- package/esm2015/toolbox/toolbox.component.js +0 -405
- package/esm2015/toolbox/toolbox.module.js +0 -21
- package/esm2015/tooltip/covalent-echarts-tooltip.js +0 -10
- package/esm2015/tooltip/index.js +0 -7
- package/esm2015/tooltip/public-api.js +0 -9
- package/esm2015/tooltip/series-tooltip.component.js +0 -170
- package/esm2015/tooltip/tooltip.component.js +0 -246
- package/esm2015/tooltip/tooltip.module.js +0 -26
- package/esm2015/tree/covalent-echarts-tree.js +0 -10
- package/esm2015/tree/index.js +0 -7
- package/esm2015/tree/public-api.js +0 -8
- package/esm2015/tree/tree.component.js +0 -237
- package/esm2015/tree/tree.module.js +0 -21
- package/esm2015/treemap/covalent-echarts-treemap.js +0 -10
- package/esm2015/treemap/index.js +0 -7
- package/esm2015/treemap/public-api.js +0 -8
- package/esm2015/treemap/treemap.component.js +0 -380
- package/esm2015/treemap/treemap.module.js +0 -21
- package/esm2015/wordcloud/covalent-echarts-wordcloud.js +0 -10
- package/esm2015/wordcloud/index.js +0 -7
- package/esm2015/wordcloud/public-api.js +0 -8
- package/esm2015/wordcloud/wordcloud.component.js +0 -174
- package/esm2015/wordcloud/wordcloud.module.js +0 -21
- package/fesm2015/covalent-echarts-bar.js +0 -281
- package/fesm2015/covalent-echarts-bar.js.map +0 -1
- package/fesm2015/covalent-echarts-base.js.map +0 -1
- package/fesm2015/covalent-echarts-graph.js +0 -438
- package/fesm2015/covalent-echarts-graph.js.map +0 -1
- package/fesm2015/covalent-echarts-line.js +0 -331
- package/fesm2015/covalent-echarts-line.js.map +0 -1
- package/fesm2015/covalent-echarts-map.js +0 -293
- package/fesm2015/covalent-echarts-map.js.map +0 -1
- package/fesm2015/covalent-echarts-pie.js +0 -267
- package/fesm2015/covalent-echarts-pie.js.map +0 -1
- package/fesm2015/covalent-echarts-sankey.js +0 -263
- package/fesm2015/covalent-echarts-sankey.js.map +0 -1
- package/fesm2015/covalent-echarts-scatter.js +0 -303
- package/fesm2015/covalent-echarts-scatter.js.map +0 -1
- package/fesm2015/covalent-echarts-toolbox.js +0 -445
- package/fesm2015/covalent-echarts-toolbox.js.map +0 -1
- package/fesm2015/covalent-echarts-tooltip.js +0 -457
- package/fesm2015/covalent-echarts-tooltip.js.map +0 -1
- package/fesm2015/covalent-echarts-tree.js +0 -277
- package/fesm2015/covalent-echarts-tree.js.map +0 -1
- package/fesm2015/covalent-echarts-treemap.js +0 -420
- package/fesm2015/covalent-echarts-treemap.js.map +0 -1
- package/fesm2015/covalent-echarts-wordcloud.js +0 -214
- package/fesm2015/covalent-echarts-wordcloud.js.map +0 -1
- package/fesm2015/covalent-echarts.js +0 -12
- package/fesm2015/covalent-echarts.js.map +0 -1
- package/graph/covalent-echarts-graph.metadata.json +0 -1
- package/graph/index.d.ts +0 -1
- package/line/covalent-echarts-line.metadata.json +0 -1
- package/line/index.d.ts +0 -1
- package/map/covalent-echarts-map.metadata.json +0 -1
- package/map/index.d.ts +0 -1
- package/pie/covalent-echarts-pie.metadata.json +0 -1
- package/pie/index.d.ts +0 -1
- package/sankey/covalent-echarts-sankey.metadata.json +0 -1
- package/sankey/index.d.ts +0 -1
- package/scatter/covalent-echarts-scatter.metadata.json +0 -1
- package/scatter/index.d.ts +0 -1
- package/toolbox/covalent-echarts-toolbox.metadata.json +0 -1
- package/toolbox/index.d.ts +0 -1
- package/tooltip/covalent-echarts-tooltip.metadata.json +0 -1
- package/tooltip/index.d.ts +0 -1
- package/tree/covalent-echarts-tree.metadata.json +0 -1
- package/tree/index.d.ts +0 -1
- package/treemap/covalent-echarts-treemap.metadata.json +0 -1
- package/treemap/index.d.ts +0 -1
- package/wordcloud/covalent-echarts-wordcloud.metadata.json +0 -1
- package/wordcloud/index.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,93 +1,7 @@
|
|
|
1
|
-
#
|
|
1
|
+
# angular-echarts
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Running unit tests
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Covalent Echarts is an Angular library built by Teradata with the goal of exposing the powerful Echarts APIs in Angular best practices and standards. Covalent Echarts also includes ease of use features such as auto resizing, event outputs, etc.
|
|
10
|
-
|
|
11
|
-
The Covalent UI Platform is not required to use Covalent Echarts.
|
|
12
|
-
|
|
13
|
-
### Why Canvas?
|
|
14
|
-
|
|
15
|
-
Teradata customers work in massive datasets, the largest on the planet. SVG charts such as D3.js are great for flexibility and customization, but aren't nearly as effective for realtime data and big data. Covalent Echarts removes the complexity in customizing canvas charts building on the incredibly powerful and flexible Echarts APIs, which have provided just about every customization you can imagine.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## Installing Covalent Echarts
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npm install --save echarts
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
npm install --save @covalent/echarts
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
To test (only for testing!) the latest changes from develop, install the nightly build:
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
npm install --save https://github.com/Teradata/covalent-echarts-nightly.git
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Setup
|
|
35
|
-
|
|
36
|
-
Import the [CovalentBaseEchartsModule] in your NgModule:
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
import { CovalentBaseEchartsModule } from '@covalent/echarts/base';
|
|
40
|
-
import { CovalentBarEchartsModule } from '@covalent/echarts/bar';
|
|
41
|
-
import { CovalentTooltipEchartsModule } from '@covalent/echarts/tooltip';
|
|
42
|
-
@NgModule({
|
|
43
|
-
imports: [
|
|
44
|
-
CovalentBaseEchartsModule,
|
|
45
|
-
CovalentBarEchartsModule,
|
|
46
|
-
CovalentTooltipEchartsModule,
|
|
47
|
-
...
|
|
48
|
-
],
|
|
49
|
-
...
|
|
50
|
-
})
|
|
51
|
-
export class MyModule {}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Usage
|
|
55
|
-
|
|
56
|
-
Basic Example:
|
|
57
|
-
|
|
58
|
-
```html
|
|
59
|
-
<td-chart [style.height.px]="300">
|
|
60
|
-
<td-chart-tooltip [trigger]="'item'"
|
|
61
|
-
[textStyle]="{ color: '#818181' }"
|
|
62
|
-
[backgroundColor]="'#ffffff'">
|
|
63
|
-
<ng-template let-params let-ticket="ticket" tdTooltipFormatter>
|
|
64
|
-
<ng-container *ngIf="params">
|
|
65
|
-
<div layout="row" layout-align="start center">
|
|
66
|
-
<mat-icon>
|
|
67
|
-
<span [style.color]="params.color">people</span>
|
|
68
|
-
</mat-icon>
|
|
69
|
-
<span class="mat-caption pad-left-sm">
|
|
70
|
-
{{params.seriesName + ': ' + params.value}}
|
|
71
|
-
</span>
|
|
72
|
-
</div>
|
|
73
|
-
</ng-container>
|
|
74
|
-
</ng-template>
|
|
75
|
-
</td-chart-tooltip>
|
|
76
|
-
<td-chart-x-axis [show]="true"
|
|
77
|
-
[position]="'bottom'"
|
|
78
|
-
[type]="'category'"
|
|
79
|
-
[data]="['Electronics', 'Toys', 'Grocery', 'Appliances', 'Automotive', 'Sports']"
|
|
80
|
-
[boundaryGap]="true">
|
|
81
|
-
</td-chart-x-axis>
|
|
82
|
-
<td-chart-y-axis [show]="true"
|
|
83
|
-
[type]="'value'"
|
|
84
|
-
[position]="'right'"
|
|
85
|
-
[max]="200">
|
|
86
|
-
</td-chart-y-axis>
|
|
87
|
-
<td-chart-series td-bar
|
|
88
|
-
[data]="[150, 130, 150, 120, 150, 120]"
|
|
89
|
-
[name]="'Today'"
|
|
90
|
-
[color]="'#F2724B'">
|
|
91
|
-
</td-chart-series>
|
|
92
|
-
</td-chart>
|
|
93
|
-
```
|
|
7
|
+
Run `nx test angular-echarts` to execute the unit tests.
|
package/bar/README.md
CHANGED
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
12
|
|
|
13
13
|
There are also lots of property inputs like:
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
- id?: string
|
|
16
|
+
- It can be used to refer the component in option or API.
|
|
17
|
+
- name?: string
|
|
18
|
+
- Series name used for displaying in tooltip and filtering with legend.
|
|
19
|
+
- color?: any
|
|
20
|
+
- Global color for the series.
|
|
21
|
+
- data?: any[]
|
|
22
|
+
- Data array of series.
|
|
23
23
|
|
|
24
24
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-bar)
|
|
25
25
|
|
|
@@ -47,17 +47,19 @@ Basic Example:
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<td-chart>
|
|
50
|
-
<td-chart-x-axis
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
<td-chart-x-axis
|
|
51
|
+
[show]="true"
|
|
52
|
+
[type]="'category'"
|
|
53
|
+
[data]="['Electronics', 'Toys', 'Grocery', 'Appliances', 'Automotive', 'Sports']"
|
|
54
|
+
>
|
|
53
55
|
</td-chart-x-axis>
|
|
54
|
-
<td-chart-y-axis [show]="true"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
<td-chart-y-axis [show]="true" [type]="'value'"> </td-chart-y-axis>
|
|
57
|
+
<td-chart-series
|
|
58
|
+
td-bar
|
|
59
|
+
[name]="'name'"
|
|
60
|
+
[data]="[150, 130, 150, 120, 150, 120]"
|
|
61
|
+
[color]="'#F2724B'"
|
|
62
|
+
>
|
|
61
63
|
</td-chart-series>
|
|
62
64
|
</td-chart>
|
|
63
65
|
```
|
package/bar/bar.component.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TdChartOptionsService, TdCoordinateSystem, ITdItemStyle, ITdEmphasis, TdSeriesLayoutBy, ITdMarkPoint, ITdMarkLine, ITdMarkArea, ITdSeries, ITdLabel, TdProgressiveChunkMode, TdSeriesDirective } from '@covalent/echarts/base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export interface ITdBarSeries extends ITdSeries {
|
|
3
4
|
legendHoverLink?: boolean;
|
|
4
5
|
coordinateSystem?: TdCoordinateSystem;
|
|
@@ -32,34 +33,36 @@ export interface ITdBarSeries extends ITdSeries {
|
|
|
32
33
|
silent?: boolean;
|
|
33
34
|
}
|
|
34
35
|
export declare class TdChartSeriesBarComponent extends TdSeriesDirective implements ITdBarSeries {
|
|
35
|
-
coordinateSystem
|
|
36
|
-
xAxisIndex
|
|
37
|
-
yAxisIndex
|
|
38
|
-
legendHoverLink
|
|
39
|
-
stack
|
|
40
|
-
cursor
|
|
41
|
-
label
|
|
42
|
-
itemStyle
|
|
43
|
-
emphasis
|
|
44
|
-
barWidth
|
|
45
|
-
barMaxWidth
|
|
46
|
-
barMinHeight
|
|
47
|
-
barGap
|
|
48
|
-
barCategoryGap
|
|
49
|
-
large
|
|
50
|
-
largeThreshold
|
|
51
|
-
progressive
|
|
52
|
-
progressiveThreshold
|
|
53
|
-
progressiveChunkMode
|
|
54
|
-
dimensions
|
|
36
|
+
coordinateSystem?: TdCoordinateSystem;
|
|
37
|
+
xAxisIndex?: number;
|
|
38
|
+
yAxisIndex?: number;
|
|
39
|
+
legendHoverLink?: boolean;
|
|
40
|
+
stack?: string;
|
|
41
|
+
cursor?: string;
|
|
42
|
+
label?: any;
|
|
43
|
+
itemStyle?: ITdItemStyle;
|
|
44
|
+
emphasis?: ITdEmphasis;
|
|
45
|
+
barWidth?: number;
|
|
46
|
+
barMaxWidth?: number;
|
|
47
|
+
barMinHeight?: number;
|
|
48
|
+
barGap?: string;
|
|
49
|
+
barCategoryGap?: string;
|
|
50
|
+
large?: boolean;
|
|
51
|
+
largeThreshold?: number;
|
|
52
|
+
progressive?: number;
|
|
53
|
+
progressiveThreshold?: number;
|
|
54
|
+
progressiveChunkMode?: TdProgressiveChunkMode;
|
|
55
|
+
dimensions?: any[];
|
|
55
56
|
encode: any;
|
|
56
|
-
seriesLayoutBy
|
|
57
|
-
datasetIndex
|
|
58
|
-
markPoint
|
|
59
|
-
markLine
|
|
60
|
-
markArea
|
|
61
|
-
zlevel
|
|
62
|
-
z
|
|
57
|
+
seriesLayoutBy?: TdSeriesLayoutBy;
|
|
58
|
+
datasetIndex?: number;
|
|
59
|
+
markPoint?: ITdMarkPoint;
|
|
60
|
+
markLine?: ITdMarkLine;
|
|
61
|
+
markArea?: ITdMarkArea;
|
|
62
|
+
zlevel?: number;
|
|
63
|
+
z?: number;
|
|
63
64
|
constructor(_optionsService: TdChartOptionsService);
|
|
64
65
|
getConfig(): any;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesBarComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesBarComponent, "td-chart-series[td-bar]", never, { "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"; "legendHoverLink": "legendHoverLink"; "stack": "stack"; "cursor": "cursor"; "label": "label"; "itemStyle": "itemStyle"; "emphasis": "emphasis"; "barWidth": "barWidth"; "barMaxWidth": "barMaxWidth"; "barMinHeight": "barMinHeight"; "barGap": "barGap"; "barCategoryGap": "barCategoryGap"; "large": "large"; "largeThreshold": "largeThreshold"; "progressive": "progressive"; "progressiveThreshold": "progressiveThreshold"; "progressiveChunkMode": "progressiveChunkMode"; "dimensions": "dimensions"; "encode": "encode"; "seriesLayoutBy": "seriesLayoutBy"; "datasetIndex": "datasetIndex"; "markPoint": "markPoint"; "markLine": "markLine"; "markArea": "markArea"; "zlevel": "zlevel"; "z": "z"; }, {}, never, never>;
|
|
65
68
|
}
|
package/bar/bar.module.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./bar.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
3
5
|
export declare const BAR_MODULE_COMPONENTS: Type<any>[];
|
|
4
6
|
export declare class CovalentBarEchartsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBarEchartsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBarEchartsModule, [typeof i1.TdChartSeriesBarComponent], [typeof i2.CommonModule], [typeof i1.TdChartSeriesBarComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBarEchartsModule>;
|
|
5
10
|
}
|
package/bar/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/covalent-echarts-bar.
|
|
2
|
+
"module": "../fesm2015/covalent-echarts-bar.mjs",
|
|
3
|
+
"es2020": "../fesm2020/covalent-echarts-bar.mjs",
|
|
4
|
+
"esm2020": "../esm2020/bar/covalent-echarts-bar.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/covalent-echarts-bar.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/covalent-echarts-bar.mjs",
|
|
7
7
|
"typings": "covalent-echarts-bar.d.ts",
|
|
8
|
-
"metadata": "covalent-echarts-bar.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@covalent/echarts/bar"
|
|
11
|
-
}
|
|
10
|
+
}
|
|
File without changes
|
package/base/README.md
CHANGED
|
@@ -6,27 +6,25 @@
|
|
|
6
6
|
|
|
7
7
|
#### Inputs
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
- config?: any
|
|
10
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
11
|
+
- Note: [config] input properties will override input values
|
|
12
|
+
- themeName?: string
|
|
13
|
+
- theme to be applied into chart instance
|
|
14
|
+
- renderer?: 'svg' | 'canvas'
|
|
15
|
+
- sets the rendering mode for the chart.
|
|
16
|
+
- defaults to 'canvas'
|
|
17
|
+
- group?: string
|
|
18
|
+
- group name in which the chart instance will be connected to
|
|
20
19
|
|
|
21
20
|
#### Outputs
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
- chartClick
|
|
23
|
+
- event thrown when a chart element has been clicked.
|
|
24
|
+
- chartDblclick
|
|
25
|
+
- event thrown when a chart element has been double clicked.
|
|
26
|
+
- chartContextmenu
|
|
27
|
+
- event thrown when a chart element has been right-clicked.
|
|
30
28
|
|
|
31
29
|
## Setup
|
|
32
30
|
|
|
@@ -47,13 +45,15 @@ export class MyModule {}
|
|
|
47
45
|
## Usage
|
|
48
46
|
|
|
49
47
|
```html
|
|
50
|
-
<td-chart
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
48
|
+
<td-chart
|
|
49
|
+
[style.height.px]="300"
|
|
50
|
+
[config]="{...}"
|
|
51
|
+
[themeName]="'light'"
|
|
52
|
+
[renderer]="'canvas'"
|
|
53
|
+
[group]="'group1'"
|
|
54
|
+
(chartClick)="doSomething()"
|
|
55
|
+
(chartDblclick)="doSomething()"
|
|
56
|
+
(chartContextmenu)="doSomething()"
|
|
57
|
+
>
|
|
58
58
|
</td-chart>
|
|
59
59
|
```
|
|
@@ -1,45 +1,48 @@
|
|
|
1
1
|
import { OnChanges, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
3
|
import { ITdAxisLine, ITdAxisLabel, ITdAxisTick, ITdSplitLine, ITdSplitArea, ITdAxisPointer, TdAxisType, TdNameLocation, TdXAxisPosition, TdYAxisPosition } from './axis.interface';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare abstract class TdChartAxisDirective implements OnChanges, OnInit, OnDestroy {
|
|
5
6
|
private _axisOption;
|
|
6
7
|
private _optionsService;
|
|
7
8
|
private _state;
|
|
8
9
|
config: any;
|
|
9
|
-
id
|
|
10
|
-
show
|
|
11
|
-
gridIndex
|
|
12
|
-
offset
|
|
10
|
+
id?: string;
|
|
11
|
+
show?: boolean;
|
|
12
|
+
gridIndex?: number;
|
|
13
|
+
offset?: number;
|
|
13
14
|
abstract position: TdXAxisPosition | TdYAxisPosition;
|
|
14
|
-
type
|
|
15
|
-
name
|
|
16
|
-
nameLocation
|
|
17
|
-
nameTextStyle
|
|
18
|
-
nameGap
|
|
19
|
-
nameRotate
|
|
20
|
-
inverse
|
|
21
|
-
boundaryGap
|
|
22
|
-
min
|
|
23
|
-
max
|
|
24
|
-
scale
|
|
25
|
-
minInterval
|
|
26
|
-
interval
|
|
27
|
-
logBase
|
|
28
|
-
silent
|
|
29
|
-
triggerEvent
|
|
30
|
-
axisLine
|
|
31
|
-
axisTick
|
|
32
|
-
axisLabel
|
|
33
|
-
splitLine
|
|
34
|
-
splitArea
|
|
35
|
-
data
|
|
36
|
-
axisPointer
|
|
37
|
-
zlevel
|
|
38
|
-
z
|
|
15
|
+
type?: TdAxisType;
|
|
16
|
+
name?: string;
|
|
17
|
+
nameLocation?: TdNameLocation;
|
|
18
|
+
nameTextStyle?: any;
|
|
19
|
+
nameGap?: number;
|
|
20
|
+
nameRotate?: number;
|
|
21
|
+
inverse?: boolean;
|
|
22
|
+
boundaryGap?: boolean | string[];
|
|
23
|
+
min?: string | number;
|
|
24
|
+
max?: string | number;
|
|
25
|
+
scale?: boolean;
|
|
26
|
+
minInterval?: number;
|
|
27
|
+
interval?: number;
|
|
28
|
+
logBase?: number;
|
|
29
|
+
silent?: boolean;
|
|
30
|
+
triggerEvent?: boolean;
|
|
31
|
+
axisLine?: ITdAxisLine;
|
|
32
|
+
axisTick?: ITdAxisTick;
|
|
33
|
+
axisLabel?: ITdAxisLabel;
|
|
34
|
+
splitLine?: ITdSplitLine;
|
|
35
|
+
splitArea?: ITdSplitArea;
|
|
36
|
+
data?: any;
|
|
37
|
+
axisPointer?: ITdAxisPointer;
|
|
38
|
+
zlevel?: number;
|
|
39
|
+
z?: number;
|
|
39
40
|
constructor(_axisOption: string, _optionsService: TdChartOptionsService);
|
|
40
41
|
ngOnInit(): void;
|
|
41
42
|
ngOnChanges(): void;
|
|
42
43
|
ngOnDestroy(): void;
|
|
43
44
|
private _setOptions;
|
|
44
45
|
private _removeOption;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartAxisDirective, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartAxisDirective, never, never, { "config": "config"; "id": "id"; "show": "show"; "gridIndex": "gridIndex"; "offset": "offset"; "type": "type"; "name": "name"; "nameLocation": "nameLocation"; "nameTextStyle": "nameTextStyle"; "nameGap": "nameGap"; "nameRotate": "nameRotate"; "inverse": "inverse"; "boundaryGap": "boundaryGap"; "min": "min"; "max": "max"; "scale": "scale"; "minInterval": "minInterval"; "interval": "interval"; "logBase": "logBase"; "silent": "silent"; "triggerEvent": "triggerEvent"; "axisLine": "axisLine"; "axisTick": "axisTick"; "axisLabel": "axisLabel"; "splitLine": "splitLine"; "splitArea": "splitArea"; "data": "data"; "axisPointer": "axisPointer"; "zlevel": "zlevel"; "z": "z"; }, {}, never>;
|
|
45
48
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { TdChartOptionsService } from '../chart-options.service';
|
|
2
2
|
import { TdXAxisPosition } from './axis.interface';
|
|
3
3
|
import { TdChartAxisDirective } from './axis.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TdChartXAxisComponent extends TdChartAxisDirective {
|
|
5
6
|
position: TdXAxisPosition;
|
|
6
7
|
constructor(_optionsService: TdChartOptionsService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartXAxisComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartXAxisComponent, "td-chart-x-axis", never, { "config": "config"; "id": "id"; "show": "show"; "gridIndex": "gridIndex"; "offset": "offset"; "type": "type"; "name": "name"; "nameLocation": "nameLocation"; "nameTextStyle": "nameTextStyle"; "nameGap": "nameGap"; "nameRotate": "nameRotate"; "inverse": "inverse"; "boundaryGap": "boundaryGap"; "min": "min"; "max": "max"; "scale": "scale"; "minInterval": "minInterval"; "interval": "interval"; "logBase": "logBase"; "silent": "silent"; "triggerEvent": "triggerEvent"; "axisLine": "axisLine"; "axisTick": "axisTick"; "axisLabel": "axisLabel"; "splitLine": "splitLine"; "splitArea": "splitArea"; "data": "data"; "axisPointer": "axisPointer"; "zlevel": "zlevel"; "z": "z"; "position": "position"; }, {}, never, never>;
|
|
7
10
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { TdChartOptionsService } from '../chart-options.service';
|
|
2
2
|
import { TdYAxisPosition } from './axis.interface';
|
|
3
3
|
import { TdChartAxisDirective } from './axis.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TdChartYAxisComponent extends TdChartAxisDirective {
|
|
5
6
|
position: TdYAxisPosition;
|
|
6
7
|
constructor(_optionsService: TdChartOptionsService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartYAxisComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartYAxisComponent, "td-chart-y-axis", never, { "config": "config"; "id": "id"; "show": "show"; "gridIndex": "gridIndex"; "offset": "offset"; "type": "type"; "name": "name"; "nameLocation": "nameLocation"; "nameTextStyle": "nameTextStyle"; "nameGap": "nameGap"; "nameRotate": "nameRotate"; "inverse": "inverse"; "boundaryGap": "boundaryGap"; "min": "min"; "max": "max"; "scale": "scale"; "minInterval": "minInterval"; "interval": "interval"; "logBase": "logBase"; "silent": "silent"; "triggerEvent": "triggerEvent"; "axisLine": "axisLine"; "axisTick": "axisTick"; "axisLabel": "axisLabel"; "splitLine": "splitLine"; "splitArea": "splitArea"; "data": "data"; "axisPointer": "axisPointer"; "zlevel": "zlevel"; "z": "z"; "position": "position"; }, {}, never, never>;
|
|
7
10
|
}
|
package/base/base.module.d.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./chart.component";
|
|
4
|
+
import * as i2 from "./axis/x-axis.component";
|
|
5
|
+
import * as i3 from "./axis/y-axis.component";
|
|
6
|
+
import * as i4 from "./dataset/dataset.component";
|
|
7
|
+
import * as i5 from "@angular/common";
|
|
2
8
|
export declare const BASE_MODULE_COMPONENTS: Type<any>[];
|
|
3
|
-
import 'zrender/lib/svg/svg';
|
|
4
9
|
export declare class CovalentBaseEchartsModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBaseEchartsModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBaseEchartsModule, [typeof i1.TdChartComponent, typeof i2.TdChartXAxisComponent, typeof i3.TdChartYAxisComponent, typeof i4.TdDatasetComponent], [typeof i5.CommonModule], [typeof i1.TdChartComponent, typeof i2.TdChartXAxisComponent, typeof i3.TdChartYAxisComponent, typeof i4.TdDatasetComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBaseEchartsModule>;
|
|
5
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TdChartOptionsService {
|
|
4
5
|
private _options;
|
|
5
6
|
private _optionsSubject;
|
|
@@ -9,6 +10,8 @@ export declare class TdChartOptionsService {
|
|
|
9
10
|
getOption(option: string): any[];
|
|
10
11
|
clearOption(option: string): void;
|
|
11
12
|
listen(): Observable<any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartOptionsService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TdChartOptionsService>;
|
|
12
15
|
}
|
|
13
16
|
export declare function CHART_PROVIDER_FACTORY(parent: TdChartOptionsService): TdChartOptionsService;
|
|
14
17
|
export declare const CHART_PROVIDER: Provider;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef, ChangeDetectorRef, AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TdChartOptionsService } from './chart-options.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TdChartComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
4
5
|
private _changeDetectorRef;
|
|
5
6
|
private _elementRef;
|
|
@@ -20,19 +21,19 @@ export declare class TdChartComponent implements AfterViewInit, OnChanges, OnDes
|
|
|
20
21
|
* Note: [config] input properties will override input values
|
|
21
22
|
* https://ecomfe.github.io/echarts-doc/public/en/option.html
|
|
22
23
|
*/
|
|
23
|
-
config
|
|
24
|
+
config?: any;
|
|
24
25
|
/**
|
|
25
26
|
* group?: string
|
|
26
27
|
* group name in which the chart instance will be connected to
|
|
27
28
|
* https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
|
|
28
29
|
*/
|
|
29
|
-
group
|
|
30
|
+
group?: string;
|
|
30
31
|
/**
|
|
31
32
|
* themeName?: string
|
|
32
33
|
* theme to be applied into chart instance
|
|
33
34
|
* https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
|
|
34
35
|
*/
|
|
35
|
-
themeName
|
|
36
|
+
themeName?: string | null;
|
|
36
37
|
/**
|
|
37
38
|
* renderer: 'svg' | 'canvas'
|
|
38
39
|
* sets the rendering mode for the chart.
|
|
@@ -54,4 +55,6 @@ export declare class TdChartComponent implements AfterViewInit, OnChanges, OnDes
|
|
|
54
55
|
render(): void;
|
|
55
56
|
private _initializeChart;
|
|
56
57
|
private _disposeChart;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartComponent, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartComponent, "td-chart", never, { "config": "config"; "group": "group"; "themeName": "themeName"; "renderer": "renderer"; }, { "chartClick": "chartClick"; "chartDblclick": "chartDblclick"; "chartContextmenu": "chartContextmenu"; "magicTypeChanged": "magicTypeChanged"; "dataViewChanged": "dataViewChanged"; "datazoom": "datazoom"; "restore": "restore"; }, never, never>;
|
|
57
60
|
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy } from '@angular/core';
|
|
2
2
|
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TdDatasetComponent implements OnChanges, OnDestroy {
|
|
4
5
|
private _optionsService;
|
|
5
6
|
private _state;
|
|
6
|
-
id
|
|
7
|
-
config
|
|
8
|
-
source
|
|
9
|
-
dimensions
|
|
10
|
-
sourceHeader
|
|
7
|
+
id?: string;
|
|
8
|
+
config?: any;
|
|
9
|
+
source?: object | any[];
|
|
10
|
+
dimensions?: any[];
|
|
11
|
+
sourceHeader?: boolean;
|
|
11
12
|
constructor(_optionsService: TdChartOptionsService);
|
|
12
13
|
ngOnChanges(): void;
|
|
13
14
|
ngOnDestroy(): void;
|
|
14
15
|
private _setOptions;
|
|
15
16
|
private _removeOption;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdDatasetComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdDatasetComponent, "td-chart-dataset", never, { "id": "id"; "config": "config"; "source": "source"; "dimensions": "dimensions"; "sourceHeader": "sourceHeader"; }, {}, never, never>;
|
|
16
19
|
}
|
package/base/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/covalent-echarts-base.
|
|
2
|
+
"module": "../fesm2015/covalent-echarts-base.mjs",
|
|
3
|
+
"es2020": "../fesm2020/covalent-echarts-base.mjs",
|
|
4
|
+
"esm2020": "../esm2020/base/covalent-echarts-base.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/covalent-echarts-base.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/covalent-echarts-base.mjs",
|
|
7
7
|
"typings": "covalent-echarts-base.d.ts",
|
|
8
|
-
"metadata": "covalent-echarts-base.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@covalent/echarts/base"
|
|
11
|
-
}
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { OnChanges, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { TdChartOptionsService } from '../chart-options.service';
|
|
3
|
-
import { ITdSeriesTooltip } from '
|
|
3
|
+
import { ITdSeriesTooltip } from './series.interface';
|
|
4
4
|
import { ITdAnimation } from '../base.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export interface ITdSeries extends ITdAnimation {
|
|
6
7
|
id?: string;
|
|
7
8
|
name?: string;
|
|
@@ -15,20 +16,20 @@ export declare abstract class TdSeriesDirective implements ITdSeries, OnChanges,
|
|
|
15
16
|
get type(): string;
|
|
16
17
|
_state: any;
|
|
17
18
|
_options: any;
|
|
18
|
-
config
|
|
19
|
-
id
|
|
20
|
-
name
|
|
21
|
-
color
|
|
22
|
-
data
|
|
23
|
-
animation
|
|
24
|
-
animationThreshold
|
|
25
|
-
animationDuration
|
|
26
|
-
animationEasing
|
|
27
|
-
animationDelay
|
|
28
|
-
animationDurationUpdate
|
|
29
|
-
animationEasingUpdate
|
|
30
|
-
animationDelayUpdate
|
|
31
|
-
tooltip
|
|
19
|
+
config?: any;
|
|
20
|
+
id?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
color?: string;
|
|
23
|
+
data?: any[];
|
|
24
|
+
animation?: boolean;
|
|
25
|
+
animationThreshold?: number;
|
|
26
|
+
animationDuration?: number | Function;
|
|
27
|
+
animationEasing?: string;
|
|
28
|
+
animationDelay?: number | Function;
|
|
29
|
+
animationDurationUpdate?: number | Function;
|
|
30
|
+
animationEasingUpdate?: string;
|
|
31
|
+
animationDelayUpdate?: number | Function;
|
|
32
|
+
tooltip?: ITdSeriesTooltip;
|
|
32
33
|
constructor(type: string, optionsService: TdChartOptionsService);
|
|
33
34
|
ngOnInit(): void;
|
|
34
35
|
ngOnChanges(): void;
|
|
@@ -38,4 +39,6 @@ export declare abstract class TdSeriesDirective implements ITdSeries, OnChanges,
|
|
|
38
39
|
abstract getConfig(): any;
|
|
39
40
|
private _setOptions;
|
|
40
41
|
private _removeOption;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesDirective, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TdSeriesDirective, never, never, { "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"; }, {}, never>;
|
|
41
44
|
}
|