@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/tooltip/README.md
CHANGED
|
@@ -6,20 +6,19 @@
|
|
|
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
|
-
|
|
15
|
+
- formatter?: string | Function
|
|
16
|
+
- The content formatter of tooltip's floating layer which supports string template and callback function.
|
|
17
|
+
- trigger?: 'item' | 'axis' | 'none'
|
|
18
|
+
- Type of triggering.
|
|
19
19
|
|
|
20
20
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#tooltip)
|
|
21
21
|
|
|
22
|
-
|
|
23
22
|
# td-chart-series-tooltip
|
|
24
23
|
|
|
25
24
|
`td-chart-series-tooltip` element generates a series tooltip for the echarts visualization inside a `td-chart-series`. Its the equivalent of creating a JS tooltip series object in echarts.
|
|
@@ -28,16 +27,16 @@ And so many more.. for more info [click here](https://echarts.apache.org/en/opti
|
|
|
28
27
|
|
|
29
28
|
#### Inputs
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
- config?: any
|
|
31
|
+
- Sets the JS config object if you choose to not use the property inputs.
|
|
32
|
+
- Note: [config] input properties will override input values
|
|
34
33
|
|
|
35
34
|
There are also lots of property inputs like:
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
- formatter?: string | Function
|
|
37
|
+
- The content formatter of tooltip's floating layer which supports string template and callback function.
|
|
38
|
+
- trigger?: 'item' | 'axis' | 'none'
|
|
39
|
+
- Type of triggering.
|
|
41
40
|
|
|
42
41
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-bar.tooltip)
|
|
43
42
|
|
|
@@ -67,9 +66,13 @@ Basic Tooltip Example:
|
|
|
67
66
|
|
|
68
67
|
```html
|
|
69
68
|
<td-chart>
|
|
70
|
-
<td-chart-tooltip [trigger]="'item'"
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
<td-chart-tooltip [trigger]="'item'" [triggerOn]="'mousemove'">
|
|
70
|
+
<ng-template
|
|
71
|
+
let-params
|
|
72
|
+
let-i="index"
|
|
73
|
+
let-ticket="ticket"
|
|
74
|
+
tdTooltipFormatter
|
|
75
|
+
>
|
|
73
76
|
<ng-container *ngIf="params">
|
|
74
77
|
<div layout="row" layout-align="start center">
|
|
75
78
|
<mat-icon [style.color]="params.color">person</mat-icon>
|
|
@@ -89,14 +92,15 @@ Basic Series Tooltip Example (only works if tooltip.trigger is 'item'):
|
|
|
89
92
|
|
|
90
93
|
```html
|
|
91
94
|
<td-chart>
|
|
92
|
-
<td-chart-tooltip [trigger]="'item'">
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
<td-chart-tooltip [trigger]="'item'"> </td-chart-tooltip>
|
|
96
|
+
<td-chart-series td-bar [name]="'name'" [data]="[100,200,150,200]">
|
|
97
|
+
<td-chart-series-tooltip [trigger]="'item'" [triggerOn]="'mousemove'">
|
|
98
|
+
<ng-template
|
|
99
|
+
let-params
|
|
100
|
+
let-i="index"
|
|
101
|
+
let-ticket="ticket"
|
|
102
|
+
tdTooltipFormatter
|
|
103
|
+
>
|
|
100
104
|
<ng-container *ngIf="params">
|
|
101
105
|
<div layout="row" layout-align="start center">
|
|
102
106
|
<mat-icon [style.color]="params.color">person</mat-icon>
|
package/tooltip/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/covalent-echarts-tooltip.
|
|
2
|
+
"module": "../fesm2015/covalent-echarts-tooltip.mjs",
|
|
3
|
+
"es2020": "../fesm2020/covalent-echarts-tooltip.mjs",
|
|
4
|
+
"esm2020": "../esm2020/tooltip/covalent-echarts-tooltip.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/covalent-echarts-tooltip.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/covalent-echarts-tooltip.mjs",
|
|
7
7
|
"typings": "covalent-echarts-tooltip.d.ts",
|
|
8
|
-
"metadata": "covalent-echarts-tooltip.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@covalent/echarts/tooltip"
|
|
11
|
-
}
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import { TemplateRef, ChangeDetectorRef, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
2
|
import { TdSeriesDirective } from '@covalent/echarts/base';
|
|
3
3
|
import { TdTooltipContext } from './tooltip.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class TdSeriesTooltipComponent implements OnChanges, OnDestroy {
|
|
5
6
|
private _changeDetectorRef;
|
|
6
7
|
private _elementRef;
|
|
7
8
|
private _seriesComponent;
|
|
8
9
|
private _state;
|
|
9
10
|
_context: TdTooltipContext;
|
|
10
|
-
config
|
|
11
|
-
formatter
|
|
12
|
-
position
|
|
13
|
-
backgroundColor
|
|
14
|
-
borderColor
|
|
15
|
-
borderWidth
|
|
16
|
-
padding
|
|
17
|
-
textStyle
|
|
18
|
-
|
|
11
|
+
config?: any;
|
|
12
|
+
formatter?: any;
|
|
13
|
+
position?: string | string[] | number[];
|
|
14
|
+
backgroundColor?: string | undefined;
|
|
15
|
+
borderColor?: string | undefined;
|
|
16
|
+
borderWidth?: number | undefined;
|
|
17
|
+
padding?: number | undefined;
|
|
18
|
+
textStyle?: {
|
|
19
|
+
color: string;
|
|
20
|
+
} | undefined;
|
|
21
|
+
extraCssText?: string;
|
|
19
22
|
formatterTemplate: TemplateRef<any>;
|
|
20
23
|
fullTemplate: TemplateRef<any>;
|
|
21
24
|
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _seriesComponent: TdSeriesDirective);
|
|
@@ -28,4 +31,6 @@ export declare class TdSeriesTooltipComponent implements OnChanges, OnDestroy {
|
|
|
28
31
|
*/
|
|
29
32
|
private _formatter;
|
|
30
33
|
private _removeOption;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesTooltipComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdSeriesTooltipComponent, "td-chart-series-tooltip", never, { "config": "config"; "formatter": "formatter"; "position": "position"; "backgroundColor": "backgroundColor"; "borderColor": "borderColor"; "borderWidth": "borderWidth"; "padding": "padding"; "textStyle": "textStyle"; "extraCssText": "extraCssText"; }, {}, ["formatterTemplate"], never>;
|
|
31
36
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { TemplateRef, ElementRef, ChangeDetectorRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
2
|
import { TdChartOptionsService, TdTooltipTrigger, TdTooltipTriggerOn, TdTooltipPosition } from '@covalent/echarts/base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TdTooltipContext {
|
|
4
5
|
$implicit: any;
|
|
5
6
|
ticket: string;
|
|
6
7
|
}
|
|
7
8
|
export declare class TdChartTooltipFormatterDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipFormatterDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartTooltipFormatterDirective, "ng-template[tdTooltipFormatter]", never, {}, {}, never>;
|
|
8
11
|
}
|
|
9
12
|
export declare class TdChartTooltipComponent implements OnChanges, OnDestroy {
|
|
10
13
|
private _changeDetectorRef;
|
|
@@ -13,26 +16,26 @@ export declare class TdChartTooltipComponent implements OnChanges, OnDestroy {
|
|
|
13
16
|
private _state;
|
|
14
17
|
_context: TdTooltipContext;
|
|
15
18
|
config: any;
|
|
16
|
-
show
|
|
17
|
-
trigger
|
|
19
|
+
show?: boolean | undefined;
|
|
20
|
+
trigger?: TdTooltipTrigger;
|
|
18
21
|
axisPointer: any;
|
|
19
|
-
showContent
|
|
20
|
-
alwaysShowContent
|
|
21
|
-
triggerOn
|
|
22
|
-
showDelay
|
|
23
|
-
hideDelay
|
|
24
|
-
enterable
|
|
25
|
-
renderMode
|
|
22
|
+
showContent?: boolean | undefined;
|
|
23
|
+
alwaysShowContent?: boolean | undefined;
|
|
24
|
+
triggerOn?: TdTooltipTriggerOn;
|
|
25
|
+
showDelay?: number | undefined;
|
|
26
|
+
hideDelay?: number | undefined;
|
|
27
|
+
enterable?: boolean | undefined;
|
|
28
|
+
renderMode?: 'html' | 'richText';
|
|
26
29
|
confine: boolean;
|
|
27
30
|
transitionDuration: number;
|
|
28
|
-
position
|
|
29
|
-
formatter
|
|
30
|
-
backgroundColor
|
|
31
|
-
borderColor
|
|
32
|
-
borderWidth
|
|
33
|
-
padding
|
|
31
|
+
position?: TdTooltipPosition;
|
|
32
|
+
formatter?: string | Function;
|
|
33
|
+
backgroundColor?: string | undefined;
|
|
34
|
+
borderColor?: string | undefined;
|
|
35
|
+
borderWidth?: number | undefined;
|
|
36
|
+
padding?: number | undefined;
|
|
34
37
|
textStyle: any;
|
|
35
|
-
extraCssText
|
|
38
|
+
extraCssText?: string;
|
|
36
39
|
formatterTemplate: TemplateRef<any>;
|
|
37
40
|
fullTemplate: TemplateRef<any>;
|
|
38
41
|
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _optionsService: TdChartOptionsService);
|
|
@@ -41,4 +44,6 @@ export declare class TdChartTooltipComponent implements OnChanges, OnDestroy {
|
|
|
41
44
|
private _setOptions;
|
|
42
45
|
private _removeOption;
|
|
43
46
|
private _formatter;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartTooltipComponent, "td-chart-tooltip", never, { "config": "config"; "show": "show"; "trigger": "trigger"; "axisPointer": "axisPointer"; "showContent": "showContent"; "alwaysShowContent": "alwaysShowContent"; "triggerOn": "triggerOn"; "showDelay": "showDelay"; "hideDelay": "hideDelay"; "enterable": "enterable"; "renderMode": "renderMode"; "confine": "confine"; "transitionDuration": "transitionDuration"; "position": "position"; "formatter": "formatter"; "backgroundColor": "backgroundColor"; "borderColor": "borderColor"; "borderWidth": "borderWidth"; "padding": "padding"; "textStyle": "textStyle"; "extraCssText": "extraCssText"; }, {}, ["formatterTemplate"], never>;
|
|
44
49
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
-
import
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./tooltip.component";
|
|
4
|
+
import * as i2 from "./series-tooltip.component";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
3
6
|
export declare const TOOLTIP_MODULE_COMPONENTS: Type<any>[];
|
|
4
7
|
export declare class CovalentTooltipEchartsModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTooltipEchartsModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTooltipEchartsModule, [typeof i1.TdChartTooltipComponent, typeof i1.TdChartTooltipFormatterDirective, typeof i2.TdSeriesTooltipComponent], [typeof i3.CommonModule], [typeof i1.TdChartTooltipComponent, typeof i1.TdChartTooltipFormatterDirective, typeof i2.TdSeriesTooltipComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTooltipEchartsModule>;
|
|
5
11
|
}
|
package/tree/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
|
+
- label?: any
|
|
16
|
+
- Text styles corresponding to each node, also used in the leaves object.
|
|
17
|
+
- leaves?: ITdTreeLeaves
|
|
18
|
+
- Styles for each leaf node in the tree, can be used to differentiation node labels from leaf nodes. See the code examples above.
|
|
19
|
+
- itemStyle?: ITdItemStyle
|
|
20
|
+
- Styles for each node in the tree.
|
|
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-tree)
|
|
25
25
|
|
|
@@ -47,12 +47,14 @@ Basic Example:
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<td-chart>
|
|
50
|
-
<td-chart-series
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
<td-chart-series
|
|
51
|
+
td-tree
|
|
52
|
+
[leaves]="{ label: { position: 'right' } }"
|
|
53
|
+
[label]="{ position: 'left' }"
|
|
54
|
+
[name]="'name'"
|
|
55
|
+
[data]="[{ name: 'flare', children: [{ name: 'AgglomerativeCluster', value: 3938 },
|
|
56
|
+
{ name: 'CommunityStructure', value: 3812 }, { name: 'HierarchicalCluster', value: 6714 }] }]"
|
|
57
|
+
>
|
|
56
58
|
</td-chart-series>
|
|
57
59
|
</td-chart>
|
|
58
|
-
```
|
|
60
|
+
```
|
package/tree/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/covalent-echarts-tree.
|
|
2
|
+
"module": "../fesm2015/covalent-echarts-tree.mjs",
|
|
3
|
+
"es2020": "../fesm2020/covalent-echarts-tree.mjs",
|
|
4
|
+
"esm2020": "../esm2020/tree/covalent-echarts-tree.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/covalent-echarts-tree.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/covalent-echarts-tree.mjs",
|
|
7
7
|
"typings": "covalent-echarts-tree.d.ts",
|
|
8
|
-
"metadata": "covalent-echarts-tree.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@covalent/echarts/tree"
|
|
11
|
-
}
|
|
10
|
+
}
|
|
File without changes
|
package/tree/tree.component.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TdChartOptionsService, ITdItemStyle, TdMarkPointSymbol, ITdLabel, ITdLineStyle, ITdSeries, TdSeriesDirective, ITdEmphasis, ITdShadow } from '@covalent/echarts/base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* ECHART OPTION DOCS
|
|
4
5
|
* https://ecomfe.github.io/echarts-doc/public/en/option.html#series-tree
|
|
@@ -23,7 +24,7 @@ export interface ITdTreeEmphasis extends ITdEmphasis {
|
|
|
23
24
|
export interface ITdTreeLeaves {
|
|
24
25
|
label?: ITdLabel;
|
|
25
26
|
itemStyle?: ITdItemStyle;
|
|
26
|
-
emphasis
|
|
27
|
+
emphasis?: ITdEmphasis;
|
|
27
28
|
}
|
|
28
29
|
interface ITdTreeSeries extends ITdSeries {
|
|
29
30
|
zlevel?: number;
|
|
@@ -49,32 +50,34 @@ interface ITdTreeSeries extends ITdSeries {
|
|
|
49
50
|
lineStyle?: ITdLineStyle;
|
|
50
51
|
leaves?: ITdTreeLeaves;
|
|
51
52
|
emphasis?: ITdTreeEmphasis;
|
|
52
|
-
data
|
|
53
|
+
data?: any[];
|
|
53
54
|
}
|
|
54
55
|
export declare class TdChartSeriesTreeComponent extends TdSeriesDirective implements ITdTreeSeries {
|
|
55
|
-
zlevel
|
|
56
|
-
z
|
|
57
|
-
left
|
|
58
|
-
top
|
|
59
|
-
right
|
|
60
|
-
bottom
|
|
61
|
-
width
|
|
62
|
-
height
|
|
63
|
-
layout
|
|
64
|
-
orient
|
|
65
|
-
symbol
|
|
66
|
-
symbolSize
|
|
67
|
-
symbolRotate
|
|
68
|
-
symbolKeepAspect
|
|
69
|
-
roam
|
|
70
|
-
expandAndCollapse
|
|
71
|
-
initialTreeDepth
|
|
72
|
-
itemStyle
|
|
73
|
-
label
|
|
74
|
-
lineStyle
|
|
75
|
-
leaves
|
|
76
|
-
emphasis
|
|
56
|
+
zlevel?: number;
|
|
57
|
+
z?: number;
|
|
58
|
+
left?: string | number;
|
|
59
|
+
top?: string | number;
|
|
60
|
+
right?: string | number;
|
|
61
|
+
bottom?: string | number;
|
|
62
|
+
width?: string | number;
|
|
63
|
+
height?: string | number;
|
|
64
|
+
layout?: TdTreeLayout;
|
|
65
|
+
orient?: TdTreeOrient;
|
|
66
|
+
symbol?: TdMarkPointSymbol | string;
|
|
67
|
+
symbolSize?: number;
|
|
68
|
+
symbolRotate?: number;
|
|
69
|
+
symbolKeepAspect?: boolean;
|
|
70
|
+
roam?: boolean | string;
|
|
71
|
+
expandAndCollapse?: boolean;
|
|
72
|
+
initialTreeDepth?: number;
|
|
73
|
+
itemStyle?: ITdItemStyle;
|
|
74
|
+
label?: ITdLabel;
|
|
75
|
+
lineStyle?: ITdLineStyle;
|
|
76
|
+
leaves?: ITdTreeLeaves;
|
|
77
|
+
emphasis?: ITdTreeEmphasis;
|
|
77
78
|
constructor(_optionsService: TdChartOptionsService);
|
|
78
79
|
getConfig(): any;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreeComponent, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreeComponent, "td-chart-series[td-tree]", 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"; "zlevel": "zlevel"; "z": "z"; "left": "left"; "top": "top"; "right": "right"; "bottom": "bottom"; "width": "width"; "height": "height"; "layout": "layout"; "orient": "orient"; "symbol": "symbol"; "symbolSize": "symbolSize"; "symbolRotate": "symbolRotate"; "symbolKeepAspect": "symbolKeepAspect"; "roam": "roam"; "expandAndCollapse": "expandAndCollapse"; "initialTreeDepth": "initialTreeDepth"; "itemStyle": "itemStyle"; "label": "label"; "lineStyle": "lineStyle"; "leaves": "leaves"; "emphasis": "emphasis"; }, {}, never, never>;
|
|
79
82
|
}
|
|
80
83
|
export {};
|
package/tree/tree.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 "./tree.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
3
5
|
export declare const TREE_MODULE_COMPONENTS: Type<any>[];
|
|
4
6
|
export declare class CovalentTreeEchartsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTreeEchartsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTreeEchartsModule, [typeof i1.TdChartSeriesTreeComponent], [typeof i2.CommonModule], [typeof i1.TdChartSeriesTreeComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTreeEchartsModule>;
|
|
5
10
|
}
|
package/treemap/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
|
+
- leafDepth?: number
|
|
20
|
+
- Represents how many levels are shown at most.
|
|
21
|
+
- roam?: boolean
|
|
22
|
+
- Whether to enable dragging roam (move and zoom).
|
|
23
23
|
|
|
24
24
|
And so many more.. for more info [click here](https://echarts.apache.org/en/option.html#series-treemap)
|
|
25
25
|
|
|
@@ -47,12 +47,13 @@ Basic Example:
|
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<td-chart>
|
|
50
|
-
<td-chart-series
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
<td-chart-series
|
|
51
|
+
td-treemap
|
|
52
|
+
[top]="'10%'"
|
|
53
|
+
[left]="'10%'"
|
|
54
|
+
[bottom]="'10%'"
|
|
55
|
+
[right]="'10%'"
|
|
56
|
+
[data]="[{
|
|
56
57
|
value: 40,
|
|
57
58
|
name: 'Accessibility',
|
|
58
59
|
path: 'Accessibility'
|
|
@@ -167,17 +168,18 @@ Basic Example:
|
|
|
167
168
|
}]
|
|
168
169
|
}]
|
|
169
170
|
}]"
|
|
170
|
-
|
|
171
|
-
|
|
171
|
+
[visibleMin]="300"
|
|
172
|
+
[label]="{
|
|
172
173
|
show: true,
|
|
173
174
|
formatter: '{b}'
|
|
174
175
|
}"
|
|
175
|
-
|
|
176
|
+
[itemStyle]="{
|
|
176
177
|
normal: {
|
|
177
178
|
borderColor: '#fff'
|
|
178
179
|
}
|
|
179
180
|
}"
|
|
180
|
-
|
|
181
|
+
[levels]="[{itemStyle: {normal: {borderWidth: 0, gapWidth: 5 }}},{itemStyle: {normal: {gapWidth: 1}}},{colorSaturation: [0.35, 0.5], itemStyle: {normal: {gapWidth: 1, borderColorSaturation: 0.6}}}]"
|
|
182
|
+
>
|
|
181
183
|
</td-chart-series>
|
|
182
184
|
</td-chart>
|
|
183
185
|
```
|
package/treemap/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"fesm2015": "../fesm2015/covalent-echarts-treemap.
|
|
2
|
+
"module": "../fesm2015/covalent-echarts-treemap.mjs",
|
|
3
|
+
"es2020": "../fesm2020/covalent-echarts-treemap.mjs",
|
|
4
|
+
"esm2020": "../esm2020/treemap/covalent-echarts-treemap.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/covalent-echarts-treemap.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/covalent-echarts-treemap.mjs",
|
|
7
7
|
"typings": "covalent-echarts-treemap.d.ts",
|
|
8
|
-
"metadata": "covalent-echarts-treemap.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@covalent/echarts/treemap"
|
|
11
|
-
}
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TdChartOptionsService, ITdItemStyle, ITdSeriesTooltip, ITdLabel, ITdSeries, TdSeriesDirective, ITdEmphasis, ITdShadow } from '@covalent/echarts/base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/**
|
|
3
4
|
* ECHART OPTION DOCS
|
|
4
5
|
* https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap
|
|
@@ -44,8 +45,8 @@ export interface ITdTreemapUpperLabel {
|
|
|
44
45
|
textShadowBlur?: string | number;
|
|
45
46
|
textShadowOffsetX?: string | number;
|
|
46
47
|
textShadowOffsetY?: string | number;
|
|
47
|
-
rich
|
|
48
|
-
ellipsis
|
|
48
|
+
rich?: any;
|
|
49
|
+
ellipsis?: any;
|
|
49
50
|
}
|
|
50
51
|
export interface ITdTreemapBreadcrumb {
|
|
51
52
|
show?: boolean;
|
|
@@ -88,44 +89,46 @@ interface ITdTreemapSeries extends ITdSeries {
|
|
|
88
89
|
upperLabel?: ITdTreemapUpperLabel;
|
|
89
90
|
breadcrumb?: ITdTreemapBreadcrumb;
|
|
90
91
|
emphasis?: ITdTreemapEmphasis;
|
|
91
|
-
data
|
|
92
|
+
data?: any[];
|
|
92
93
|
}
|
|
93
94
|
export declare class TdChartSeriesTreemapComponent extends TdSeriesDirective implements ITdTreemapSeries {
|
|
94
|
-
config
|
|
95
|
-
id
|
|
96
|
-
name
|
|
97
|
-
data
|
|
98
|
-
zlevel
|
|
99
|
-
z
|
|
100
|
-
left
|
|
101
|
-
top
|
|
102
|
-
right
|
|
103
|
-
bottom
|
|
104
|
-
width
|
|
105
|
-
height
|
|
106
|
-
squareRatio
|
|
107
|
-
leafDepth
|
|
108
|
-
drillDownIcon
|
|
109
|
-
roam
|
|
110
|
-
nodeClick
|
|
111
|
-
zoomToNodeRatio
|
|
112
|
-
levels
|
|
113
|
-
silent
|
|
114
|
-
visualDimension
|
|
115
|
-
visualMin
|
|
116
|
-
visualMax
|
|
117
|
-
colorAlpha
|
|
118
|
-
colorSaturation
|
|
119
|
-
colorMappingBy
|
|
120
|
-
visibleMin
|
|
121
|
-
childrenVisibleMin
|
|
122
|
-
itemStyle
|
|
123
|
-
label
|
|
124
|
-
upperLabel
|
|
125
|
-
breadcrumb
|
|
126
|
-
emphasis
|
|
127
|
-
tooltip
|
|
95
|
+
config?: any;
|
|
96
|
+
id?: string;
|
|
97
|
+
name?: string;
|
|
98
|
+
data?: any;
|
|
99
|
+
zlevel?: number;
|
|
100
|
+
z?: number;
|
|
101
|
+
left?: string | number;
|
|
102
|
+
top?: string | number;
|
|
103
|
+
right?: string | number;
|
|
104
|
+
bottom?: string | number;
|
|
105
|
+
width?: string | number;
|
|
106
|
+
height?: string | number;
|
|
107
|
+
squareRatio?: string | number;
|
|
108
|
+
leafDepth?: string | number;
|
|
109
|
+
drillDownIcon?: string;
|
|
110
|
+
roam?: boolean | string;
|
|
111
|
+
nodeClick?: boolean | string;
|
|
112
|
+
zoomToNodeRatio?: string | number;
|
|
113
|
+
levels?: any[];
|
|
114
|
+
silent?: boolean;
|
|
115
|
+
visualDimension?: string | number;
|
|
116
|
+
visualMin?: string | number;
|
|
117
|
+
visualMax?: string | number;
|
|
118
|
+
colorAlpha?: any[];
|
|
119
|
+
colorSaturation?: string | number;
|
|
120
|
+
colorMappingBy?: string;
|
|
121
|
+
visibleMin?: string | number;
|
|
122
|
+
childrenVisibleMin?: string | number;
|
|
123
|
+
itemStyle?: ITdItemStyle;
|
|
124
|
+
label?: ITdLabel;
|
|
125
|
+
upperLabel?: ITdTreemapUpperLabel;
|
|
126
|
+
breadcrumb?: ITdTreemapBreadcrumb;
|
|
127
|
+
emphasis?: ITdTreemapEmphasis;
|
|
128
|
+
tooltip?: ITdSeriesTooltip;
|
|
128
129
|
constructor(_optionsService: TdChartOptionsService);
|
|
129
130
|
getConfig(): any;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreemapComponent, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreemapComponent, "td-chart-series[td-treemap]", 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"; "zlevel": "zlevel"; "z": "z"; "left": "left"; "top": "top"; "right": "right"; "bottom": "bottom"; "width": "width"; "height": "height"; "squareRatio": "squareRatio"; "leafDepth": "leafDepth"; "drillDownIcon": "drillDownIcon"; "roam": "roam"; "nodeClick": "nodeClick"; "zoomToNodeRatio": "zoomToNodeRatio"; "levels": "levels"; "silent": "silent"; "visualDimension": "visualDimension"; "visualMin": "visualMin"; "visualMax": "visualMax"; "colorAlpha": "colorAlpha"; "colorSaturation": "colorSaturation"; "colorMappingBy": "colorMappingBy"; "visibleMin": "visibleMin"; "childrenVisibleMin": "childrenVisibleMin"; "itemStyle": "itemStyle"; "label": "label"; "upperLabel": "upperLabel"; "breadcrumb": "breadcrumb"; "emphasis": "emphasis"; }, {}, never, never>;
|
|
130
133
|
}
|
|
131
134
|
export {};
|
|
@@ -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 "./treemap.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
3
5
|
export declare const TREEMAP_MODULE_COMPONENTS: Type<any>[];
|
|
4
6
|
export declare class CovalentTreemapEchartsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTreemapEchartsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTreemapEchartsModule, [typeof i1.TdChartSeriesTreemapComponent], [typeof i2.CommonModule], [typeof i1.TdChartSeriesTreemapComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTreemapEchartsModule>;
|
|
5
10
|
}
|