@carbon/charts 1.8.0 → 1.9.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +84 -155
- package/README.md +11 -13
- package/dist/_baseEach-603421de.mjs +21 -0
- package/dist/_baseEach-603421de.mjs.map +1 -0
- package/dist/_baseEach-cdac417f.js +2 -0
- package/dist/_baseEach-cdac417f.js.map +1 -0
- package/dist/a11y-7bad4f48.mjs +5 -0
- package/dist/a11y-7bad4f48.mjs.map +1 -0
- package/dist/a11y-c7c9d087.js +2 -0
- package/dist/a11y-c7c9d087.js.map +1 -0
- package/dist/angle-utils-6f166b40.js +2 -0
- package/dist/angle-utils-6f166b40.js.map +1 -0
- package/dist/angle-utils-8b6ce998.mjs +387 -0
- package/dist/angle-utils-8b6ce998.mjs.map +1 -0
- package/dist/axis-chart.d.ts +13 -0
- package/dist/chart.d.ts +18 -0
- package/dist/charts/alluvial.d.ts +10 -0
- package/dist/charts/area-stacked.d.ts +8 -0
- package/dist/charts/area.d.ts +8 -0
- package/dist/charts/bar-grouped.d.ts +8 -0
- package/dist/charts/bar-simple.d.ts +8 -0
- package/dist/charts/bar-stacked.d.ts +8 -0
- package/dist/charts/boxplot.d.ts +10 -0
- package/dist/charts/bubble.d.ts +8 -0
- package/dist/charts/bullet.d.ts +10 -0
- package/dist/charts/choropleth.d.ts +14 -0
- package/dist/charts/circle-pack.d.ts +10 -0
- package/dist/charts/combo.d.ts +9 -0
- package/dist/charts/donut.d.ts +8 -0
- package/dist/charts/gauge.d.ts +10 -0
- package/dist/charts/heatmap.d.ts +14 -0
- package/dist/charts/histogram.d.ts +10 -0
- package/dist/charts/index.d.ts +27 -0
- package/dist/charts/line.d.ts +8 -0
- package/dist/charts/lollipop.d.ts +8 -0
- package/dist/charts/meter.d.ts +10 -0
- package/dist/charts/pie.d.ts +10 -0
- package/dist/charts/radar.d.ts +10 -0
- package/dist/charts/scatter.d.ts +8 -0
- package/dist/charts/tree.d.ts +10 -0
- package/dist/charts/treemap.d.ts +10 -0
- package/dist/charts/wordcloud.d.ts +10 -0
- package/dist/choropleth-4ac6ac20.js +82 -0
- package/dist/choropleth-4ac6ac20.js.map +1 -0
- package/dist/choropleth-f473ea0d.mjs +7997 -0
- package/dist/choropleth-f473ea0d.mjs.map +1 -0
- package/dist/color-scale-utils-5eb3eeaa.mjs +3809 -0
- package/dist/color-scale-utils-5eb3eeaa.mjs.map +1 -0
- package/dist/color-scale-utils-7d463811.js +3 -0
- package/dist/color-scale-utils-7d463811.js.map +1 -0
- package/dist/components/axes/axis.d.ts +24 -0
- package/{build/src → dist}/components/axes/chart-clip.d.ts +3 -3
- package/{components → dist/components}/axes/grid-brush.d.ts +10 -10
- package/{components → dist/components}/axes/grid.d.ts +22 -22
- package/{build/src → dist}/components/axes/hover-axis.d.ts +1 -1
- package/dist/components/axes/index.d.ts +12 -0
- package/{components → dist/components}/axes/ruler-binned.d.ts +7 -7
- package/{components → dist/components}/axes/ruler.d.ts +27 -27
- package/{build/src → dist}/components/axes/toolbar.d.ts +7 -7
- package/{components → dist/components}/axes/two-dimensional-axes.d.ts +16 -16
- package/{components → dist/components}/axes/zero-line.d.ts +7 -7
- package/{components → dist/components}/axes/zoom-bar.d.ts +28 -28
- package/{build/src → dist}/components/component.d.ts +10 -8
- package/dist/components/diagrams/buildPaths.d.ts +40 -0
- package/dist/components/diagrams/index.d.ts +2 -0
- package/{components → dist/components}/essentials/canvas-chart-clip.d.ts +6 -6
- package/{build/src → dist}/components/essentials/color-scale-legend.d.ts +3 -3
- package/{build/src → dist}/components/essentials/geo-projection.d.ts +2 -2
- package/{build/src → dist}/components/essentials/highlights.d.ts +3 -3
- package/dist/components/essentials/index.d.ts +11 -0
- package/{build/src → dist}/components/essentials/legend.d.ts +3 -3
- package/{components → dist/components}/essentials/modal.d.ts +14 -14
- package/{build/src → dist}/components/essentials/threshold.d.ts +5 -5
- package/{components → dist/components}/essentials/title-meter.d.ts +30 -30
- package/{components → dist/components}/essentials/title.d.ts +20 -20
- package/{build/src → dist}/components/essentials/tooltip.d.ts +4 -4
- package/{components → dist/components}/graphs/alluvial.d.ts +14 -14
- package/{components → dist/components}/graphs/area-stacked.d.ts +11 -11
- package/dist/components/graphs/area.d.ts +12 -0
- package/{build/src → dist}/components/graphs/bar-grouped.d.ts +4 -4
- package/{build/src → dist}/components/graphs/bar-simple.d.ts +3 -3
- package/{build/src → dist}/components/graphs/bar-stacked.d.ts +4 -4
- package/{build/src → dist}/components/graphs/bar.d.ts +2 -2
- package/{components → dist/components}/graphs/boxplot.d.ts +9 -9
- package/{build/src → dist}/components/graphs/bubble.d.ts +2 -2
- package/dist/components/graphs/bullet.d.ts +12 -0
- package/{components → dist/components}/graphs/choropleth.d.ts +6 -6
- package/{build/src → dist}/components/graphs/circle-pack.d.ts +3 -3
- package/{build/src → dist}/components/graphs/donut.d.ts +1 -1
- package/{build/src → dist}/components/graphs/gauge.d.ts +2 -2
- package/{build/src → dist}/components/graphs/heatmap.d.ts +4 -4
- package/dist/components/graphs/histogram.d.ts +12 -0
- package/dist/components/graphs/index.d.ts +28 -0
- package/dist/components/graphs/line.d.ts +11 -0
- package/dist/components/graphs/lollipop.d.ts +14 -0
- package/{components → dist/components}/graphs/meter.d.ts +10 -10
- package/{build/src → dist}/components/graphs/pie.d.ts +4 -4
- package/{build/src → dist}/components/graphs/radar.d.ts +6 -6
- package/{build/src → dist}/components/graphs/scatter-stacked.d.ts +2 -2
- package/dist/components/graphs/scatter.d.ts +21 -0
- package/dist/components/graphs/skeleton-lines.d.ts +12 -0
- package/{build/src → dist}/components/graphs/skeleton.d.ts +6 -5
- package/{components → dist/components}/graphs/tree.d.ts +9 -9
- package/dist/components/graphs/treemap.d.ts +11 -0
- package/{build/src → dist}/components/graphs/wordcloud.d.ts +4 -4
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +76 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/{components → dist/components}/layout/layout.d.ts +18 -17
- package/dist/components/layout/spacer.d.ts +5 -0
- package/{build/src → dist}/configuration-non-customizable.d.ts +4 -4
- package/{configuration.d.ts → dist/configuration.d.ts} +48 -46
- package/dist/demo/charts/index.d.ts +62 -0
- package/{build/demo/data → dist/demo/charts}/time-series-axis.d.ts +60 -135
- package/{build/demo/data → dist/demo/charts}/zoom-bar.d.ts +12 -27
- package/dist/demo/index.d.ts +4 -0
- package/dist/demo/index.js +470 -0
- package/dist/demo/index.js.map +1 -0
- package/dist/demo/index.mjs +51786 -0
- package/dist/demo/index.mjs.map +1 -0
- package/{demo → dist/demo}/styles.css +286 -1142
- package/dist/demo/styles.css.map +1 -0
- package/dist/demo/utils/index.d.ts +2 -0
- package/dist/demo/utils/sandbox.d.ts +39 -0
- package/dist/demo/utils/story-widgets.d.ts +7 -0
- package/dist/enums-a96ef472.mjs +89 -0
- package/dist/enums-a96ef472.mjs.map +1 -0
- package/dist/enums-aa2efd99.js +2 -0
- package/dist/enums-aa2efd99.js.map +1 -0
- package/dist/index-822564ed.js +2 -0
- package/dist/index-822564ed.js.map +1 -0
- package/dist/index-a266373c.mjs +749 -0
- package/dist/index-a266373c.mjs.map +1 -0
- package/dist/index-becfb567.mjs +72 -0
- package/dist/index-becfb567.mjs.map +1 -0
- package/dist/index-d865d500.js +2 -0
- package/dist/index-d865d500.js.map +1 -0
- package/dist/index-ec554115.mjs +62 -0
- package/dist/index-ec554115.mjs.map +1 -0
- package/dist/index-f23685eb.js +2 -0
- package/dist/index-f23685eb.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1121 -0
- package/dist/index.mjs.map +1 -0
- package/{build/src → dist}/interfaces/axis-scales.d.ts +11 -11
- package/{interfaces → dist/interfaces}/charts.d.ts +517 -512
- package/{build/src → dist}/interfaces/components.d.ts +11 -11
- package/dist/interfaces/index.d.ts +11 -0
- package/dist/interfaces/index.js +2 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/interfaces/index.mjs +58 -0
- package/dist/interfaces/index.mjs.map +1 -0
- package/{interfaces → dist/interfaces}/layout.d.ts +21 -15
- package/{build/src → dist}/interfaces/model.d.ts +2 -2
- package/dist/interfaces/services.d.ts +20 -0
- package/{build/src → dist}/interfaces/truncation.d.ts +2 -2
- package/{build/src → dist}/model/binned-charts.d.ts +1 -1
- package/{build/src → dist}/model/cartesian-charts.d.ts +2 -2
- package/{model → dist/model}/heatmap.d.ts +57 -52
- package/dist/model/index.d.ts +16 -0
- package/dist/model/index.js +3 -0
- package/dist/model/index.js.map +1 -0
- package/dist/model/index.mjs +1107 -0
- package/dist/model/index.mjs.map +1 -0
- package/{model → dist/model}/meter.d.ts +20 -19
- package/{model → dist/model}/model.d.ts +110 -107
- package/{services → dist/services}/angle-utils.d.ts +15 -16
- package/{services → dist/services}/color-scale-utils.d.ts +2 -2
- package/dist/services/curves.d.ts +24 -0
- package/dist/services/essentials/dom-utils.d.ts +45 -0
- package/dist/services/essentials/events.d.ts +8 -0
- package/dist/services/essentials/files.d.ts +7 -0
- package/{build/src → dist}/services/essentials/gradient-utils.d.ts +2 -2
- package/dist/services/essentials/index.d.ts +5 -0
- package/dist/services/essentials/transitions.d.ts +13 -0
- package/dist/services/index.d.ts +9 -0
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/index.mjs +32 -0
- package/dist/services/index.mjs.map +1 -0
- package/dist/services/scales-cartesian.d.ts +89 -0
- package/dist/services/service.d.ts +11 -0
- package/{services → dist/services}/time-series.d.ts +13 -13
- package/{build/src → dist}/services/zoom.d.ts +2 -2
- package/{styles → dist/styles}/_chart-holder.scss +5 -5
- package/{styles → dist/styles}/color-palatte.scss +66 -66
- package/{styles → dist/styles}/colors.scss +15 -39
- package/{styles → dist/styles}/components/_color-legend.scss +2 -2
- package/{styles → dist/styles}/components/_edge.scss +4 -4
- package/{styles → dist/styles}/components/_grid.scss +2 -2
- package/dist/styles/components/_marker.scss +7 -0
- package/{styles → dist/styles}/components/_meter-title.scss +2 -2
- package/{styles → dist/styles}/components/_tooltip.scss +3 -3
- package/{styles → dist/styles}/components/diagrams/_card-node.scss +3 -3
- package/{styles → dist/styles}/components/diagrams/_edge.scss +5 -5
- package/{styles → dist/styles}/components/diagrams/_shape-node.scss +3 -3
- package/dist/styles/components/diagrams/index.scss +4 -0
- package/{styles → dist/styles}/graphs/_alluvial.scss +2 -2
- package/{styles → dist/styles}/graphs/_bullet.scss +3 -3
- package/{styles → dist/styles}/graphs/_circle-pack.scss +1 -1
- package/{styles → dist/styles}/graphs/_gauge.scss +1 -1
- package/{styles → dist/styles}/graphs/_heatmap.scss +2 -2
- package/{styles → dist/styles}/graphs/_meter.scss +1 -1
- package/{styles → dist/styles}/graphs/_radar.scss +1 -1
- package/{styles → dist/styles}/graphs/_scatter-stacked.scss +1 -1
- package/{styles → dist/styles}/graphs/_tree.scss +2 -3
- package/{styles → dist/styles}/styles.scss +8 -3
- package/{styles → dist/styles}/tokens.scss +97 -106
- package/dist/styles.css +28264 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.min.css +1 -0
- package/dist/styles.min.css.map +1 -0
- package/{tools.d.ts → dist/tools.d.ts} +144 -144
- package/package.json +136 -101
- package/axis-chart.d.ts +0 -10
- package/axis-chart.js +0 -169
- package/axis-chart.js.map +0 -1
- package/build/demo/create-codesandbox.d.ts +0 -113
- package/build/demo/data/high-scale.d.ts +0 -1
- package/build/demo/data/index.d.ts +0 -33
- package/build/demo/utils.d.ts +0 -40
- package/build/src/axis-chart.d.ts +0 -10
- package/build/src/chart.d.ts +0 -14
- package/build/src/charts/alluvial.d.ts +0 -8
- package/build/src/charts/area-stacked.d.ts +0 -6
- package/build/src/charts/area.d.ts +0 -6
- package/build/src/charts/bar-grouped.d.ts +0 -6
- package/build/src/charts/bar-simple.d.ts +0 -6
- package/build/src/charts/bar-stacked.d.ts +0 -6
- package/build/src/charts/boxplot.d.ts +0 -8
- package/build/src/charts/bubble.d.ts +0 -6
- package/build/src/charts/bullet.d.ts +0 -8
- package/build/src/charts/choropleth.d.ts +0 -10
- package/build/src/charts/circle-pack.d.ts +0 -8
- package/build/src/charts/combo.d.ts +0 -7
- package/build/src/charts/donut.d.ts +0 -6
- package/build/src/charts/gauge.d.ts +0 -8
- package/build/src/charts/heatmap.d.ts +0 -10
- package/build/src/charts/histogram.d.ts +0 -8
- package/build/src/charts/index.d.ts +0 -25
- package/build/src/charts/line.d.ts +0 -6
- package/build/src/charts/lollipop.d.ts +0 -6
- package/build/src/charts/meter.d.ts +0 -8
- package/build/src/charts/pie.d.ts +0 -8
- package/build/src/charts/radar.d.ts +0 -8
- package/build/src/charts/scatter.d.ts +0 -6
- package/build/src/charts/tree.d.ts +0 -8
- package/build/src/charts/treemap.d.ts +0 -8
- package/build/src/charts/wordcloud.d.ts +0 -8
- package/build/src/components/axes/axis.d.ts +0 -24
- package/build/src/components/axes/grid-brush.d.ts +0 -10
- package/build/src/components/axes/grid.d.ts +0 -22
- package/build/src/components/axes/ruler-binned.d.ts +0 -7
- package/build/src/components/axes/ruler.d.ts +0 -27
- package/build/src/components/axes/two-dimensional-axes.d.ts +0 -16
- package/build/src/components/axes/zero-line.d.ts +0 -7
- package/build/src/components/axes/zoom-bar.d.ts +0 -28
- package/build/src/components/diagrams/buildPaths.d.ts +0 -63
- package/build/src/components/essentials/canvas-chart-clip.d.ts +0 -6
- package/build/src/components/essentials/modal.d.ts +0 -14
- package/build/src/components/essentials/title-meter.d.ts +0 -30
- package/build/src/components/essentials/title.d.ts +0 -20
- package/build/src/components/graphs/alluvial.d.ts +0 -14
- package/build/src/components/graphs/area-stacked.d.ts +0 -11
- package/build/src/components/graphs/area.d.ts +0 -12
- package/build/src/components/graphs/boxplot.d.ts +0 -9
- package/build/src/components/graphs/bullet.d.ts +0 -12
- package/build/src/components/graphs/choropleth.d.ts +0 -6
- package/build/src/components/graphs/histogram.d.ts +0 -12
- package/build/src/components/graphs/line.d.ts +0 -11
- package/build/src/components/graphs/lollipop.d.ts +0 -14
- package/build/src/components/graphs/meter.d.ts +0 -10
- package/build/src/components/graphs/scatter.d.ts +0 -21
- package/build/src/components/graphs/skeleton-lines.d.ts +0 -11
- package/build/src/components/graphs/tree.d.ts +0 -9
- package/build/src/components/graphs/treemap.d.ts +0 -11
- package/build/src/components/index.d.ts +0 -53
- package/build/src/components/layout/layout.d.ts +0 -17
- package/build/src/components/layout/spacer.d.ts +0 -5
- package/build/src/configuration.d.ts +0 -46
- package/build/src/interfaces/charts.d.ts +0 -512
- package/build/src/interfaces/index.d.ts +0 -7
- package/build/src/interfaces/layout.d.ts +0 -15
- package/build/src/model/heatmap.d.ts +0 -52
- package/build/src/model/meter.d.ts +0 -19
- package/build/src/model/model.d.ts +0 -107
- package/build/src/services/angle-utils.d.ts +0 -205
- package/build/src/services/color-scale-utils.d.ts +0 -10
- package/build/src/services/curves.d.ts +0 -25
- package/build/src/services/essentials/dom-utils.d.ts +0 -39
- package/build/src/services/essentials/events.d.ts +0 -8
- package/build/src/services/essentials/files.d.ts +0 -6
- package/build/src/services/essentials/transitions.d.ts +0 -13
- package/build/src/services/index.d.ts +0 -10
- package/build/src/services/scales-cartesian.d.ts +0 -86
- package/build/src/services/service.d.ts +0 -10
- package/build/src/services/time-series.d.ts +0 -787
- package/build/src/tools.d.ts +0 -2427
- package/build/stories/all.stories.d.ts +0 -1
- package/build/stories/tutorials/api.d.ts +0 -4
- package/build/stories/tutorials/color-palette.d.ts +0 -4
- package/build/stories/tutorials/combo-charts.d.ts +0 -4
- package/build/stories/tutorials/dual-axes.d.ts +0 -4
- package/build/stories/tutorials/event-listeners.d.ts +0 -4
- package/build/stories/tutorials/getting-started/angular.d.ts +0 -5
- package/build/stories/tutorials/getting-started/react.d.ts +0 -5
- package/build/stories/tutorials/getting-started/vanilla.d.ts +0 -5
- package/build/stories/tutorials/getting-started/vue.d.ts +0 -5
- package/build/stories/tutorials/index.d.ts +0 -11
- package/build/stories/tutorials/tabular-data-format.d.ts +0 -4
- package/build/stories/tutorials/themes.d.ts +0 -4
- package/build/stories/tutorials.stories.d.ts +0 -1
- package/bundle.js +0 -17
- package/chart.d.ts +0 -14
- package/chart.js +0 -198
- package/chart.js.map +0 -1
- package/charts/alluvial.d.ts +0 -8
- package/charts/alluvial.js +0 -46
- package/charts/alluvial.js.map +0 -1
- package/charts/area-stacked.d.ts +0 -6
- package/charts/area-stacked.js +0 -55
- package/charts/area-stacked.js.map +0 -1
- package/charts/area.d.ts +0 -6
- package/charts/area.js +0 -54
- package/charts/area.js.map +0 -1
- package/charts/bar-grouped.d.ts +0 -6
- package/charts/bar-grouped.js +0 -49
- package/charts/bar-grouped.js.map +0 -1
- package/charts/bar-simple.d.ts +0 -6
- package/charts/bar-simple.js +0 -49
- package/charts/bar-simple.js.map +0 -1
- package/charts/bar-stacked.d.ts +0 -6
- package/charts/bar-stacked.js +0 -50
- package/charts/bar-stacked.js.map +0 -1
- package/charts/boxplot.d.ts +0 -8
- package/charts/boxplot.js +0 -55
- package/charts/boxplot.js.map +0 -1
- package/charts/bubble.d.ts +0 -6
- package/charts/bubble.js +0 -49
- package/charts/bubble.js.map +0 -1
- package/charts/bullet.d.ts +0 -8
- package/charts/bullet.js +0 -50
- package/charts/bullet.js.map +0 -1
- package/charts/choropleth.d.ts +0 -10
- package/charts/choropleth.js +0 -141
- package/charts/choropleth.js.map +0 -1
- package/charts/circle-pack.d.ts +0 -8
- package/charts/circle-pack.js +0 -45
- package/charts/circle-pack.js.map +0 -1
- package/charts/combo.d.ts +0 -7
- package/charts/combo.js +0 -132
- package/charts/combo.js.map +0 -1
- package/charts/donut.d.ts +0 -6
- package/charts/donut.js +0 -46
- package/charts/donut.js.map +0 -1
- package/charts/gauge.d.ts +0 -8
- package/charts/gauge.js +0 -42
- package/charts/gauge.js.map +0 -1
- package/charts/heatmap.d.ts +0 -10
- package/charts/heatmap.js +0 -142
- package/charts/heatmap.js.map +0 -1
- package/charts/histogram.d.ts +0 -8
- package/charts/histogram.js +0 -48
- package/charts/histogram.js.map +0 -1
- package/charts/index.d.ts +0 -25
- package/charts/index.js +0 -26
- package/charts/index.js.map +0 -1
- package/charts/line.d.ts +0 -6
- package/charts/line.js +0 -48
- package/charts/line.js.map +0 -1
- package/charts/lollipop.d.ts +0 -6
- package/charts/lollipop.js +0 -50
- package/charts/lollipop.js.map +0 -1
- package/charts/meter.d.ts +0 -8
- package/charts/meter.js +0 -94
- package/charts/meter.js.map +0 -1
- package/charts/pie.d.ts +0 -8
- package/charts/pie.js +0 -55
- package/charts/pie.js.map +0 -1
- package/charts/radar.d.ts +0 -8
- package/charts/radar.js +0 -44
- package/charts/radar.js.map +0 -1
- package/charts/scatter.d.ts +0 -6
- package/charts/scatter.js +0 -49
- package/charts/scatter.js.map +0 -1
- package/charts/tree.d.ts +0 -8
- package/charts/tree.js +0 -47
- package/charts/tree.js.map +0 -1
- package/charts/treemap.d.ts +0 -8
- package/charts/treemap.js +0 -43
- package/charts/treemap.js.map +0 -1
- package/charts/wordcloud.d.ts +0 -8
- package/charts/wordcloud.js +0 -49
- package/charts/wordcloud.js.map +0 -1
- package/components/axes/axis.d.ts +0 -24
- package/components/axes/axis.js +0 -587
- package/components/axes/axis.js.map +0 -1
- package/components/axes/chart-clip.d.ts +0 -13
- package/components/axes/chart-clip.js +0 -63
- package/components/axes/chart-clip.js.map +0 -1
- package/components/axes/grid-brush.js +0 -170
- package/components/axes/grid-brush.js.map +0 -1
- package/components/axes/grid.js +0 -235
- package/components/axes/grid.js.map +0 -1
- package/components/axes/hover-axis.d.ts +0 -10
- package/components/axes/hover-axis.js +0 -243
- package/components/axes/hover-axis.js.map +0 -1
- package/components/axes/ruler-binned.js +0 -136
- package/components/axes/ruler-binned.js.map +0 -1
- package/components/axes/ruler-stacked.d.ts +0 -4
- package/components/axes/ruler-stacked.js +0 -26
- package/components/axes/ruler-stacked.js.map +0 -1
- package/components/axes/ruler.js +0 -209
- package/components/axes/ruler.js.map +0 -1
- package/components/axes/toolbar.d.ts +0 -40
- package/components/axes/toolbar.js +0 -558
- package/components/axes/toolbar.js.map +0 -1
- package/components/axes/two-dimensional-axes.js +0 -134
- package/components/axes/two-dimensional-axes.js.map +0 -1
- package/components/axes/zero-line.js +0 -76
- package/components/axes/zero-line.js.map +0 -1
- package/components/axes/zoom-bar.js +0 -490
- package/components/axes/zoom-bar.js.map +0 -1
- package/components/component.d.ts +0 -28
- package/components/component.js +0 -102
- package/components/component.js.map +0 -1
- package/components/diagrams/buildPaths.d.ts +0 -39
- package/components/diagrams/buildPaths.js +0 -71
- package/components/diagrams/buildPaths.js.map +0 -1
- package/components/diagrams/markerDefinitions.d.ts +0 -37
- package/components/diagrams/markerDefinitions.js +0 -38
- package/components/diagrams/markerDefinitions.js.map +0 -1
- package/components/essentials/canvas-chart-clip.js +0 -46
- package/components/essentials/canvas-chart-clip.js.map +0 -1
- package/components/essentials/color-scale-legend.d.ts +0 -20
- package/components/essentials/color-scale-legend.js +0 -237
- package/components/essentials/color-scale-legend.js.map +0 -1
- package/components/essentials/geo-projection.d.ts +0 -16
- package/components/essentials/geo-projection.js +0 -160
- package/components/essentials/geo-projection.js.map +0 -1
- package/components/essentials/highlights.d.ts +0 -13
- package/components/essentials/highlights.js +0 -196
- package/components/essentials/highlights.js.map +0 -1
- package/components/essentials/legend.d.ts +0 -11
- package/components/essentials/legend.js +0 -428
- package/components/essentials/legend.js.map +0 -1
- package/components/essentials/modal.js +0 -89
- package/components/essentials/modal.js.map +0 -1
- package/components/essentials/threshold.d.ts +0 -20
- package/components/essentials/threshold.js +0 -306
- package/components/essentials/threshold.js.map +0 -1
- package/components/essentials/title-meter.js +0 -279
- package/components/essentials/title-meter.js.map +0 -1
- package/components/essentials/title.js +0 -138
- package/components/essentials/title.js.map +0 -1
- package/components/essentials/tooltip-axis.d.ts +0 -4
- package/components/essentials/tooltip-axis.js +0 -142
- package/components/essentials/tooltip-axis.js.map +0 -1
- package/components/essentials/tooltip.d.ts +0 -22
- package/components/essentials/tooltip.js +0 -263
- package/components/essentials/tooltip.js.map +0 -1
- package/components/graphs/alluvial.js +0 -535
- package/components/graphs/alluvial.js.map +0 -1
- package/components/graphs/area-stacked.js +0 -131
- package/components/graphs/area-stacked.js.map +0 -1
- package/components/graphs/area.d.ts +0 -12
- package/components/graphs/area.js +0 -260
- package/components/graphs/area.js.map +0 -1
- package/components/graphs/bar-grouped.d.ts +0 -22
- package/components/graphs/bar-grouped.js +0 -312
- package/components/graphs/bar-grouped.js.map +0 -1
- package/components/graphs/bar-simple.d.ts +0 -12
- package/components/graphs/bar-simple.js +0 -218
- package/components/graphs/bar-simple.js.map +0 -1
- package/components/graphs/bar-stacked.d.ts +0 -13
- package/components/graphs/bar-stacked.js +0 -281
- package/components/graphs/bar-stacked.js.map +0 -1
- package/components/graphs/bar.d.ts +0 -5
- package/components/graphs/bar.js +0 -58
- package/components/graphs/bar.js.map +0 -1
- package/components/graphs/boxplot.js +0 -485
- package/components/graphs/boxplot.js.map +0 -1
- package/components/graphs/bubble.d.ts +0 -13
- package/components/graphs/bubble.js +0 -113
- package/components/graphs/bubble.js.map +0 -1
- package/components/graphs/bullet.d.ts +0 -12
- package/components/graphs/bullet.js +0 -395
- package/components/graphs/bullet.js.map +0 -1
- package/components/graphs/choropleth.js +0 -106
- package/components/graphs/choropleth.js.map +0 -1
- package/components/graphs/circle-pack.d.ts +0 -19
- package/components/graphs/circle-pack.js +0 -388
- package/components/graphs/circle-pack.js.map +0 -1
- package/components/graphs/donut.d.ts +0 -9
- package/components/graphs/donut.js +0 -116
- package/components/graphs/donut.js.map +0 -1
- package/components/graphs/gauge.d.ts +0 -27
- package/components/graphs/gauge.js +0 -347
- package/components/graphs/gauge.js.map +0 -1
- package/components/graphs/heatmap.d.ts +0 -25
- package/components/graphs/heatmap.js +0 -388
- package/components/graphs/heatmap.js.map +0 -1
- package/components/graphs/histogram.d.ts +0 -12
- package/components/graphs/histogram.js +0 -220
- package/components/graphs/histogram.js.map +0 -1
- package/components/graphs/line.d.ts +0 -11
- package/components/graphs/line.js +0 -179
- package/components/graphs/line.js.map +0 -1
- package/components/graphs/lollipop.d.ts +0 -14
- package/components/graphs/lollipop.js +0 -164
- package/components/graphs/lollipop.js.map +0 -1
- package/components/graphs/meter.js +0 -284
- package/components/graphs/meter.js.map +0 -1
- package/components/graphs/pie.d.ts +0 -16
- package/components/graphs/pie.js +0 -438
- package/components/graphs/pie.js.map +0 -1
- package/components/graphs/radar.d.ts +0 -25
- package/components/graphs/radar.js +0 -737
- package/components/graphs/radar.js.map +0 -1
- package/components/graphs/scatter-stacked.d.ts +0 -8
- package/components/graphs/scatter-stacked.js +0 -140
- package/components/graphs/scatter-stacked.js.map +0 -1
- package/components/graphs/scatter.d.ts +0 -21
- package/components/graphs/scatter.js +0 -360
- package/components/graphs/scatter.js.map +0 -1
- package/components/graphs/skeleton-lines.d.ts +0 -11
- package/components/graphs/skeleton-lines.js +0 -84
- package/components/graphs/skeleton-lines.js.map +0 -1
- package/components/graphs/skeleton.d.ts +0 -22
- package/components/graphs/skeleton.js +0 -272
- package/components/graphs/skeleton.js.map +0 -1
- package/components/graphs/tree.js +0 -262
- package/components/graphs/tree.js.map +0 -1
- package/components/graphs/treemap.d.ts +0 -11
- package/components/graphs/treemap.js +0 -344
- package/components/graphs/treemap.js.map +0 -1
- package/components/graphs/wordcloud.d.ts +0 -12
- package/components/graphs/wordcloud.js +0 -268
- package/components/graphs/wordcloud.js.map +0 -1
- package/components/index.d.ts +0 -53
- package/components/index.js +0 -59
- package/components/index.js.map +0 -1
- package/components/layout/layout.js +0 -191
- package/components/layout/layout.js.map +0 -1
- package/components/layout/spacer.d.ts +0 -5
- package/components/layout/spacer.js +0 -33
- package/components/layout/spacer.js.map +0 -1
- package/configuration-non-customizable.d.ts +0 -263
- package/configuration-non-customizable.js +0 -276
- package/configuration-non-customizable.js.map +0 -1
- package/configuration.js +0 -552
- package/configuration.js.map +0 -1
- package/demo/create-codesandbox.d.ts +0 -65
- package/demo/create-codesandbox.js +0 -173
- package/demo/create-codesandbox.js.map +0 -1
- package/demo/data/CHART_TYPES.d.ts +0 -128
- package/demo/data/CHART_TYPES.js +0 -128
- package/demo/data/CHART_TYPES.js.map +0 -1
- package/demo/data/alluvial.d.ts +0 -109
- package/demo/data/alluvial.js +0 -328
- package/demo/data/alluvial.js.map +0 -1
- package/demo/data/area.d.ts +0 -224
- package/demo/data/area.js +0 -330
- package/demo/data/area.js.map +0 -1
- package/demo/data/bar.d.ts +0 -681
- package/demo/data/bar.js +0 -915
- package/demo/data/bar.js.map +0 -1
- package/demo/data/boxplot.d.ts +0 -34
- package/demo/data/boxplot.js +0 -48
- package/demo/data/boxplot.js.map +0 -1
- package/demo/data/bubble.d.ts +0 -141
- package/demo/data/bubble.js +0 -182
- package/demo/data/bubble.js.map +0 -1
- package/demo/data/bullet.d.ts +0 -24
- package/demo/data/bullet.js +0 -55
- package/demo/data/bullet.js.map +0 -1
- package/demo/data/bundle.js +0 -1
- package/demo/data/choropleth.d.ts +0 -738
- package/demo/data/choropleth.js +0 -1684
- package/demo/data/choropleth.js.map +0 -1
- package/demo/data/circle-pack.d.ts +0 -91
- package/demo/data/circle-pack.js +0 -224
- package/demo/data/circle-pack.js.map +0 -1
- package/demo/data/combo.d.ts +0 -482
- package/demo/data/combo.js +0 -571
- package/demo/data/combo.js.map +0 -1
- package/demo/data/donut.d.ts +0 -64
- package/demo/data/donut.js +0 -60
- package/demo/data/donut.js.map +0 -1
- package/demo/data/gauge.d.ts +0 -40
- package/demo/data/gauge.js +0 -41
- package/demo/data/gauge.js.map +0 -1
- package/demo/data/heatmap.d.ts +0 -125
- package/demo/data/heatmap.js +0 -1149
- package/demo/data/heatmap.js.map +0 -1
- package/demo/data/high-scale.d.ts +0 -1
- package/demo/data/high-scale.js +0 -5
- package/demo/data/high-scale.js.map +0 -1
- package/demo/data/hightlight.d.ts +0 -40
- package/demo/data/hightlight.js +0 -44
- package/demo/data/hightlight.js.map +0 -1
- package/demo/data/histogram.d.ts +0 -63
- package/demo/data/histogram.js +0 -312
- package/demo/data/histogram.js.map +0 -1
- package/demo/data/index.d.ts +0 -33
- package/demo/data/index.js +0 -1305
- package/demo/data/index.js.map +0 -1
- package/demo/data/line.d.ts +0 -361
- package/demo/data/line.js +0 -480
- package/demo/data/line.js.map +0 -1
- package/demo/data/lollipop.d.ts +0 -39
- package/demo/data/lollipop.js +0 -37
- package/demo/data/lollipop.js.map +0 -1
- package/demo/data/meter.d.ts +0 -95
- package/demo/data/meter.js +0 -114
- package/demo/data/meter.js.map +0 -1
- package/demo/data/pie.d.ts +0 -46
- package/demo/data/pie.js +0 -55
- package/demo/data/pie.js.map +0 -1
- package/demo/data/radar.d.ts +0 -63
- package/demo/data/radar.js +0 -118
- package/demo/data/radar.js.map +0 -1
- package/demo/data/scatter.d.ts +0 -118
- package/demo/data/scatter.js +0 -143
- package/demo/data/scatter.js.map +0 -1
- package/demo/data/step.d.ts +0 -96
- package/demo/data/step.js +0 -27
- package/demo/data/step.js.map +0 -1
- package/demo/data/time-series-axis.d.ts +0 -368
- package/demo/data/time-series-axis.js +0 -436
- package/demo/data/time-series-axis.js.map +0 -1
- package/demo/data/toolbar.d.ts +0 -12
- package/demo/data/toolbar.js +0 -67
- package/demo/data/toolbar.js.map +0 -1
- package/demo/data/topojson-110.d.ts +0 -360
- package/demo/data/topojson-110.js +0 -40724
- package/demo/data/topojson-110.js.map +0 -1
- package/demo/data/tree.d.ts +0 -30
- package/demo/data/tree.js +0 -209
- package/demo/data/tree.js.map +0 -1
- package/demo/data/treemap.d.ts +0 -15
- package/demo/data/treemap.js +0 -93
- package/demo/data/treemap.js.map +0 -1
- package/demo/data/wordcloud.d.ts +0 -14
- package/demo/data/wordcloud.js +0 -105
- package/demo/data/wordcloud.js.map +0 -1
- package/demo/data/zoom-bar.d.ts +0 -94
- package/demo/data/zoom-bar.js +0 -187
- package/demo/data/zoom-bar.js.map +0 -1
- package/demo/styles.css.map +0 -1
- package/demo/styles.min.css +0 -1
- package/demo/styles.min.css.map +0 -1
- package/demo/tsconfig.tsbuildinfo +0 -1451
- package/demo/utils.d.ts +0 -24
- package/demo/utils.js +0 -222
- package/demo/utils.js.map +0 -1
- package/index.d.ts +0 -4
- package/index.js +0 -6
- package/index.js.map +0 -1
- package/interfaces/a11y.d.ts +0 -12
- package/interfaces/a11y.js +0 -14
- package/interfaces/a11y.js.map +0 -1
- package/interfaces/axis-scales.d.ts +0 -201
- package/interfaces/axis-scales.js +0 -1
- package/interfaces/axis-scales.js.map +0 -1
- package/interfaces/charts.js +0 -1
- package/interfaces/charts.js.map +0 -1
- package/interfaces/components.d.ts +0 -231
- package/interfaces/components.js +0 -1
- package/interfaces/components.js.map +0 -1
- package/interfaces/enums.d.ts +0 -261
- package/interfaces/enums.js +0 -296
- package/interfaces/enums.js.map +0 -1
- package/interfaces/events.d.ts +0 -239
- package/interfaces/events.js +0 -269
- package/interfaces/events.js.map +0 -1
- package/interfaces/index.d.ts +0 -7
- package/interfaces/index.js +0 -3
- package/interfaces/index.js.map +0 -1
- package/interfaces/layout.js +0 -1
- package/interfaces/layout.js.map +0 -1
- package/interfaces/model.d.ts +0 -35
- package/interfaces/model.js +0 -1
- package/interfaces/model.js.map +0 -1
- package/interfaces/truncation.d.ts +0 -17
- package/interfaces/truncation.js +0 -1
- package/interfaces/truncation.js.map +0 -1
- package/model/alluvial.d.ts +0 -8
- package/model/alluvial.js +0 -47
- package/model/alluvial.js.map +0 -1
- package/model/binned-charts.d.ts +0 -7
- package/model/binned-charts.js +0 -52
- package/model/binned-charts.js.map +0 -1
- package/model/boxplot.d.ts +0 -14
- package/model/boxplot.js +0 -174
- package/model/boxplot.js.map +0 -1
- package/model/bullet.d.ts +0 -14
- package/model/bullet.js +0 -74
- package/model/bullet.js.map +0 -1
- package/model/cartesian-charts.d.ts +0 -24
- package/model/cartesian-charts.js +0 -202
- package/model/cartesian-charts.js.map +0 -1
- package/model/choropleth.d.ts +0 -29
- package/model/choropleth.js +0 -105
- package/model/choropleth.js.map +0 -1
- package/model/circle-pack.d.ts +0 -36
- package/model/circle-pack.js +0 -189
- package/model/circle-pack.js.map +0 -1
- package/model/gauge.d.ts +0 -9
- package/model/gauge.js +0 -51
- package/model/gauge.js.map +0 -1
- package/model/heatmap.js +0 -220
- package/model/heatmap.js.map +0 -1
- package/model/meter.js +0 -118
- package/model/meter.js.map +0 -1
- package/model/model.js +0 -712
- package/model/model.js.map +0 -1
- package/model/pie.d.ts +0 -9
- package/model/pie.js +0 -66
- package/model/pie.js.map +0 -1
- package/model/radar.d.ts +0 -7
- package/model/radar.js +0 -52
- package/model/radar.js.map +0 -1
- package/model/tree.d.ts +0 -14
- package/model/tree.js +0 -56
- package/model/tree.js.map +0 -1
- package/model/treemap.d.ts +0 -8
- package/model/treemap.js +0 -44
- package/model/treemap.js.map +0 -1
- package/model/wordcloud.d.ts +0 -7
- package/model/wordcloud.js +0 -47
- package/model/wordcloud.js.map +0 -1
- package/polyfills.d.ts +0 -0
- package/polyfills.js +0 -29
- package/polyfills.js.map +0 -1
- package/services/angle-utils.js +0 -82
- package/services/angle-utils.js.map +0 -1
- package/services/canvas-zoom.d.ts +0 -11
- package/services/canvas-zoom.js +0 -72
- package/services/canvas-zoom.js.map +0 -1
- package/services/color-scale-utils.js +0 -64
- package/services/color-scale-utils.js.map +0 -1
- package/services/curves.d.ts +0 -25
- package/services/curves.js +0 -77
- package/services/curves.js.map +0 -1
- package/services/essentials/dom-utils.d.ts +0 -39
- package/services/essentials/dom-utils.js +0 -423
- package/services/essentials/dom-utils.js.map +0 -1
- package/services/essentials/events.d.ts +0 -8
- package/services/essentials/events.js +0 -53
- package/services/essentials/events.js.map +0 -1
- package/services/essentials/files.d.ts +0 -6
- package/services/essentials/files.js +0 -60
- package/services/essentials/files.js.map +0 -1
- package/services/essentials/gradient-utils.d.ts +0 -6
- package/services/essentials/gradient-utils.js +0 -85
- package/services/essentials/gradient-utils.js.map +0 -1
- package/services/essentials/transitions.d.ts +0 -13
- package/services/essentials/transitions.js +0 -51
- package/services/essentials/transitions.js.map +0 -1
- package/services/index.d.ts +0 -10
- package/services/index.js +0 -13
- package/services/index.js.map +0 -1
- package/services/scales-cartesian.d.ts +0 -86
- package/services/scales-cartesian.js +0 -656
- package/services/scales-cartesian.js.map +0 -1
- package/services/service.d.ts +0 -10
- package/services/service.js +0 -24
- package/services/service.js.map +0 -1
- package/services/time-series.js +0 -147
- package/services/time-series.js.map +0 -1
- package/services/zoom.d.ts +0 -21
- package/services/zoom.js +0 -217
- package/services/zoom.js.map +0 -1
- package/styles/components/_marker.scss +0 -7
- package/styles/components/diagrams/index.scss +0 -4
- package/styles.css +0 -6325
- package/styles.css.map +0 -1
- package/styles.min.css +0 -1
- package/styles.min.css.map +0 -1
- package/tools.js +0 -348
- package/tools.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -3816
- /package/{build/src → dist}/components/axes/ruler-stacked.d.ts +0 -0
- /package/{build/src → dist}/components/diagrams/markerDefinitions.d.ts +0 -0
- /package/{build/src → dist}/components/essentials/tooltip-axis.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/alluvial.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/area.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/bar.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/boxplot.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/bubble.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/bullet.d.ts +0 -0
- /package/{build/demo/data/CHART_TYPES.d.ts → dist/demo/charts/chart-types.d.ts} +0 -0
- /package/{build/demo/data → dist/demo/charts}/choropleth.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/circle-pack.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/combo.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/donut.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/gauge.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/heatmap.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/hightlight.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/histogram.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/line.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/lollipop.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/meter.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/pie.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/radar.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/scatter.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/step.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/toolbar.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/topojson-110.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/tree.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/treemap.d.ts +0 -0
- /package/{build/demo/data → dist/demo/charts}/wordcloud.d.ts +0 -0
- /package/{build/src → dist}/interfaces/a11y.d.ts +0 -0
- /package/{build/src → dist}/interfaces/enums.d.ts +0 -0
- /package/{build/src → dist}/interfaces/events.d.ts +0 -0
- /package/{build/src → dist}/model/alluvial.d.ts +0 -0
- /package/{build/src → dist}/model/boxplot.d.ts +0 -0
- /package/{build/src → dist}/model/bullet.d.ts +0 -0
- /package/{build/src → dist}/model/choropleth.d.ts +0 -0
- /package/{build/src → dist}/model/circle-pack.d.ts +0 -0
- /package/{build/src → dist}/model/gauge.d.ts +0 -0
- /package/{build/src → dist}/model/pie.d.ts +0 -0
- /package/{build/src → dist}/model/radar.d.ts +0 -0
- /package/{build/src → dist}/model/tree.d.ts +0 -0
- /package/{build/src → dist}/model/treemap.d.ts +0 -0
- /package/{build/src → dist}/model/wordcloud.d.ts +0 -0
- /package/{build/src → dist}/services/canvas-zoom.d.ts +0 -0
- /package/{styles → dist/styles}/_type.scss +0 -0
- /package/{styles → dist/styles}/components/_axis.scss +0 -0
- /package/{styles → dist/styles}/components/_callouts.scss +0 -0
- /package/{styles → dist/styles}/components/_grid-brush.scss +0 -0
- /package/{styles → dist/styles}/components/_highlights.scss +0 -0
- /package/{styles → dist/styles}/components/_layout.scss +0 -0
- /package/{styles → dist/styles}/components/_legend.scss +0 -0
- /package/{styles → dist/styles}/components/_modal.scss +0 -0
- /package/{styles → dist/styles}/components/_ruler.scss +0 -0
- /package/{styles → dist/styles}/components/_skeleton-lines.scss +0 -0
- /package/{styles → dist/styles}/components/_skeleton.scss +0 -0
- /package/{styles → dist/styles}/components/_threshold.scss +0 -0
- /package/{styles → dist/styles}/components/_title.scss +0 -0
- /package/{styles → dist/styles}/components/_toolbar.scss +0 -0
- /package/{styles → dist/styles}/components/_zero-line.scss +0 -0
- /package/{styles → dist/styles}/components/_zoom-bar.scss +0 -0
- /package/{styles → dist/styles}/components/diagrams/_marker.scss +0 -0
- /package/{styles → dist/styles}/components/index.scss +0 -0
- /package/{styles → dist/styles}/graphs/_area.scss +0 -0
- /package/{styles → dist/styles}/graphs/_bubble.scss +0 -0
- /package/{styles → dist/styles}/graphs/_choropleth.scss +0 -0
- /package/{styles → dist/styles}/graphs/_donut.scss +0 -0
- /package/{styles → dist/styles}/graphs/_line.scss +0 -0
- /package/{styles → dist/styles}/graphs/_lollipop.scss +0 -0
- /package/{styles → dist/styles}/graphs/_pie.scss +0 -0
- /package/{styles → dist/styles}/graphs/_scatter.scss +0 -0
- /package/{styles → dist/styles}/graphs/_treemap.scss +0 -0
- /package/{styles → dist/styles}/graphs/_wordcloud.scss +0 -0
- /package/{styles → dist/styles}/graphs/index.scss +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type AxisScale, type Selection as D3Selection } from 'd3';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import { ScaleTypes, RenderTypes } from '../../interfaces/enums';
|
|
4
|
+
import type { ChartModel } from '../../model/model';
|
|
5
|
+
export declare class Axis extends Component {
|
|
6
|
+
type: string;
|
|
7
|
+
renderType: RenderTypes;
|
|
8
|
+
margins: any;
|
|
9
|
+
truncation: {
|
|
10
|
+
left: boolean;
|
|
11
|
+
right: boolean;
|
|
12
|
+
top: boolean;
|
|
13
|
+
bottom: boolean;
|
|
14
|
+
};
|
|
15
|
+
scale: AxisScale<any>;
|
|
16
|
+
scaleType: ScaleTypes;
|
|
17
|
+
constructor(model: ChartModel, services: any, configs?: any);
|
|
18
|
+
render(animate?: boolean): void;
|
|
19
|
+
addEventListeners(): void;
|
|
20
|
+
getInvisibleAxisRef(): D3Selection<import("d3-selection").BaseType, any, Element, any>;
|
|
21
|
+
getTitleRef(): D3Selection<import("d3-selection").BaseType, any, Element, any>;
|
|
22
|
+
getNumberOfFittingTicks(size: number, tickSize: number, spaceRatio: number): number;
|
|
23
|
+
destroy(): void;
|
|
24
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
import { RenderTypes } from '../../interfaces';
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import type { ChartModel } from '../../model/model';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
4
|
export declare class ChartClip extends Component {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { RenderTypes } from '../../interfaces';
|
|
3
|
-
export declare class ChartBrush extends Component {
|
|
4
|
-
static DASH_LENGTH: number;
|
|
5
|
-
type: string;
|
|
6
|
-
renderType: RenderTypes;
|
|
7
|
-
selectionSelector: string;
|
|
8
|
-
frontSelectionSelector: string;
|
|
9
|
-
render(animate?: boolean): void;
|
|
10
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class ChartBrush extends Component {
|
|
4
|
+
static DASH_LENGTH: number;
|
|
5
|
+
type: string;
|
|
6
|
+
renderType: RenderTypes;
|
|
7
|
+
selectionSelector: string;
|
|
8
|
+
frontSelectionSelector: string;
|
|
9
|
+
render(animate?: boolean): void;
|
|
10
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { RenderTypes } from '../../interfaces';
|
|
3
|
-
export declare class Grid extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
backdrop: any;
|
|
7
|
-
render(animate?: boolean): void;
|
|
8
|
-
drawXGrid(animate: boolean): void;
|
|
9
|
-
drawYGrid(animate: boolean): void;
|
|
10
|
-
/**
|
|
11
|
-
* Returns the threshold for the gridline tooltips based on the mouse location.
|
|
12
|
-
* Calculated based on the mouse position between the two closest gridlines or edges of chart.
|
|
13
|
-
*/
|
|
14
|
-
getGridlineThreshold(mousePos: any): number;
|
|
15
|
-
/**
|
|
16
|
-
* Returns the active gridlines based on the gridline threshold and mouse position.
|
|
17
|
-
* @param position mouse positon
|
|
18
|
-
*/
|
|
19
|
-
getActiveGridline(position: any): any
|
|
20
|
-
drawBackdrop(isXGridEnabled:
|
|
21
|
-
cleanGrid(g: any): void;
|
|
22
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class Grid extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
backdrop: any;
|
|
7
|
+
render(animate?: boolean): void;
|
|
8
|
+
drawXGrid(animate: boolean): void;
|
|
9
|
+
drawYGrid(animate: boolean): void;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the threshold for the gridline tooltips based on the mouse location.
|
|
12
|
+
* Calculated based on the mouse position between the two closest gridlines or edges of chart.
|
|
13
|
+
*/
|
|
14
|
+
getGridlineThreshold(mousePos: any): number;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the active gridlines based on the gridline threshold and mouse position.
|
|
17
|
+
* @param position mouse positon
|
|
18
|
+
*/
|
|
19
|
+
getActiveGridline(position: any): import("d3-selection").Selection<import("d3-selection").BaseType, unknown, HTMLDivElement | SVGGraphicsElement, any>;
|
|
20
|
+
drawBackdrop(isXGridEnabled: boolean, isYGridEnabled: boolean): void;
|
|
21
|
+
cleanGrid(g: any): void;
|
|
22
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Axis } from './axis';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
2
|
+
import type { ChartModel } from '../../model/model';
|
|
3
3
|
export declare class HoverAxis extends Axis {
|
|
4
4
|
constructor(model: ChartModel, services: any, configs?: any);
|
|
5
5
|
render(animate?: boolean): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Axis } from './axis';
|
|
2
|
+
export { BinnedRuler } from './ruler-binned';
|
|
3
|
+
export { ChartClip } from './chart-clip';
|
|
4
|
+
export { ChartBrush } from './grid-brush';
|
|
5
|
+
export { Grid } from './grid';
|
|
6
|
+
export { HoverAxis } from './hover-axis';
|
|
7
|
+
export { Ruler, type GenericSvgSelection } from './ruler';
|
|
8
|
+
export { StackedRuler } from './ruler-stacked';
|
|
9
|
+
export { Toolbar } from './toolbar';
|
|
10
|
+
export { TwoDimensionalAxes } from './two-dimensional-axes';
|
|
11
|
+
export { ZeroLine } from './zero-line';
|
|
12
|
+
export { ZoomBar } from './zoom-bar';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ruler } from './ruler';
|
|
2
|
-
import { RenderTypes } from '../../interfaces';
|
|
3
|
-
export declare class BinnedRuler extends Ruler {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
showRuler(event:
|
|
7
|
-
}
|
|
1
|
+
import { Ruler } from './ruler';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class BinnedRuler extends Ruler {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
showRuler(event: CustomEvent, [x, y]: [number, number]): void;
|
|
7
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export
|
|
5
|
-
export declare class Ruler extends Component {
|
|
6
|
-
type: string;
|
|
7
|
-
renderType: RenderTypes;
|
|
8
|
-
backdrop: GenericSvgSelection;
|
|
9
|
-
elementsToHighlight: GenericSvgSelection;
|
|
10
|
-
pointsWithinLine: {
|
|
11
|
-
domainValue: number;
|
|
12
|
-
originalData: any;
|
|
13
|
-
}[];
|
|
14
|
-
isXGridEnabled: any;
|
|
15
|
-
isYGridEnabled: any;
|
|
16
|
-
isEventListenerAdded: boolean;
|
|
17
|
-
render(): void;
|
|
18
|
-
removeBackdropEventListeners(): void;
|
|
19
|
-
formatTooltipData(tooltipData: any): any;
|
|
20
|
-
showRuler(event:
|
|
21
|
-
hideRuler(): void;
|
|
22
|
-
/**
|
|
23
|
-
* Adds the listener on the X grid to trigger multiple point tooltips along the x axis.
|
|
24
|
-
*/
|
|
25
|
-
addBackdropEventListeners(): void;
|
|
26
|
-
drawBackdrop(): void;
|
|
27
|
-
}
|
|
1
|
+
import { Selection } from 'd3';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
|
+
export type GenericSvgSelection = Selection<SVGGraphicsElement, any, Element, any>;
|
|
5
|
+
export declare class Ruler extends Component {
|
|
6
|
+
type: string;
|
|
7
|
+
renderType: RenderTypes;
|
|
8
|
+
backdrop: GenericSvgSelection;
|
|
9
|
+
elementsToHighlight: GenericSvgSelection;
|
|
10
|
+
pointsWithinLine: {
|
|
11
|
+
domainValue: number;
|
|
12
|
+
originalData: any;
|
|
13
|
+
}[];
|
|
14
|
+
isXGridEnabled: any;
|
|
15
|
+
isYGridEnabled: any;
|
|
16
|
+
isEventListenerAdded: boolean;
|
|
17
|
+
render(animate?: boolean): void;
|
|
18
|
+
removeBackdropEventListeners(): void;
|
|
19
|
+
formatTooltipData(tooltipData: any): any;
|
|
20
|
+
showRuler(event: CustomEvent, [x, y]: [number, number]): void;
|
|
21
|
+
hideRuler(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Adds the listener on the X grid to trigger multiple point tooltips along the x axis.
|
|
24
|
+
*/
|
|
25
|
+
addBackdropEventListeners(): void;
|
|
26
|
+
drawBackdrop(): void;
|
|
27
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { RenderTypes, ToolbarControlTypes } from '../../interfaces';
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes, ToolbarControlTypes } from '../../interfaces/enums';
|
|
3
3
|
export declare class Toolbar extends Component {
|
|
4
4
|
static buttonID: number;
|
|
5
5
|
type: string;
|
|
@@ -11,12 +11,12 @@ export declare class Toolbar extends Component {
|
|
|
11
11
|
renderOverflowMenu(): void;
|
|
12
12
|
isOverflowMenuOpen(): any;
|
|
13
13
|
updateOverflowMenu(show: boolean): void;
|
|
14
|
-
focusOnPreviousEnabledToolbarItem(currentItemIndex:
|
|
15
|
-
focusOnNextEnabledToolbarItem(currentItemIndex:
|
|
16
|
-
focusOnPreviousEnabledMenuItem(currentItemIndex:
|
|
17
|
-
focusOnNextEnabledMenuItem(currentItemIndex:
|
|
14
|
+
focusOnPreviousEnabledToolbarItem(currentItemIndex: number): void;
|
|
15
|
+
focusOnNextEnabledToolbarItem(currentItemIndex: number): void;
|
|
16
|
+
focusOnPreviousEnabledMenuItem(currentItemIndex: number): void;
|
|
17
|
+
focusOnNextEnabledMenuItem(currentItemIndex: number): void;
|
|
18
18
|
toggleOverflowMenu(event: any): void;
|
|
19
|
-
triggerFunctionAndEvent(control: any, event:
|
|
19
|
+
triggerFunctionAndEvent(control: any, event: CustomEvent, element?: any): void;
|
|
20
20
|
getControlConfigs(): {
|
|
21
21
|
buttonList: any[];
|
|
22
22
|
overflowMenuItemList?: undefined;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare class TwoDimensionalAxes extends Component {
|
|
5
|
-
type: string;
|
|
6
|
-
renderType: RenderTypes;
|
|
7
|
-
children: any;
|
|
8
|
-
thresholds: Threshold[];
|
|
9
|
-
margins: {
|
|
10
|
-
top: number;
|
|
11
|
-
right: number;
|
|
12
|
-
bottom: number;
|
|
13
|
-
left: number;
|
|
14
|
-
};
|
|
15
|
-
render(animate?: boolean): void;
|
|
16
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import type { Threshold } from '../../components/essentials/threshold';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
|
+
export declare class TwoDimensionalAxes extends Component {
|
|
5
|
+
type: string;
|
|
6
|
+
renderType: RenderTypes;
|
|
7
|
+
children: any;
|
|
8
|
+
thresholds: Threshold[];
|
|
9
|
+
margins: {
|
|
10
|
+
top: number;
|
|
11
|
+
right: number;
|
|
12
|
+
bottom: number;
|
|
13
|
+
left: number;
|
|
14
|
+
};
|
|
15
|
+
render(animate?: boolean): void;
|
|
16
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { RenderTypes } from '../../interfaces';
|
|
3
|
-
export declare class ZeroLine extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
render(animate: boolean): void;
|
|
7
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
|
+
export declare class ZeroLine extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
render(animate: boolean): void;
|
|
7
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { ChartModelCartesian } from '../../model/cartesian-charts';
|
|
3
|
-
import { RenderTypes } from '../../interfaces';
|
|
4
|
-
export declare class ZoomBar extends Component {
|
|
5
|
-
type: string;
|
|
6
|
-
renderType: RenderTypes;
|
|
7
|
-
MIN_SELECTION_DIFF: number;
|
|
8
|
-
brushSelector: string;
|
|
9
|
-
maxSelectionRange: [0, 0];
|
|
10
|
-
clipId: string;
|
|
11
|
-
brush: import("d3-brush").BrushBehavior<unknown>;
|
|
12
|
-
xScale: any;
|
|
13
|
-
yScale: any;
|
|
14
|
-
highlightStrokeWidth: number;
|
|
15
|
-
protected model: ChartModelCartesian;
|
|
16
|
-
init(): void;
|
|
17
|
-
render(animate?: boolean): void;
|
|
18
|
-
addBrushEventListener(zoomDomain: any, axesLeftMargin: any, width: any): void;
|
|
19
|
-
handleBrushedEvent(event: any, zoomDomain: any, scale: any, selection: any): void;
|
|
20
|
-
updateBrushHandle(svg: any, selection: any
|
|
21
|
-
updateSliderSelectedArea(selection: any): void;
|
|
22
|
-
renderZoomBarArea(container: any, querySelector: any, data: any, clipId: any): void;
|
|
23
|
-
updateClipPath(svg: any, clipId:
|
|
24
|
-
compensateDataForDefaultDomain(data: any, defaultDomain: any): any;
|
|
25
|
-
renderZoomBarBaseline(container:
|
|
26
|
-
renderSkeleton(container: any, startX:
|
|
27
|
-
destroy(): void;
|
|
28
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import type { ChartModelCartesian } from '../../model/cartesian-charts';
|
|
3
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
4
|
+
export declare class ZoomBar extends Component {
|
|
5
|
+
type: string;
|
|
6
|
+
renderType: RenderTypes;
|
|
7
|
+
MIN_SELECTION_DIFF: number;
|
|
8
|
+
brushSelector: string;
|
|
9
|
+
maxSelectionRange: [0, 0];
|
|
10
|
+
clipId: string;
|
|
11
|
+
brush: import("d3-brush").BrushBehavior<unknown>;
|
|
12
|
+
xScale: any;
|
|
13
|
+
yScale: any;
|
|
14
|
+
highlightStrokeWidth: number;
|
|
15
|
+
protected model: ChartModelCartesian;
|
|
16
|
+
init(): void;
|
|
17
|
+
render(animate?: boolean): void;
|
|
18
|
+
addBrushEventListener(zoomDomain: any, axesLeftMargin: any, width: any): void;
|
|
19
|
+
handleBrushedEvent(event: any, zoomDomain: any, scale: any, selection: any): void;
|
|
20
|
+
updateBrushHandle(svg: any, selection: any): void;
|
|
21
|
+
updateSliderSelectedArea(selection: any): void;
|
|
22
|
+
renderZoomBarArea(container: any, querySelector: any, data: any, clipId: any): void;
|
|
23
|
+
updateClipPath(svg: any, clipId: string, x: number | string, y: number | string, width: number | string, height: number | string): void;
|
|
24
|
+
compensateDataForDefaultDomain(data: any, defaultDomain: any): any;
|
|
25
|
+
renderZoomBarBaseline(container: HTMLElement, startX: number, endX: number, skeletonClass?: boolean): void;
|
|
26
|
+
renderSkeleton(container: any, startX: number, endX: number): void;
|
|
27
|
+
destroy(): void;
|
|
28
|
+
}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { type Selection as D3Selection } from 'd3';
|
|
2
|
+
import type { ChartModel } from '../model/model';
|
|
3
|
+
import { RenderTypes } from '../interfaces/enums';
|
|
4
|
+
import { Services } from '../interfaces/services';
|
|
3
5
|
export declare class Component {
|
|
4
6
|
type: string;
|
|
5
7
|
renderType: RenderTypes;
|
|
6
8
|
id: string;
|
|
7
|
-
protected parent: any;
|
|
9
|
+
protected parent: D3Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any> | undefined;
|
|
8
10
|
protected configs: any;
|
|
9
|
-
protected model:
|
|
10
|
-
protected services:
|
|
11
|
-
constructor(model: ChartModel, services:
|
|
11
|
+
protected model: ChartModel;
|
|
12
|
+
protected services: Services;
|
|
13
|
+
constructor(model: ChartModel, services: Services, configs?: any);
|
|
12
14
|
init(): void;
|
|
13
15
|
render(animate?: boolean): void;
|
|
14
16
|
destroy(): void;
|
|
15
17
|
setModel(newObj: any): void;
|
|
16
18
|
setServices(newObj: any): void;
|
|
17
19
|
setParent(parent: any): void;
|
|
18
|
-
getParent(): any
|
|
20
|
+
getParent(): D3Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
|
|
19
21
|
getComponentContainer(configs?: {
|
|
20
22
|
withinChartClip: boolean;
|
|
21
|
-
}): any
|
|
23
|
+
}): D3Selection<any, any, Element, any>;
|
|
22
24
|
/**
|
|
23
25
|
* graphs used in combo charts share a model with global options but can receive their own local options.
|
|
24
26
|
* this function retrieves the global options and merges it with any options passed into this
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Coordinates } from '../../interfaces/layout';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a path string for a straight path
|
|
4
|
+
* @param source - The source coordinates
|
|
5
|
+
* @param source.x - The source's x coordinate
|
|
6
|
+
* @param source.y - The source's y coordinate
|
|
7
|
+
* @param target - The target coordinates
|
|
8
|
+
* @param target.x - The target's x coordinate
|
|
9
|
+
* @param target.y - The target's y coordinate
|
|
10
|
+
* @return The path string
|
|
11
|
+
*/
|
|
12
|
+
declare const buildStraightPathString: (source: Coordinates, target: Coordinates) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Returns a path string for an elbow path with a bend point
|
|
15
|
+
* @param source - The source coordinates
|
|
16
|
+
* @param source.x - The source's x coordinate
|
|
17
|
+
* @param source.y - The source's y coordinate
|
|
18
|
+
* @param target - The target coordinates
|
|
19
|
+
* @param target.x - The target's x coordinate
|
|
20
|
+
* @param target.y - The target's y coordinate
|
|
21
|
+
* @param percent - Where the bend point should appear between the source and target
|
|
22
|
+
* @return The path string
|
|
23
|
+
*/
|
|
24
|
+
declare const buildElbowPathString: (source: Coordinates, target: Coordinates, percent?: number) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Returns a path string for an path with a custom bezier curve
|
|
27
|
+
* @param source - The source coordinates
|
|
28
|
+
* @param source.x - The source's x coordinate
|
|
29
|
+
* @param source.y - The source's y coordinate
|
|
30
|
+
* @param target - The target coordinates
|
|
31
|
+
* @param target.x - The target's x coordinate
|
|
32
|
+
* @param target.y - The target's y coordinate
|
|
33
|
+
* @param cpx1 - X coordinate for the first control point
|
|
34
|
+
* @param cpy1 - Y coordinate for the first control point
|
|
35
|
+
* @param cpx2 - X coordinate for the second control point
|
|
36
|
+
* @param cpy2 - Y coordinate for the second control point
|
|
37
|
+
* @return The path string
|
|
38
|
+
*/
|
|
39
|
+
declare const buildBezierPathString: (source: Coordinates, target: Coordinates, cpx1: number, cpy1: number, cpx2: number, cpy2: number) => string;
|
|
40
|
+
export { buildStraightPathString, buildElbowPathString, buildBezierPathString };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ChartClip } from '
|
|
2
|
-
export declare class CanvasChartClip extends ChartClip {
|
|
3
|
-
type: string;
|
|
4
|
-
chartClipId: string;
|
|
5
|
-
createClipPath(): void;
|
|
6
|
-
}
|
|
1
|
+
import { ChartClip } from '../../components/axes/chart-clip';
|
|
2
|
+
export declare class CanvasChartClip extends ChartClip {
|
|
3
|
+
type: string;
|
|
4
|
+
chartClipId: string;
|
|
5
|
+
createClipPath(): void;
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RenderTypes } from '../../interfaces';
|
|
1
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
2
2
|
import { Legend } from './legend';
|
|
3
|
-
import { ChartModel } from '../../model
|
|
3
|
+
import type { ChartModel } from '../../model';
|
|
4
4
|
export declare class ColorScaleLegend extends Legend {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
@@ -8,7 +8,7 @@ export declare class ColorScaleLegend extends Legend {
|
|
|
8
8
|
private chartType;
|
|
9
9
|
constructor(model: ChartModel, services: any, configs?: any);
|
|
10
10
|
init(): void;
|
|
11
|
-
handleAxisCompleteEvent: (
|
|
11
|
+
handleAxisCompleteEvent: () => void;
|
|
12
12
|
render(animate?: boolean): void;
|
|
13
13
|
drawLinear(colorPairing: any, legendGroupElement: any, barWidth: any): void;
|
|
14
14
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { RenderTypes } from '../../interfaces';
|
|
1
|
+
import { Component } from '../../components';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
3
|
export declare class GeoProjection extends Component {
|
|
4
4
|
type: string;
|
|
5
5
|
renderType: RenderTypes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component } from '../component';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
import { RenderTypes } from '../../interfaces';
|
|
4
1
|
import Position from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import type { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
5
|
export declare class Highlight extends Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { AxisChartsTooltip } from './tooltip-axis';
|
|
2
|
+
export { CanvasChartClip } from './canvas-chart-clip';
|
|
3
|
+
export { ColorScaleLegend } from './color-scale-legend';
|
|
4
|
+
export { GeoProjection } from './geo-projection';
|
|
5
|
+
export { Highlight } from './highlights';
|
|
6
|
+
export { Legend } from './legend';
|
|
7
|
+
export { MeterTitle } from './title-meter';
|
|
8
|
+
export { Modal } from './modal';
|
|
9
|
+
export { Threshold } from './threshold';
|
|
10
|
+
export { Title } from './title';
|
|
11
|
+
export { Tooltip } from './tooltip';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { RenderTypes } from '../../interfaces';
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
3
3
|
export declare class Legend extends Component {
|
|
4
4
|
type: string;
|
|
5
5
|
renderType: RenderTypes;
|
|
6
|
-
render(): void;
|
|
6
|
+
render(animate?: boolean): void;
|
|
7
7
|
sortDataGroups(dataGroups: any, legendOrder: any): any;
|
|
8
8
|
addAdditionalItem(additionalItem: any, itemConfig: any, indexOfItem: any): void;
|
|
9
9
|
truncateLegendText(): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component } from '
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
export declare class Modal extends Component {
|
|
4
|
-
type: string;
|
|
5
|
-
isEventListenerAdded: boolean;
|
|
6
|
-
modal: any;
|
|
7
|
-
constructor(model: ChartModel, services: any, configs?: any);
|
|
8
|
-
handleShowModal: () => void;
|
|
9
|
-
addEventListeners(): void;
|
|
10
|
-
removeEventListeners(): void;
|
|
11
|
-
getModalHTML(): string;
|
|
12
|
-
render(): void;
|
|
13
|
-
destroy(): void;
|
|
14
|
-
}
|
|
1
|
+
import { Component } from '../../components/component';
|
|
2
|
+
import type { ChartModel } from '../../model/model';
|
|
3
|
+
export declare class Modal extends Component {
|
|
4
|
+
type: string;
|
|
5
|
+
isEventListenerAdded: boolean;
|
|
6
|
+
modal: any;
|
|
7
|
+
constructor(model: ChartModel, services: any, configs?: any);
|
|
8
|
+
handleShowModal: () => void;
|
|
9
|
+
addEventListeners(): void;
|
|
10
|
+
removeEventListeners(): void;
|
|
11
|
+
getModalHTML(): string;
|
|
12
|
+
render(animate?: boolean): void;
|
|
13
|
+
destroy(): void;
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component } from '../component';
|
|
2
|
-
import { ChartModel } from '../../model/model';
|
|
3
|
-
import { RenderTypes } from '../../interfaces';
|
|
4
1
|
import Position from '@carbon/utils-position';
|
|
2
|
+
import { Component } from '../../components/component';
|
|
3
|
+
import type { ChartModel } from '../../model/model';
|
|
4
|
+
import { RenderTypes } from '../../interfaces/enums';
|
|
5
5
|
export declare class Threshold extends Component {
|
|
6
6
|
type: string;
|
|
7
7
|
renderType: RenderTypes;
|
|
@@ -12,9 +12,9 @@ export declare class Threshold extends Component {
|
|
|
12
12
|
getFormattedValue(datum: any): any;
|
|
13
13
|
appendThresholdLabel(): void;
|
|
14
14
|
setThresholdLabelPosition({ event, datum }: {
|
|
15
|
-
event:
|
|
15
|
+
event: CustomEvent;
|
|
16
16
|
datum: any;
|
|
17
17
|
}): void;
|
|
18
|
-
constructDatumObj(d: any, element: any):
|
|
18
|
+
constructDatumObj(d: any, element: any): any;
|
|
19
19
|
addEventListeners(): void;
|
|
20
20
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Title } from './title';
|
|
2
|
-
import { RenderTypes } from '
|
|
3
|
-
export declare class MeterTitle extends Title {
|
|
4
|
-
type: string;
|
|
5
|
-
renderType: RenderTypes;
|
|
6
|
-
render(): void;
|
|
7
|
-
displayBreakdownTitle(): void;
|
|
8
|
-
displayTotal(): void;
|
|
9
|
-
/**
|
|
10
|
-
* Appends the corresponding status based on the value and the peak.
|
|
11
|
-
*/
|
|
12
|
-
displayStatus(): void;
|
|
13
|
-
/**
|
|
14
|
-
* Appends the associated percentage to the end of the title
|
|
15
|
-
*/
|
|
16
|
-
appendPercentage(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Uses the parent class truncate logic
|
|
19
|
-
* @param title d3 selection of title element that will be truncated
|
|
20
|
-
* @param titlestring the original string that needs truncation
|
|
21
|
-
* @param maxWidth the max width the title can take
|
|
22
|
-
*/
|
|
23
|
-
truncateTitle(title: any, maxWidth:
|
|
24
|
-
protected getMaxTitleWidth(): number;
|
|
25
|
-
/**
|
|
26
|
-
* Get the associated status icon for the data
|
|
27
|
-
* @param status the active status for the meter chart
|
|
28
|
-
*/
|
|
29
|
-
protected getStatusIconPathString(status:
|
|
30
|
-
}
|
|
1
|
+
import { Title } from './title';
|
|
2
|
+
import { RenderTypes, Statuses } from '../../interfaces/enums';
|
|
3
|
+
export declare class MeterTitle extends Title {
|
|
4
|
+
type: string;
|
|
5
|
+
renderType: RenderTypes;
|
|
6
|
+
render(animate?: boolean): void;
|
|
7
|
+
displayBreakdownTitle(): void;
|
|
8
|
+
displayTotal(): void;
|
|
9
|
+
/**
|
|
10
|
+
* Appends the corresponding status based on the value and the peak.
|
|
11
|
+
*/
|
|
12
|
+
displayStatus(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Appends the associated percentage to the end of the title
|
|
15
|
+
*/
|
|
16
|
+
appendPercentage(): void;
|
|
17
|
+
/**
|
|
18
|
+
* Uses the parent class truncate logic
|
|
19
|
+
* @param title d3 selection of title element that will be truncated
|
|
20
|
+
* @param titlestring the original string that needs truncation
|
|
21
|
+
* @param maxWidth the max width the title can take
|
|
22
|
+
*/
|
|
23
|
+
truncateTitle(title: any, maxWidth: number): void;
|
|
24
|
+
protected getMaxTitleWidth(): number;
|
|
25
|
+
/**
|
|
26
|
+
* Get the associated status icon for the data
|
|
27
|
+
* @param status the active status for the meter chart
|
|
28
|
+
*/
|
|
29
|
+
protected getStatusIconPathString(status: Statuses): "M6.875 11.3125 3.75 8.1875 4.74375 7.25 6.875 9.34375 11.50625 4.75 12.5 5.7375 Z" | "M10.7 11.5 4.5 5.3 5.3 4.5 11.5 10.7 Z" | "M7.9375,11.125 C7.41973305,11.125 7,11.544733 7,12.0625 C7,12.580267 7.41973305,13 7.9375,13 C8.45526695,13 8.875,12.580267 8.875,12.0625 C8.875,11.544733 8.45526695,11.125 7.9375,11.125 M7.3125, 3 8.5625, 3 8.5625, 9.875 7.3125, 9.875, 7.3125, 3 Z";
|
|
30
|
+
}
|