@carbon/charts 1.7.6 → 1.9.0-next.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 +97 -155
- package/README.md +18 -20
- 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/dist/components/axes/chart-clip.d.ts +13 -0
- package/dist/components/axes/grid-brush.d.ts +10 -0
- package/dist/components/axes/grid.d.ts +22 -0
- package/dist/components/axes/index.d.ts +12 -0
- package/dist/components/axes/ruler-binned.d.ts +10 -0
- package/dist/components/axes/ruler.d.ts +30 -0
- package/dist/components/axes/toolbar.d.ts +40 -0
- package/dist/components/axes/two-dimensional-axes.d.ts +16 -0
- package/dist/components/axes/zero-line.d.ts +7 -0
- package/dist/components/axes/zoom-bar.d.ts +31 -0
- package/dist/components/component.d.ts +30 -0
- package/dist/components/diagrams/buildPaths.d.ts +40 -0
- package/dist/components/diagrams/index.d.ts +2 -0
- package/dist/components/essentials/canvas-chart-clip.d.ts +6 -0
- package/dist/components/essentials/color-scale-legend.d.ts +20 -0
- package/dist/components/essentials/geo-projection.d.ts +16 -0
- package/dist/components/essentials/highlights.d.ts +13 -0
- package/dist/components/essentials/index.d.ts +11 -0
- package/dist/components/essentials/legend.d.ts +11 -0
- package/dist/components/essentials/modal.d.ts +14 -0
- package/dist/components/essentials/threshold.d.ts +20 -0
- package/dist/components/essentials/title-meter.d.ts +30 -0
- package/dist/components/essentials/title.d.ts +20 -0
- package/dist/components/essentials/tooltip.d.ts +22 -0
- package/dist/components/graphs/alluvial.d.ts +14 -0
- package/dist/components/graphs/area-stacked.d.ts +11 -0
- package/dist/components/graphs/area.d.ts +12 -0
- package/dist/components/graphs/bar-grouped.d.ts +22 -0
- package/dist/components/graphs/bar-simple.d.ts +12 -0
- package/dist/components/graphs/bar-stacked.d.ts +13 -0
- package/dist/components/graphs/bar.d.ts +5 -0
- package/dist/components/graphs/boxplot.d.ts +9 -0
- package/dist/components/graphs/bubble.d.ts +13 -0
- package/dist/components/graphs/bullet.d.ts +12 -0
- package/dist/components/graphs/choropleth.d.ts +6 -0
- package/dist/components/graphs/circle-pack.d.ts +19 -0
- package/dist/components/graphs/donut.d.ts +9 -0
- package/dist/components/graphs/gauge.d.ts +27 -0
- package/dist/components/graphs/heatmap.d.ts +25 -0
- 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/dist/components/graphs/meter.d.ts +10 -0
- package/dist/components/graphs/pie.d.ts +16 -0
- package/dist/components/graphs/radar.d.ts +25 -0
- package/dist/components/graphs/scatter-stacked.d.ts +8 -0
- package/dist/components/graphs/scatter.d.ts +21 -0
- package/dist/components/graphs/skeleton-lines.d.ts +12 -0
- package/dist/components/graphs/skeleton.d.ts +23 -0
- package/dist/components/graphs/tree.d.ts +9 -0
- package/dist/components/graphs/treemap.d.ts +11 -0
- package/dist/components/graphs/wordcloud.d.ts +12 -0
- 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/dist/components/layout/layout.d.ts +18 -0
- package/dist/components/layout/spacer.d.ts +5 -0
- package/dist/configuration-non-customizable.d.ts +263 -0
- package/dist/configuration.d.ts +48 -0
- package/dist/demo/charts/alluvial.d.ts +109 -0
- package/dist/demo/charts/area.d.ts +224 -0
- package/dist/demo/charts/bar.d.ts +681 -0
- package/dist/demo/charts/boxplot.d.ts +34 -0
- package/dist/demo/charts/bubble.d.ts +141 -0
- package/dist/demo/charts/bullet.d.ts +24 -0
- package/dist/demo/charts/chart-types.d.ts +128 -0
- package/dist/demo/charts/choropleth.d.ts +738 -0
- package/dist/demo/charts/circle-pack.d.ts +91 -0
- package/dist/demo/charts/combo.d.ts +482 -0
- package/dist/demo/charts/donut.d.ts +64 -0
- package/dist/demo/charts/gauge.d.ts +40 -0
- package/dist/demo/charts/heatmap.d.ts +125 -0
- package/dist/demo/charts/hightlight.d.ts +40 -0
- package/dist/demo/charts/histogram.d.ts +63 -0
- package/dist/demo/charts/index.d.ts +62 -0
- package/dist/demo/charts/line.d.ts +361 -0
- package/dist/demo/charts/lollipop.d.ts +39 -0
- package/dist/demo/charts/meter.d.ts +95 -0
- package/dist/demo/charts/pie.d.ts +46 -0
- package/dist/demo/charts/radar.d.ts +63 -0
- package/dist/demo/charts/scatter.d.ts +118 -0
- package/dist/demo/charts/step.d.ts +96 -0
- package/dist/demo/charts/time-series-axis.d.ts +293 -0
- package/dist/demo/charts/toolbar.d.ts +12 -0
- package/dist/demo/charts/topojson-110.d.ts +360 -0
- package/dist/demo/charts/tree.d.ts +30 -0
- package/dist/demo/charts/treemap.d.ts +15 -0
- package/dist/demo/charts/wordcloud.d.ts +14 -0
- package/dist/demo/charts/zoom-bar.d.ts +79 -0
- 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 +51789 -0
- package/dist/demo/index.mjs.map +1 -0
- package/dist/demo/styles.css +30574 -0
- 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 +13 -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/dist/interfaces/axis-scales.d.ts +201 -0
- package/dist/interfaces/charts.d.ts +520 -0
- package/dist/interfaces/components.d.ts +231 -0
- package/dist/interfaces/enums.d.ts +261 -0
- package/dist/interfaces/events.d.ts +239 -0
- package/dist/interfaces/index.d.ts +12 -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/dist/interfaces/layout.d.ts +21 -0
- package/dist/interfaces/model.d.ts +35 -0
- package/dist/interfaces/services.d.ts +20 -0
- package/dist/interfaces/truncation.d.ts +17 -0
- package/dist/model/binned-charts.d.ts +7 -0
- package/dist/model/cartesian-charts.d.ts +24 -0
- package/dist/model/choropleth.d.ts +29 -0
- package/dist/model/heatmap.d.ts +57 -0
- 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/dist/model/meter.d.ts +20 -0
- package/dist/model/model.d.ts +110 -0
- package/dist/services/angle-utils.d.ts +15 -0
- package/dist/services/color-scale-utils.d.ts +2 -0
- 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/dist/services/essentials/gradient-utils.d.ts +6 -0
- 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/dist/services/zoom.d.ts +21 -0
- package/dist/styles/_chart-holder.scss +50 -0
- package/dist/styles/color-palatte.scss +458 -0
- package/dist/styles/colors.scss +131 -0
- package/dist/styles/components/_color-legend.scss +11 -0
- package/dist/styles/components/_edge.scss +65 -0
- package/dist/styles/components/_grid.scss +30 -0
- package/dist/styles/components/_marker.scss +7 -0
- package/dist/styles/components/_meter-title.scss +37 -0
- package/dist/styles/components/_tooltip.scss +132 -0
- package/dist/styles/components/diagrams/_card-node.scss +97 -0
- package/dist/styles/components/diagrams/_edge.scss +66 -0
- package/dist/styles/components/diagrams/_shape-node.scss +89 -0
- package/dist/styles/components/diagrams/index.scss +4 -0
- package/dist/styles/graphs/_alluvial.scss +17 -0
- package/dist/styles/graphs/_bullet.scss +36 -0
- package/dist/styles/graphs/_choropleth.scss +18 -0
- package/dist/styles/graphs/_circle-pack.scss +36 -0
- package/dist/styles/graphs/_gauge.scss +23 -0
- package/dist/styles/graphs/_heatmap.scss +60 -0
- package/dist/styles/graphs/_meter.scss +34 -0
- package/dist/styles/graphs/_radar.scss +18 -0
- package/dist/styles/graphs/_scatter-stacked.scss +12 -0
- package/dist/styles/graphs/_tree.scss +46 -0
- package/dist/styles/graphs/index.scss +19 -0
- package/dist/styles/styles.scss +40 -0
- package/dist/styles/tokens.scss +407 -0
- package/dist/styles.css +28463 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.min.css +1 -0
- package/dist/styles.min.css.map +1 -0
- package/dist/tools.d.ts +150 -0
- package/package.json +140 -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/CHART_TYPES.d.ts +0 -123
- package/build/demo/data/alluvial.d.ts +0 -109
- package/build/demo/data/area.d.ts +0 -224
- package/build/demo/data/bar.d.ts +0 -681
- package/build/demo/data/boxplot.d.ts +0 -34
- package/build/demo/data/bubble.d.ts +0 -141
- package/build/demo/data/bullet.d.ts +0 -24
- package/build/demo/data/circle-pack.d.ts +0 -91
- package/build/demo/data/combo.d.ts +0 -482
- package/build/demo/data/donut.d.ts +0 -64
- package/build/demo/data/gauge.d.ts +0 -40
- package/build/demo/data/heatmap.d.ts +0 -125
- package/build/demo/data/high-scale.d.ts +0 -1
- package/build/demo/data/hightlight.d.ts +0 -40
- package/build/demo/data/histogram.d.ts +0 -63
- package/build/demo/data/index.d.ts +0 -32
- package/build/demo/data/line.d.ts +0 -361
- package/build/demo/data/lollipop.d.ts +0 -39
- package/build/demo/data/meter.d.ts +0 -95
- package/build/demo/data/pie.d.ts +0 -46
- package/build/demo/data/radar.d.ts +0 -63
- package/build/demo/data/scatter.d.ts +0 -118
- package/build/demo/data/step.d.ts +0 -96
- package/build/demo/data/time-series-axis.d.ts +0 -368
- package/build/demo/data/toolbar.d.ts +0 -12
- package/build/demo/data/tree.d.ts +0 -30
- package/build/demo/data/treemap.d.ts +0 -15
- package/build/demo/data/wordcloud.d.ts +0 -14
- package/build/demo/data/zoom-bar.d.ts +0 -94
- 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/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 -24
- 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/chart-clip.d.ts +0 -13
- 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/hover-axis.d.ts +0 -10
- package/build/src/components/axes/ruler-binned.d.ts +0 -7
- package/build/src/components/axes/ruler-stacked.d.ts +0 -4
- package/build/src/components/axes/ruler.d.ts +0 -27
- package/build/src/components/axes/toolbar.d.ts +0 -40
- 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/component.d.ts +0 -28
- package/build/src/components/diagrams/buildPaths.d.ts +0 -63
- package/build/src/components/diagrams/markerDefinitions.d.ts +0 -37
- package/build/src/components/essentials/canvas-chart-clip.d.ts +0 -6
- package/build/src/components/essentials/color-scale-legend.d.ts +0 -17
- package/build/src/components/essentials/highlights.d.ts +0 -13
- package/build/src/components/essentials/legend.d.ts +0 -11
- package/build/src/components/essentials/modal.d.ts +0 -14
- package/build/src/components/essentials/threshold.d.ts +0 -20
- 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/essentials/tooltip-axis.d.ts +0 -4
- package/build/src/components/essentials/tooltip.d.ts +0 -22
- 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/bar-grouped.d.ts +0 -22
- package/build/src/components/graphs/bar-simple.d.ts +0 -12
- package/build/src/components/graphs/bar-stacked.d.ts +0 -13
- package/build/src/components/graphs/bar.d.ts +0 -5
- package/build/src/components/graphs/boxplot.d.ts +0 -9
- package/build/src/components/graphs/bubble.d.ts +0 -13
- package/build/src/components/graphs/bullet.d.ts +0 -12
- package/build/src/components/graphs/circle-pack.d.ts +0 -19
- package/build/src/components/graphs/donut.d.ts +0 -9
- package/build/src/components/graphs/gauge.d.ts +0 -27
- package/build/src/components/graphs/heatmap.d.ts +0 -25
- 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/pie.d.ts +0 -16
- package/build/src/components/graphs/radar.d.ts +0 -25
- package/build/src/components/graphs/scatter-stacked.d.ts +0 -8
- 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/skeleton.d.ts +0 -22
- package/build/src/components/graphs/tree.d.ts +0 -9
- package/build/src/components/graphs/treemap.d.ts +0 -11
- package/build/src/components/graphs/wordcloud.d.ts +0 -12
- package/build/src/components/index.d.ts +0 -51
- package/build/src/components/layout/layout.d.ts +0 -17
- package/build/src/components/layout/spacer.d.ts +0 -5
- package/build/src/configuration-non-customizable.d.ts +0 -263
- package/build/src/configuration.d.ts +0 -44
- package/build/src/interfaces/a11y.d.ts +0 -12
- package/build/src/interfaces/axis-scales.d.ts +0 -201
- package/build/src/interfaces/charts.d.ts +0 -485
- package/build/src/interfaces/components.d.ts +0 -231
- package/build/src/interfaces/enums.d.ts +0 -249
- package/build/src/interfaces/events.d.ts +0 -230
- package/build/src/interfaces/index.d.ts +0 -7
- package/build/src/interfaces/layout.d.ts +0 -15
- package/build/src/interfaces/model.d.ts +0 -35
- package/build/src/interfaces/truncation.d.ts +0 -17
- package/build/src/model/alluvial.d.ts +0 -8
- package/build/src/model/binned-charts.d.ts +0 -7
- package/build/src/model/boxplot.d.ts +0 -14
- package/build/src/model/bullet.d.ts +0 -14
- package/build/src/model/cartesian-charts.d.ts +0 -24
- package/build/src/model/circle-pack.d.ts +0 -36
- package/build/src/model/gauge.d.ts +0 -9
- package/build/src/model/heatmap.d.ts +0 -57
- package/build/src/model/meter.d.ts +0 -19
- package/build/src/model/model.d.ts +0 -107
- package/build/src/model/pie.d.ts +0 -9
- package/build/src/model/radar.d.ts +0 -7
- package/build/src/model/tree.d.ts +0 -14
- package/build/src/model/treemap.d.ts +0 -8
- package/build/src/model/wordcloud.d.ts +0 -7
- package/build/src/services/angle-utils.d.ts +0 -205
- package/build/src/services/canvas-zoom.d.ts +0 -11
- 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/gradient-utils.d.ts +0 -6
- package/build/src/services/essentials/transitions.d.ts +0 -13
- package/build/src/services/index.d.ts +0 -9
- 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/services/zoom.d.ts +0 -21
- 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/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 -138
- 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 -24
- package/charts/index.js +0 -25
- 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.d.ts +0 -10
- package/components/axes/grid-brush.js +0 -170
- package/components/axes/grid-brush.js.map +0 -1
- package/components/axes/grid.d.ts +0 -22
- package/components/axes/grid.js +0 -235
- package/components/axes/grid.js.map +0 -1
- package/components/axes/hover-axis.js +0 -243
- package/components/axes/hover-axis.js.map +0 -1
- package/components/axes/ruler-binned.d.ts +0 -7
- package/components/axes/ruler-binned.js +0 -136
- package/components/axes/ruler-binned.js.map +0 -1
- package/components/axes/ruler-stacked.js +0 -26
- package/components/axes/ruler-stacked.js.map +0 -1
- package/components/axes/ruler.d.ts +0 -27
- 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.d.ts +0 -16
- package/components/axes/two-dimensional-axes.js +0 -134
- package/components/axes/two-dimensional-axes.js.map +0 -1
- package/components/axes/zero-line.d.ts +0 -7
- package/components/axes/zero-line.js +0 -76
- package/components/axes/zero-line.js.map +0 -1
- package/components/axes/zoom-bar.d.ts +0 -28
- 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.js +0 -38
- package/components/diagrams/markerDefinitions.js.map +0 -1
- package/components/essentials/canvas-chart-clip.d.ts +0 -6
- 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 -17
- package/components/essentials/color-scale-legend.js +0 -230
- package/components/essentials/color-scale-legend.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.d.ts +0 -14
- 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.d.ts +0 -30
- package/components/essentials/title-meter.js +0 -279
- package/components/essentials/title-meter.js.map +0 -1
- package/components/essentials/title.d.ts +0 -20
- package/components/essentials/title.js +0 -138
- package/components/essentials/title.js.map +0 -1
- 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.d.ts +0 -14
- package/components/graphs/alluvial.js +0 -535
- package/components/graphs/alluvial.js.map +0 -1
- package/components/graphs/area-stacked.d.ts +0 -11
- 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.d.ts +0 -9
- 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/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.d.ts +0 -10
- 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.d.ts +0 -9
- 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 -51
- package/components/index.js +0 -57
- package/components/index.js.map +0 -1
- package/components/layout/layout.d.ts +0 -17
- 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.d.ts +0 -44
- package/configuration.js +0 -535
- package/configuration.js.map +0 -1
- package/demo/create-codesandbox.d.ts +0 -65
- package/demo/create-codesandbox.js +0 -155
- package/demo/create-codesandbox.js.map +0 -1
- package/demo/data/CHART_TYPES.d.ts +0 -123
- package/demo/data/CHART_TYPES.js +0 -123
- 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/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 -32
- package/demo/data/index.js +0 -1265
- 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/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 +0 -31006
- 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 -1432
- package/demo/utils.d.ts +0 -24
- package/demo/utils.js +0 -194
- 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.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.d.ts +0 -485
- 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 -249
- package/interfaces/enums.js +0 -280
- package/interfaces/enums.js.map +0 -1
- package/interfaces/events.d.ts +0 -230
- package/interfaces/events.js +0 -259
- 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.d.ts +0 -15
- 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.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.js +0 -174
- package/model/boxplot.js.map +0 -1
- 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/circle-pack.js +0 -189
- package/model/circle-pack.js.map +0 -1
- package/model/gauge.js +0 -51
- package/model/gauge.js.map +0 -1
- package/model/heatmap.d.ts +0 -57
- package/model/heatmap.js +0 -281
- package/model/heatmap.js.map +0 -1
- package/model/meter.d.ts +0 -19
- package/model/meter.js +0 -118
- package/model/meter.js.map +0 -1
- package/model/model.d.ts +0 -107
- package/model/model.js +0 -712
- package/model/model.js.map +0 -1
- package/model/pie.js +0 -66
- package/model/pie.js.map +0 -1
- package/model/radar.js +0 -52
- package/model/radar.js.map +0 -1
- package/model/tree.js +0 -56
- package/model/tree.js.map +0 -1
- package/model/treemap.js +0 -44
- package/model/treemap.js.map +0 -1
- 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.d.ts +0 -16
- package/services/angle-utils.js +0 -82
- package/services/angle-utils.js.map +0 -1
- package/services/canvas-zoom.js +0 -72
- package/services/canvas-zoom.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 -9
- package/services/index.js +0 -12
- 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/_chart-holder.scss +0 -50
- package/styles/color-palatte.scss +0 -362
- package/styles/colors.scss +0 -140
- package/styles/components/_color-legend.scss +0 -11
- package/styles/components/_edge.scss +0 -65
- package/styles/components/_grid.scss +0 -30
- package/styles/components/_marker.scss +0 -7
- package/styles/components/_meter-title.scss +0 -37
- package/styles/components/_tooltip.scss +0 -132
- package/styles/components/diagrams/_card-node.scss +0 -97
- package/styles/components/diagrams/_edge.scss +0 -66
- package/styles/components/diagrams/_shape-node.scss +0 -89
- package/styles/components/diagrams/index.scss +0 -4
- package/styles/graphs/_alluvial.scss +0 -17
- package/styles/graphs/_bullet.scss +0 -36
- package/styles/graphs/_circle-pack.scss +0 -36
- package/styles/graphs/_gauge.scss +0 -23
- package/styles/graphs/_heatmap.scss +0 -60
- package/styles/graphs/_meter.scss +0 -34
- package/styles/graphs/_radar.scss +0 -18
- package/styles/graphs/_scatter-stacked.scss +0 -12
- package/styles/graphs/_tree.scss +0 -47
- package/styles/graphs/index.scss +0 -18
- package/styles/styles.scss +0 -35
- package/styles/tokens.scss +0 -416
- package/styles.css +0 -6313
- package/styles.css.map +0 -1
- package/styles.min.css +0 -1
- package/styles.min.css.map +0 -1
- package/tools.d.ts +0 -144
- package/tools.js +0 -348
- package/tools.js.map +0 -1
- package/tsconfig.tsbuildinfo +0 -3444
- /package/{components → dist/components}/axes/hover-axis.d.ts +0 -0
- /package/{components → dist/components}/axes/ruler-stacked.d.ts +0 -0
- /package/{components → dist/components}/diagrams/markerDefinitions.d.ts +0 -0
- /package/{components → dist/components}/essentials/tooltip-axis.d.ts +0 -0
- /package/{interfaces → dist/interfaces}/a11y.d.ts +0 -0
- /package/{model → dist/model}/alluvial.d.ts +0 -0
- /package/{model → dist/model}/boxplot.d.ts +0 -0
- /package/{model → dist/model}/bullet.d.ts +0 -0
- /package/{model → dist/model}/circle-pack.d.ts +0 -0
- /package/{model → dist/model}/gauge.d.ts +0 -0
- /package/{model → dist/model}/pie.d.ts +0 -0
- /package/{model → dist/model}/radar.d.ts +0 -0
- /package/{model → dist/model}/tree.d.ts +0 -0
- /package/{model → dist/model}/treemap.d.ts +0 -0
- /package/{model → dist/model}/wordcloud.d.ts +0 -0
- /package/{services → dist/services}/canvas-zoom.d.ts +0 -0
- /package/{services → dist/services}/time-series.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/_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/charts/bar-stacked.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { AxisChart } from '../axis-chart';
|
|
16
|
-
import * as Configuration from '../configuration';
|
|
17
|
-
import * as Tools from '../tools';
|
|
18
|
-
import { Skeletons } from '../interfaces/enums';
|
|
19
|
-
// Components
|
|
20
|
-
import { Grid, StackedBar, StackedRuler, TwoDimensionalAxes, ZeroLine, Skeleton, } from '../components/index';
|
|
21
|
-
var StackedBarChart = /** @class */ (function (_super) {
|
|
22
|
-
__extends(StackedBarChart, _super);
|
|
23
|
-
function StackedBarChart(holder, chartConfigs) {
|
|
24
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
25
|
-
// Merge the default options for this chart
|
|
26
|
-
// With the user provided options
|
|
27
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.stackedBarChart, chartConfigs.options));
|
|
28
|
-
// Initialize data, services, components etc.
|
|
29
|
-
_this.init(holder, chartConfigs);
|
|
30
|
-
return _this;
|
|
31
|
-
}
|
|
32
|
-
StackedBarChart.prototype.getComponents = function () {
|
|
33
|
-
// Specify what to render inside the graph-frame
|
|
34
|
-
var graphFrameComponents = [
|
|
35
|
-
new TwoDimensionalAxes(this.model, this.services),
|
|
36
|
-
new Grid(this.model, this.services),
|
|
37
|
-
new StackedRuler(this.model, this.services),
|
|
38
|
-
new StackedBar(this.model, this.services),
|
|
39
|
-
new Skeleton(this.model, this.services, {
|
|
40
|
-
skeleton: Skeletons.VERT_OR_HORIZ,
|
|
41
|
-
}),
|
|
42
|
-
new ZeroLine(this.model, this.services),
|
|
43
|
-
];
|
|
44
|
-
var components = this.getAxisChartComponents(graphFrameComponents);
|
|
45
|
-
return components;
|
|
46
|
-
};
|
|
47
|
-
return StackedBarChart;
|
|
48
|
-
}(AxisChart));
|
|
49
|
-
export { StackedBarChart };
|
|
50
|
-
//# sourceMappingURL=../../src/charts/bar-stacked.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bar-stacked.js","sourceRoot":"","sources":["bar-stacked.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,QAAQ,EAKR,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAqC,mCAAS;IAC7C,yBAAY,MAAe,EAAE,YAA0C;QAAvE,YACC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAXA,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,eAAe,EACrC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,uCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YAC3C,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACzC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,aAAa;aACjC,CAAC;YACF,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;SACvC,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,sBAAC;AAAD,CAAC,AAnCD,CAAqC,SAAS,GAmC7C","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, BarChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tGrid,\n\tStackedBar,\n\tStackedRuler,\n\tTwoDimensionalAxes,\n\tZeroLine,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class StackedBarChart extends AxisChart {\n\tconstructor(holder: Element, chartConfigs: ChartConfig<BarChartOptions>) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.stackedBarChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew StackedRuler(this.model, this.services),\n\t\t\tnew StackedBar(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.VERT_OR_HORIZ,\n\t\t\t}),\n\t\t\tnew ZeroLine(this.model, this.services),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/boxplot.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BoxplotChartModel } from '../model/boxplot';
|
|
2
|
-
import { AxisChart } from '../axis-chart';
|
|
3
|
-
import { BoxplotChartOptions, ChartConfig } from '../interfaces/index';
|
|
4
|
-
export declare class BoxplotChart extends AxisChart {
|
|
5
|
-
model: BoxplotChartModel;
|
|
6
|
-
constructor(holder: Element, chartConfigs: ChartConfig<BoxplotChartOptions>);
|
|
7
|
-
getComponents(): any[];
|
|
8
|
-
}
|
package/charts/boxplot.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { BoxplotChartModel } from '../model/boxplot';
|
|
16
|
-
import { AxisChart } from '../axis-chart';
|
|
17
|
-
import * as Configuration from '../configuration';
|
|
18
|
-
import * as Tools from '../tools';
|
|
19
|
-
import { Skeletons } from '../interfaces/enums';
|
|
20
|
-
// Components
|
|
21
|
-
import { Grid, Boxplot, TwoDimensionalAxes, ZeroLine, Skeleton, } from '../components/index';
|
|
22
|
-
var BoxplotChart = /** @class */ (function (_super) {
|
|
23
|
-
__extends(BoxplotChart, _super);
|
|
24
|
-
function BoxplotChart(holder, chartConfigs) {
|
|
25
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
26
|
-
_this.model = new BoxplotChartModel(_this.services);
|
|
27
|
-
// Merge the default options for this chart
|
|
28
|
-
// With the user provided options
|
|
29
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.boxplotChart, chartConfigs.options));
|
|
30
|
-
// Initialize data, services, components etc.
|
|
31
|
-
_this.init(holder, chartConfigs);
|
|
32
|
-
return _this;
|
|
33
|
-
}
|
|
34
|
-
BoxplotChart.prototype.getComponents = function () {
|
|
35
|
-
// Specify what to render inside the graph-frame
|
|
36
|
-
var graphFrameComponents = [
|
|
37
|
-
new TwoDimensionalAxes(this.model, this.services),
|
|
38
|
-
new Grid(this.model, this.services),
|
|
39
|
-
new Boxplot(this.model, this.services),
|
|
40
|
-
new ZeroLine(this.model, this.services),
|
|
41
|
-
new Skeleton(this.model, this.services, {
|
|
42
|
-
skeleton: Skeletons.VERT_OR_HORIZ,
|
|
43
|
-
}),
|
|
44
|
-
];
|
|
45
|
-
var components = this.getAxisChartComponents(graphFrameComponents, {
|
|
46
|
-
legend: {
|
|
47
|
-
enabled: false,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
return components;
|
|
51
|
-
};
|
|
52
|
-
return BoxplotChart;
|
|
53
|
-
}(AxisChart));
|
|
54
|
-
export { BoxplotChart };
|
|
55
|
-
//# sourceMappingURL=../../src/charts/boxplot.js.map
|
package/charts/boxplot.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"boxplot.js","sourceRoot":"","sources":["boxplot.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,IAAI,EACJ,OAAO,EACP,kBAAkB,EAClB,QAAQ,EAIR,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAkC,gCAAS;IAG1C,sBACC,MAAe,EACf,YAA8C;QAF/C,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAnBD,WAAK,GAAG,IAAI,iBAAiB,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAQ5C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,YAAY,EAClC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,oCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACtC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACvC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,aAAa;aACjC,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,EACpB;YACC,MAAM,EAAE;gBACP,OAAO,EAAE,KAAK;aACd;SACD,CACD,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,mBAAC;AAAD,CAAC,AA5CD,CAAkC,SAAS,GA4C1C","sourcesContent":["// Internal Imports\nimport { BoxplotChartModel } from '../model/boxplot';\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport { BoxplotChartOptions, ChartConfig } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tGrid,\n\tBoxplot,\n\tTwoDimensionalAxes,\n\tZeroLine,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class BoxplotChart extends AxisChart {\n\tmodel = new BoxplotChartModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<BoxplotChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.boxplotChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Boxplot(this.model, this.services),\n\t\t\tnew ZeroLine(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.VERT_OR_HORIZ,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents,\n\t\t\t{\n\t\t\t\tlegend: {\n\t\t\t\t\tenabled: false,\n\t\t\t\t},\n\t\t\t}\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/bubble.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AxisChart } from '../axis-chart';
|
|
2
|
-
import { ChartConfig, BubbleChartOptions } from '../interfaces/index';
|
|
3
|
-
export declare class BubbleChart extends AxisChart {
|
|
4
|
-
constructor(holder: Element, chartConfigs: ChartConfig<BubbleChartOptions>);
|
|
5
|
-
getComponents(): any[];
|
|
6
|
-
}
|
package/charts/bubble.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { AxisChart } from '../axis-chart';
|
|
16
|
-
import * as Configuration from '../configuration';
|
|
17
|
-
import * as Tools from '../tools';
|
|
18
|
-
import { Skeletons } from '../interfaces/enums';
|
|
19
|
-
// Components
|
|
20
|
-
import { Grid, Ruler, Bubble, TwoDimensionalAxes, Skeleton, } from '../components/index';
|
|
21
|
-
var BubbleChart = /** @class */ (function (_super) {
|
|
22
|
-
__extends(BubbleChart, _super);
|
|
23
|
-
function BubbleChart(holder, chartConfigs) {
|
|
24
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
25
|
-
// Merge the default options for this chart
|
|
26
|
-
// With the user provided options
|
|
27
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.bubbleChart, chartConfigs.options));
|
|
28
|
-
// Initialize data, services, components etc.
|
|
29
|
-
_this.init(holder, chartConfigs);
|
|
30
|
-
return _this;
|
|
31
|
-
}
|
|
32
|
-
BubbleChart.prototype.getComponents = function () {
|
|
33
|
-
// Specify what to render inside the graph-frame
|
|
34
|
-
var graphFrameComponents = [
|
|
35
|
-
new TwoDimensionalAxes(this.model, this.services),
|
|
36
|
-
new Grid(this.model, this.services),
|
|
37
|
-
new Ruler(this.model, this.services),
|
|
38
|
-
new Bubble(this.model, this.services),
|
|
39
|
-
new Skeleton(this.model, this.services, {
|
|
40
|
-
skeleton: Skeletons.GRID,
|
|
41
|
-
}),
|
|
42
|
-
];
|
|
43
|
-
var components = this.getAxisChartComponents(graphFrameComponents);
|
|
44
|
-
return components;
|
|
45
|
-
};
|
|
46
|
-
return BubbleChart;
|
|
47
|
-
}(AxisChart));
|
|
48
|
-
export { BubbleChart };
|
|
49
|
-
//# sourceMappingURL=../../src/charts/bubble.js.map
|
package/charts/bubble.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bubble.js","sourceRoot":"","sources":["bubble.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,IAAI,EACJ,KAAK,EACL,MAAM,EACN,kBAAkB,EAKlB,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAiC,+BAAS;IACzC,qBACC,MAAe,EACf,YAA6C;QAF9C,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAXA,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,WAAW,EACjC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,mCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACpC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACrC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,IAAI;aACxB,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,kBAAC;AAAD,CAAC,AArCD,CAAiC,SAAS,GAqCzC","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, BubbleChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tGrid,\n\tRuler,\n\tBubble,\n\tTwoDimensionalAxes,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class BubbleChart extends AxisChart {\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<BubbleChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.bubbleChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Ruler(this.model, this.services),\n\t\t\tnew Bubble(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.GRID,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/bullet.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AxisChart } from '../axis-chart';
|
|
2
|
-
import { BulletChartModel } from '../model/bullet';
|
|
3
|
-
import { ChartConfig, BulletChartOptions } from '../interfaces/index';
|
|
4
|
-
export declare class BulletChart extends AxisChart {
|
|
5
|
-
model: BulletChartModel;
|
|
6
|
-
constructor(holder: Element, chartConfigs: ChartConfig<BulletChartOptions>);
|
|
7
|
-
getComponents(): any[];
|
|
8
|
-
}
|
package/charts/bullet.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { AxisChart } from '../axis-chart';
|
|
16
|
-
import { BulletChartModel } from '../model/bullet';
|
|
17
|
-
import * as Configuration from '../configuration';
|
|
18
|
-
import * as Tools from '../tools';
|
|
19
|
-
import { Skeletons } from '../interfaces/enums';
|
|
20
|
-
// Components
|
|
21
|
-
import { Bullet, Grid, TwoDimensionalAxes, Skeleton, } from '../components/index';
|
|
22
|
-
var BulletChart = /** @class */ (function (_super) {
|
|
23
|
-
__extends(BulletChart, _super);
|
|
24
|
-
function BulletChart(holder, chartConfigs) {
|
|
25
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
26
|
-
_this.model = new BulletChartModel(_this.services);
|
|
27
|
-
// Merge the default options for this chart
|
|
28
|
-
// With the user provided options
|
|
29
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.bulletChart, chartConfigs.options));
|
|
30
|
-
// Initialize data, services, components etc.
|
|
31
|
-
_this.init(holder, chartConfigs);
|
|
32
|
-
return _this;
|
|
33
|
-
}
|
|
34
|
-
BulletChart.prototype.getComponents = function () {
|
|
35
|
-
// Specify what to render inside the graph-frame
|
|
36
|
-
var graphFrameComponents = [
|
|
37
|
-
new TwoDimensionalAxes(this.model, this.services),
|
|
38
|
-
new Grid(this.model, this.services),
|
|
39
|
-
new Bullet(this.model, this.services),
|
|
40
|
-
new Skeleton(this.model, this.services, {
|
|
41
|
-
skeleton: Skeletons.GRID,
|
|
42
|
-
}),
|
|
43
|
-
];
|
|
44
|
-
var components = this.getAxisChartComponents(graphFrameComponents);
|
|
45
|
-
return components;
|
|
46
|
-
};
|
|
47
|
-
return BulletChart;
|
|
48
|
-
}(AxisChart));
|
|
49
|
-
export { BulletChart };
|
|
50
|
-
//# sourceMappingURL=../../src/charts/bullet.js.map
|
package/charts/bullet.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bullet.js","sourceRoot":"","sources":["bullet.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,MAAM,EACN,IAAI,EACJ,kBAAkB,EAIlB,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAiC,+BAAS;IAGzC,qBACC,MAAe,EACf,YAA6C;QAF9C,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAnBD,WAAK,GAAG,IAAI,gBAAgB,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAQ3C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,WAAW,EACjC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,mCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACrC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,IAAI;aACxB,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QACF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,kBAAC;AAAD,CAAC,AAtCD,CAAiC,SAAS,GAsCzC","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport { BulletChartModel } from '../model/bullet';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, BulletChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tBullet,\n\tGrid,\n\tTwoDimensionalAxes,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tTooltip,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class BulletChart extends AxisChart {\n\tmodel = new BulletChartModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<BulletChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.bulletChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Bullet(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.GRID,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/circle-pack.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Chart } from '../chart';
|
|
2
|
-
import { CirclePackChartModel } from '../model/circle-pack';
|
|
3
|
-
import { ChartConfig, CirclePackChartOptions } from '../interfaces/index';
|
|
4
|
-
export declare class CirclePackChart extends Chart {
|
|
5
|
-
model: CirclePackChartModel;
|
|
6
|
-
constructor(holder: Element, chartConfigs: ChartConfig<CirclePackChartOptions>);
|
|
7
|
-
getComponents(): any[];
|
|
8
|
-
}
|
package/charts/circle-pack.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { Chart } from '../chart';
|
|
16
|
-
import { CirclePackChartModel } from '../model/circle-pack';
|
|
17
|
-
import * as Configuration from '../configuration';
|
|
18
|
-
import * as Tools from '../tools';
|
|
19
|
-
// Components
|
|
20
|
-
import { CirclePack, } from '../components/index';
|
|
21
|
-
var CirclePackChart = /** @class */ (function (_super) {
|
|
22
|
-
__extends(CirclePackChart, _super);
|
|
23
|
-
function CirclePackChart(holder, chartConfigs) {
|
|
24
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
25
|
-
_this.model = new CirclePackChartModel(_this.services);
|
|
26
|
-
// Merge the default options for this chart
|
|
27
|
-
// With the user provided options
|
|
28
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.circlePackChart, chartConfigs.options));
|
|
29
|
-
// Initialize data, services, components etc.
|
|
30
|
-
_this.init(holder, chartConfigs);
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
CirclePackChart.prototype.getComponents = function () {
|
|
34
|
-
// Specify what to render inside the graph-frame
|
|
35
|
-
var graphFrameComponents = [
|
|
36
|
-
new CirclePack(this.model, this.services),
|
|
37
|
-
];
|
|
38
|
-
// get the base chart components and export with tooltip
|
|
39
|
-
var components = this.getChartComponents(graphFrameComponents);
|
|
40
|
-
return components;
|
|
41
|
-
};
|
|
42
|
-
return CirclePackChart;
|
|
43
|
-
}(Chart));
|
|
44
|
-
export { CirclePackChart };
|
|
45
|
-
//# sourceMappingURL=../../src/charts/circle-pack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"circle-pack.js","sourceRoot":"","sources":["circle-pack.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC,aAAa;AACb,OAAO,EACN,UAAU,GAKV,MAAM,qBAAqB,CAAC;AAE7B;IAAqC,mCAAK;IAGzC,yBACC,MAAe,EACf,YAAiD;QAFlD,YAIC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAnBD,WAAK,GAAG,IAAI,oBAAoB,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAQ/C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,eAAe,EACrC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,uCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAG;YAC5B,IAAI,UAAU,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;SACzC,CAAC;QAEF,wDAAwD;QACxD,IAAM,UAAU,GAAU,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;QACxE,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,sBAAC;AAAD,CAAC,AAhCD,CAAqC,KAAK,GAgCzC","sourcesContent":["// Internal Imports\nimport { Chart } from '../chart';\nimport { CirclePackChartModel } from '../model/circle-pack';\nimport { ChartConfig, CirclePackChartOptions } from '../interfaces/index';\nimport * as Configuration from '../configuration';\nimport * as Tools from '../tools';\n\n// Components\nimport {\n\tCirclePack,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class CirclePackChart extends Chart {\n\tmodel = new CirclePackChartModel(this.services);\n\n\tconstructor(\n\t\tholder: Element,\n\t\tchartConfigs: ChartConfig<CirclePackChartOptions>\n\t) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.circlePackChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents = [\n\t\t\tnew CirclePack(this.model, this.services),\n\t\t];\n\n\t\t// get the base chart components and export with tooltip\n\t\tconst components: any[] = this.getChartComponents(graphFrameComponents);\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/combo.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AxisChart } from '../axis-chart';
|
|
2
|
-
import { ChartConfig, ComboChartOptions } from '../interfaces/index';
|
|
3
|
-
export declare class ComboChart extends AxisChart {
|
|
4
|
-
constructor(holder: Element, chartConfigs: ChartConfig<ComboChartOptions>);
|
|
5
|
-
getGraphComponents(): any;
|
|
6
|
-
getComponents(): any[];
|
|
7
|
-
}
|
package/charts/combo.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __spreadArrays = (this && this.__spreadArrays) || function () {
|
|
15
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
16
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
17
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
18
|
-
r[k] = a[j];
|
|
19
|
-
return r;
|
|
20
|
-
};
|
|
21
|
-
var _a;
|
|
22
|
-
// Internal Imports
|
|
23
|
-
import { AxisChart } from '../axis-chart';
|
|
24
|
-
import * as Configuration from '../configuration';
|
|
25
|
-
import { ChartTypes, Skeletons, } from '../interfaces/index';
|
|
26
|
-
import * as Tools from '../tools';
|
|
27
|
-
// Components
|
|
28
|
-
import { Grid, GroupedBar, SimpleBar, StackedBar, Line, TwoDimensionalAxes, ZeroLine, Scatter, StackedScatter, Area, StackedArea, Ruler, StackedRuler, Skeleton, } from '../components/index';
|
|
29
|
-
var graphComponentsMap = (_a = {},
|
|
30
|
-
_a[ChartTypes.LINE] = [Line, Scatter],
|
|
31
|
-
_a[ChartTypes.SCATTER] = [Scatter],
|
|
32
|
-
_a[ChartTypes.AREA] = [Area, Line, Scatter],
|
|
33
|
-
_a[ChartTypes.STACKED_AREA] = [
|
|
34
|
-
StackedArea,
|
|
35
|
-
Line,
|
|
36
|
-
StackedScatter,
|
|
37
|
-
StackedRuler,
|
|
38
|
-
],
|
|
39
|
-
_a[ChartTypes.SIMPLE_BAR] = [SimpleBar],
|
|
40
|
-
_a[ChartTypes.GROUPED_BAR] = [GroupedBar, ZeroLine],
|
|
41
|
-
_a[ChartTypes.STACKED_BAR] = [StackedBar, StackedRuler],
|
|
42
|
-
_a);
|
|
43
|
-
var ComboChart = /** @class */ (function (_super) {
|
|
44
|
-
__extends(ComboChart, _super);
|
|
45
|
-
function ComboChart(holder, chartConfigs) {
|
|
46
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
47
|
-
// Merge the default options for this chart
|
|
48
|
-
// With the user provided options
|
|
49
|
-
var chartOptions = Tools.mergeDefaultChartOptions(Configuration.options.comboChart, chartConfigs.options);
|
|
50
|
-
// Warn user if no comboChartTypes defined
|
|
51
|
-
// Use skeleton chart instead
|
|
52
|
-
if (!chartConfigs.options.comboChartTypes) {
|
|
53
|
-
console.error('No comboChartTypes defined for the Combo Chart!');
|
|
54
|
-
// add a default chart to get an empty chart
|
|
55
|
-
chartOptions.comboChartTypes = [
|
|
56
|
-
{ type: ChartTypes.LINE, correspondingDatasets: [] },
|
|
57
|
-
];
|
|
58
|
-
}
|
|
59
|
-
// set the global options
|
|
60
|
-
_this.model.setOptions(chartOptions);
|
|
61
|
-
// Initialize data, services, components etc.
|
|
62
|
-
_this.init(holder, chartConfigs);
|
|
63
|
-
return _this;
|
|
64
|
-
}
|
|
65
|
-
ComboChart.prototype.getGraphComponents = function () {
|
|
66
|
-
var _this = this;
|
|
67
|
-
var comboChartTypes = this.model.getOptions().comboChartTypes;
|
|
68
|
-
var counter = 0;
|
|
69
|
-
var graphComponents = comboChartTypes
|
|
70
|
-
.map(function (graph) {
|
|
71
|
-
var type = graph.type;
|
|
72
|
-
var options;
|
|
73
|
-
// initializes the components using input strings with the base configs for each chart
|
|
74
|
-
if (typeof graph.type === 'string') {
|
|
75
|
-
// check if it is in the components map
|
|
76
|
-
// if it isn't then it is not a valid carbon chart to use in combo
|
|
77
|
-
if (!Object.keys(graphComponentsMap).includes(graph.type)) {
|
|
78
|
-
console.error("Invalid chart type \"" + graph.type + "\" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.");
|
|
79
|
-
return null;
|
|
80
|
-
}
|
|
81
|
-
var stacked_1;
|
|
82
|
-
options = Tools.merge({}, Configuration.options[Tools.camelCase(graph.type) + "Chart"], _this.model.getOptions(), graph.options);
|
|
83
|
-
// if we are creating a stacked area, the contained Line chart needs to know it is stacked
|
|
84
|
-
if (graph.type === ChartTypes.STACKED_AREA) {
|
|
85
|
-
stacked_1 = true;
|
|
86
|
-
}
|
|
87
|
-
return graphComponentsMap[graph.type].map(function (Component, i) {
|
|
88
|
-
return new Component(_this.model, _this.services, {
|
|
89
|
-
groups: graph.correspondingDatasets,
|
|
90
|
-
id: counter++,
|
|
91
|
-
options: options,
|
|
92
|
-
stacked: stacked_1,
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
// user has imported a type or custom component to instantiate
|
|
98
|
-
options = Tools.merge({}, _this.model.getOptions(), graph.options);
|
|
99
|
-
return new type(_this.model, _this.services, {
|
|
100
|
-
groups: graph.correspondingDatasets,
|
|
101
|
-
id: counter++,
|
|
102
|
-
options: options,
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
})
|
|
106
|
-
.filter(function (item) { return item !== null; });
|
|
107
|
-
return Tools.flatten(graphComponents);
|
|
108
|
-
};
|
|
109
|
-
ComboChart.prototype.getComponents = function () {
|
|
110
|
-
var comboChartTypes = this.model.getOptions().comboChartTypes;
|
|
111
|
-
// don't add the regular ruler if stacked ruler is added
|
|
112
|
-
var stackedRulerEnabled = comboChartTypes.some(function (chartObject) {
|
|
113
|
-
return chartObject.type === ChartTypes.STACKED_BAR ||
|
|
114
|
-
chartObject.type === ChartTypes.STACKED_AREA;
|
|
115
|
-
});
|
|
116
|
-
// Specify what to render inside the graph-frame
|
|
117
|
-
var graphFrameComponents = __spreadArrays([
|
|
118
|
-
new TwoDimensionalAxes(this.model, this.services),
|
|
119
|
-
new Grid(this.model, this.services),
|
|
120
|
-
new Skeleton(this.model, this.services, {
|
|
121
|
-
skeleton: Skeletons.GRID,
|
|
122
|
-
})
|
|
123
|
-
], (stackedRulerEnabled
|
|
124
|
-
? []
|
|
125
|
-
: [new Ruler(this.model, this.services)]), this.getGraphComponents());
|
|
126
|
-
var components = this.getAxisChartComponents(graphFrameComponents);
|
|
127
|
-
return components;
|
|
128
|
-
};
|
|
129
|
-
return ComboChart;
|
|
130
|
-
}(AxisChart));
|
|
131
|
-
export { ComboChart };
|
|
132
|
-
//# sourceMappingURL=../../src/charts/combo.js.map
|
package/charts/combo.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"combo.js","sourceRoot":"","sources":["combo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAGN,UAAU,EACV,SAAS,GACT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC,aAAa;AACb,OAAO,EACN,IAAI,EACJ,UAAU,EACV,SAAS,EACT,UAAU,EACV,IAAI,EACJ,kBAAkB,EAClB,QAAQ,EACR,OAAO,EACP,cAAc,EACd,IAAI,EACJ,WAAW,EACX,KAAK,EACL,YAAY,EAIZ,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B,IAAM,kBAAkB;IACvB,GAAC,UAAU,CAAC,IAAI,IAAG,CAAC,IAAI,EAAE,OAAO,CAAC;IAClC,GAAC,UAAU,CAAC,OAAO,IAAG,CAAC,OAAO,CAAC;IAC/B,GAAC,UAAU,CAAC,IAAI,IAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC;IACxC,GAAC,UAAU,CAAC,YAAY,IAAG;QAC1B,WAAW;QACX,IAAI;QACJ,cAAc;QACd,YAAY;KACZ;IACD,GAAC,UAAU,CAAC,UAAU,IAAG,CAAC,SAAS,CAAC;IACpC,GAAC,UAAU,CAAC,WAAW,IAAG,CAAC,UAAU,EAAE,QAAQ,CAAC;IAChD,GAAC,UAAU,CAAC,WAAW,IAAG,CAAC,UAAU,EAAE,YAAY,CAAC;OACpD,CAAC;AAEF;IAAgC,8BAAS;IACxC,oBAAY,MAAe,EAAE,YAA4C;QAAzE,YACC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAwB3B;QAtBA,2CAA2C;QAC3C,iCAAiC;QACjC,IAAM,YAAY,GAAG,KAAK,CAAC,wBAAwB,CAClD,aAAa,CAAC,OAAO,CAAC,UAAU,EAChC,YAAY,CAAC,OAAO,CACpB,CAAC;QAEF,0CAA0C;QAC1C,6BAA6B;QAC7B,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,eAAe,EAAE;YAC1C,OAAO,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC;YACjE,4CAA4C;YAC5C,YAAY,CAAC,eAAe,GAAG;gBAC9B,EAAE,IAAI,EAAE,UAAU,CAAC,IAAI,EAAE,qBAAqB,EAAE,EAAE,EAAE;aACpD,CAAC;SACF;QAED,yBAAyB;QACzB,KAAI,CAAC,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAEpC,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,uCAAkB,GAAlB;QAAA,iBAyDC;QAxDQ,IAAA,yDAAe,CAA6B;QACpD,IAAI,OAAO,GAAG,CAAC,CAAC;QAChB,IAAM,eAAe,GAAG,eAAe;aACrC,GAAG,CAAC,UAAC,KAAK;YACV,IAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;YACxB,IAAI,OAAO,CAAC;YAEZ,sFAAsF;YACtF,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE;gBACnC,uCAAuC;gBACvC,kEAAkE;gBAClE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;oBAC1D,OAAO,CAAC,KAAK,CACZ,0BAAuB,KAAK,CAAC,IAAI,6FAAyF,CAC1H,CAAC;oBACF,OAAO,IAAI,CAAC;iBACZ;gBACD,IAAI,SAAO,CAAC;gBACZ,OAAO,GAAG,KAAK,CAAC,KAAK,CACpB,EAAE,EACF,aAAa,CAAC,OAAO,CACjB,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,UAAO,CACrC,EACD,KAAI,CAAC,KAAK,CAAC,UAAU,EAAE,EACvB,KAAK,CAAC,OAAO,CACb,CAAC;gBACF,0FAA0F;gBAC1F,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY,EAAE;oBAC3C,SAAO,GAAG,IAAI,CAAC;iBACf;gBACD,OAAO,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CACxC,UAAC,SAAS,EAAE,CAAC;oBACZ,OAAA,IAAI,SAAS,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,EAAE;wBACxC,MAAM,EAAE,KAAK,CAAC,qBAAqB;wBACnC,EAAE,EAAE,OAAO,EAAE;wBACb,OAAO,EAAE,OAAO;wBAChB,OAAO,WAAA;qBACP,CAAC;gBALF,CAKE,CACH,CAAC;aACF;iBAAM;gBACN,8DAA8D;gBAC9D,OAAO,GAAG,KAAK,CAAC,KAAK,CACpB,EAAE,EACF,KAAI,CAAC,KAAK,CAAC,UAAU,EAAE,EACvB,KAAK,CAAC,OAAO,CACb,CAAC;gBACF,OAAO,IAAI,IAAI,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,EAAE;oBAC1C,MAAM,EAAE,KAAK,CAAC,qBAAqB;oBACnC,EAAE,EAAE,OAAO,EAAE;oBACb,OAAO,EAAE,OAAO;iBAChB,CAAC,CAAC;aACH;QACF,CAAC,CAAC;aACD,MAAM,CAAC,UAAC,IAAI,IAAK,OAAA,IAAI,KAAK,IAAI,EAAb,CAAa,CAAC,CAAC;QAElC,OAAO,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACvC,CAAC;IAED,kCAAa,GAAb;QACS,IAAA,yDAAe,CAA6B;QACpD,wDAAwD;QACxD,IAAM,mBAAmB,GAAG,eAAe,CAAC,IAAI,CAC/C,UAAC,WAAW;YACX,OAAA,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,WAAW;gBAC3C,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,YAAY;QAD5C,CAC4C,CAC7C,CAAC;QAEF,gDAAgD;QAChD,IAAM,oBAAoB;YACzB,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACnC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,IAAI;aACxB,CAAC;WACC,CAAC,mBAAmB;YACtB,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,kBAAkB,EAAE,CAC5B,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,sBAAsB,CACpD,oBAAoB,CACpB,CAAC;QAEF,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,iBAAC;AAAD,CAAC,AAnHD,CAAgC,SAAS,GAmHxC","sourcesContent":["// Internal Imports\nimport { AxisChart } from '../axis-chart';\nimport * as Configuration from '../configuration';\nimport {\n\tChartConfig,\n\tComboChartOptions,\n\tChartTypes,\n\tSkeletons,\n} from '../interfaces/index';\nimport * as Tools from '../tools';\n\n// Components\nimport {\n\tGrid,\n\tGroupedBar,\n\tSimpleBar,\n\tStackedBar,\n\tLine,\n\tTwoDimensionalAxes,\n\tZeroLine,\n\tScatter,\n\tStackedScatter,\n\tArea,\n\tStackedArea,\n\tRuler,\n\tStackedRuler,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nconst graphComponentsMap = {\n\t[ChartTypes.LINE]: [Line, Scatter],\n\t[ChartTypes.SCATTER]: [Scatter],\n\t[ChartTypes.AREA]: [Area, Line, Scatter],\n\t[ChartTypes.STACKED_AREA]: [\n\t\tStackedArea,\n\t\tLine,\n\t\tStackedScatter,\n\t\tStackedRuler,\n\t],\n\t[ChartTypes.SIMPLE_BAR]: [SimpleBar],\n\t[ChartTypes.GROUPED_BAR]: [GroupedBar, ZeroLine],\n\t[ChartTypes.STACKED_BAR]: [StackedBar, StackedRuler],\n};\n\nexport class ComboChart extends AxisChart {\n\tconstructor(holder: Element, chartConfigs: ChartConfig<ComboChartOptions>) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tconst chartOptions = Tools.mergeDefaultChartOptions(\n\t\t\tConfiguration.options.comboChart,\n\t\t\tchartConfigs.options\n\t\t);\n\n\t\t// Warn user if no comboChartTypes defined\n\t\t// Use skeleton chart instead\n\t\tif (!chartConfigs.options.comboChartTypes) {\n\t\t\tconsole.error('No comboChartTypes defined for the Combo Chart!');\n\t\t\t// add a default chart to get an empty chart\n\t\t\tchartOptions.comboChartTypes = [\n\t\t\t\t{ type: ChartTypes.LINE, correspondingDatasets: [] },\n\t\t\t];\n\t\t}\n\n\t\t// set the global options\n\t\tthis.model.setOptions(chartOptions);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetGraphComponents() {\n\t\tconst { comboChartTypes } = this.model.getOptions();\n\t\tlet counter = 0;\n\t\tconst graphComponents = comboChartTypes\n\t\t\t.map((graph) => {\n\t\t\t\tconst type = graph.type;\n\t\t\t\tlet options;\n\n\t\t\t\t// initializes the components using input strings with the base configs for each chart\n\t\t\t\tif (typeof graph.type === 'string') {\n\t\t\t\t\t// check if it is in the components map\n\t\t\t\t\t// if it isn't then it is not a valid carbon chart to use in combo\n\t\t\t\t\tif (!Object.keys(graphComponentsMap).includes(graph.type)) {\n\t\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t\t`Invalid chart type \"${graph.type}\" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tlet stacked;\n\t\t\t\t\toptions = Tools.merge(\n\t\t\t\t\t\t{},\n\t\t\t\t\t\tConfiguration.options[\n\t\t\t\t\t\t\t`${Tools.camelCase(graph.type)}Chart`\n\t\t\t\t\t\t],\n\t\t\t\t\t\tthis.model.getOptions(),\n\t\t\t\t\t\tgraph.options\n\t\t\t\t\t);\n\t\t\t\t\t// if we are creating a stacked area, the contained Line chart needs to know it is stacked\n\t\t\t\t\tif (graph.type === ChartTypes.STACKED_AREA) {\n\t\t\t\t\t\tstacked = true;\n\t\t\t\t\t}\n\t\t\t\t\treturn graphComponentsMap[graph.type].map(\n\t\t\t\t\t\t(Component, i) =>\n\t\t\t\t\t\t\tnew Component(this.model, this.services, {\n\t\t\t\t\t\t\t\tgroups: graph.correspondingDatasets,\n\t\t\t\t\t\t\t\tid: counter++,\n\t\t\t\t\t\t\t\toptions: options,\n\t\t\t\t\t\t\t\tstacked,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\t// user has imported a type or custom component to instantiate\n\t\t\t\t\toptions = Tools.merge(\n\t\t\t\t\t\t{},\n\t\t\t\t\t\tthis.model.getOptions(),\n\t\t\t\t\t\tgraph.options\n\t\t\t\t\t);\n\t\t\t\t\treturn new type(this.model, this.services, {\n\t\t\t\t\t\tgroups: graph.correspondingDatasets,\n\t\t\t\t\t\tid: counter++,\n\t\t\t\t\t\toptions: options,\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t})\n\t\t\t.filter((item) => item !== null);\n\n\t\treturn Tools.flatten(graphComponents);\n\t}\n\n\tgetComponents() {\n\t\tconst { comboChartTypes } = this.model.getOptions();\n\t\t// don't add the regular ruler if stacked ruler is added\n\t\tconst stackedRulerEnabled = comboChartTypes.some(\n\t\t\t(chartObject) =>\n\t\t\t\tchartObject.type === ChartTypes.STACKED_BAR ||\n\t\t\t\tchartObject.type === ChartTypes.STACKED_AREA\n\t\t);\n\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents = [\n\t\t\tnew TwoDimensionalAxes(this.model, this.services),\n\t\t\tnew Grid(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.GRID,\n\t\t\t}),\n\t\t\t...(stackedRulerEnabled\n\t\t\t\t? []\n\t\t\t\t: [new Ruler(this.model, this.services)]),\n\t\t\t...this.getGraphComponents(),\n\t\t];\n\n\t\tconst components: any[] = this.getAxisChartComponents(\n\t\t\tgraphFrameComponents\n\t\t);\n\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/donut.d.ts
DELETED
package/charts/donut.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { PieChart } from './pie';
|
|
16
|
-
import * as Configuration from '../configuration';
|
|
17
|
-
import * as Tools from '../tools';
|
|
18
|
-
import { Skeletons } from '../interfaces/enums';
|
|
19
|
-
// Components
|
|
20
|
-
import { Donut, Skeleton, } from '../components/index';
|
|
21
|
-
var DonutChart = /** @class */ (function (_super) {
|
|
22
|
-
__extends(DonutChart, _super);
|
|
23
|
-
function DonutChart(holder, chartConfigs) {
|
|
24
|
-
var _this = _super.call(this, holder, chartConfigs, true) || this;
|
|
25
|
-
// Merge the default options for this chart
|
|
26
|
-
// With the user provided options
|
|
27
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.donutChart, chartConfigs.options));
|
|
28
|
-
// Initialize data, services, components etc.
|
|
29
|
-
_this.init(holder, chartConfigs);
|
|
30
|
-
return _this;
|
|
31
|
-
}
|
|
32
|
-
DonutChart.prototype.getComponents = function () {
|
|
33
|
-
// Specify what to render inside the graph-frame
|
|
34
|
-
var graphFrameComponents = [
|
|
35
|
-
new Donut(this.model, this.services),
|
|
36
|
-
new Skeleton(this.model, this.services, {
|
|
37
|
-
skeleton: Skeletons.DONUT,
|
|
38
|
-
}),
|
|
39
|
-
];
|
|
40
|
-
var components = this.getChartComponents(graphFrameComponents);
|
|
41
|
-
return components;
|
|
42
|
-
};
|
|
43
|
-
return DonutChart;
|
|
44
|
-
}(PieChart));
|
|
45
|
-
export { DonutChart };
|
|
46
|
-
//# sourceMappingURL=../../src/charts/donut.js.map
|
package/charts/donut.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"donut.js","sourceRoot":"","sources":["donut.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,aAAa;AACb,OAAO,EACN,KAAK,EAIL,QAAQ,GACR,MAAM,qBAAqB,CAAC;AAE7B;IAAgC,8BAAQ;IACvC,oBAAY,MAAe,EAAE,YAA0C;QAAvE,YACC,kBAAM,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,SAajC;QAXA,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,UAAU,EAChC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,kCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAU;YACnC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;YACpC,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACvC,QAAQ,EAAE,SAAS,CAAC,KAAK;aACzB,CAAC;SACF,CAAC;QAEF,IAAM,UAAU,GAAU,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;QACxE,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,iBAAC;AAAD,CAAC,AA7BD,CAAgC,QAAQ,GA6BvC","sourcesContent":["// Internal Imports\nimport { PieChart } from './pie';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, PieChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { Skeletons } from '../interfaces/enums';\n\n// Components\nimport {\n\tDonut,\n\t// the imports below are needed because of typescript bug (error TS4029)\n\tLegend,\n\tLayoutComponent,\n\tSkeleton,\n} from '../components/index';\n\nexport class DonutChart extends PieChart {\n\tconstructor(holder: Element, chartConfigs: ChartConfig<PieChartOptions>) {\n\t\tsuper(holder, chartConfigs, true);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.donutChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents: any[] = [\n\t\t\tnew Donut(this.model, this.services),\n\t\t\tnew Skeleton(this.model, this.services, {\n\t\t\t\tskeleton: Skeletons.DONUT,\n\t\t\t}),\n\t\t];\n\n\t\tconst components: any[] = this.getChartComponents(graphFrameComponents);\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/gauge.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Chart } from '../chart';
|
|
2
|
-
import { ChartConfig, GaugeChartOptions } from '../interfaces/index';
|
|
3
|
-
import { GaugeChartModel } from '../model/gauge';
|
|
4
|
-
export declare class GaugeChart extends Chart {
|
|
5
|
-
model: GaugeChartModel;
|
|
6
|
-
constructor(holder: Element, chartConfigs: ChartConfig<GaugeChartOptions>);
|
|
7
|
-
getComponents(): any[];
|
|
8
|
-
}
|
package/charts/gauge.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
// Internal Imports
|
|
15
|
-
import { Chart } from '../chart';
|
|
16
|
-
import * as Configuration from '../configuration';
|
|
17
|
-
import * as Tools from '../tools';
|
|
18
|
-
import { GaugeChartModel } from '../model/gauge';
|
|
19
|
-
// Components
|
|
20
|
-
import { Gauge } from '../components/index';
|
|
21
|
-
var GaugeChart = /** @class */ (function (_super) {
|
|
22
|
-
__extends(GaugeChart, _super);
|
|
23
|
-
function GaugeChart(holder, chartConfigs) {
|
|
24
|
-
var _this = _super.call(this, holder, chartConfigs) || this;
|
|
25
|
-
_this.model = new GaugeChartModel(_this.services);
|
|
26
|
-
// Merge the default options for this chart
|
|
27
|
-
// With the user provided options
|
|
28
|
-
_this.model.setOptions(Tools.mergeDefaultChartOptions(Configuration.options.gaugeChart, chartConfigs.options));
|
|
29
|
-
// Initialize data, services, components etc.
|
|
30
|
-
_this.init(holder, chartConfigs);
|
|
31
|
-
return _this;
|
|
32
|
-
}
|
|
33
|
-
GaugeChart.prototype.getComponents = function () {
|
|
34
|
-
// Specify what to render inside the graph-frame
|
|
35
|
-
var graphFrameComponents = [new Gauge(this.model, this.services)];
|
|
36
|
-
var components = this.getChartComponents(graphFrameComponents);
|
|
37
|
-
return components;
|
|
38
|
-
};
|
|
39
|
-
return GaugeChart;
|
|
40
|
-
}(Chart));
|
|
41
|
-
export { GaugeChart };
|
|
42
|
-
//# sourceMappingURL=../../src/charts/gauge.js.map
|
package/charts/gauge.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gauge.js","sourceRoot":"","sources":["gauge.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mBAAmB;AACnB,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,KAAK,aAAa,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,aAAa;AACb,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C;IAAgC,8BAAK;IAEpC,oBAAY,MAAe,EAAE,YAA4C;QAAzE,YACC,kBAAM,MAAM,EAAE,YAAY,CAAC,SAa3B;QAfD,WAAK,GAAG,IAAI,eAAe,CAAC,KAAI,CAAC,QAAQ,CAAC,CAAC;QAI1C,2CAA2C;QAC3C,iCAAiC;QACjC,KAAI,CAAC,KAAK,CAAC,UAAU,CACpB,KAAK,CAAC,wBAAwB,CAC7B,aAAa,CAAC,OAAO,CAAC,UAAU,EAChC,YAAY,CAAC,OAAO,CACpB,CACD,CAAC;QAEF,6CAA6C;QAC7C,KAAI,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;;IACjC,CAAC;IAED,kCAAa,GAAb;QACC,gDAAgD;QAChD,IAAM,oBAAoB,GAAG,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEpE,IAAM,UAAU,GAAU,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAC;QAExE,OAAO,UAAU,CAAC;IACnB,CAAC;IACF,iBAAC;AAAD,CAAC,AA1BD,CAAgC,KAAK,GA0BpC","sourcesContent":["// Internal Imports\nimport { Chart } from '../chart';\nimport * as Configuration from '../configuration';\nimport { ChartConfig, GaugeChartOptions } from '../interfaces/index';\nimport * as Tools from '../tools';\nimport { GaugeChartModel } from '../model/gauge';\n\n// Components\nimport { Gauge } from '../components/index';\n\nexport class GaugeChart extends Chart {\n\tmodel = new GaugeChartModel(this.services);\n\tconstructor(holder: Element, chartConfigs: ChartConfig<GaugeChartOptions>) {\n\t\tsuper(holder, chartConfigs);\n\n\t\t// Merge the default options for this chart\n\t\t// With the user provided options\n\t\tthis.model.setOptions(\n\t\t\tTools.mergeDefaultChartOptions(\n\t\t\t\tConfiguration.options.gaugeChart,\n\t\t\t\tchartConfigs.options\n\t\t\t)\n\t\t);\n\n\t\t// Initialize data, services, components etc.\n\t\tthis.init(holder, chartConfigs);\n\t}\n\n\tgetComponents() {\n\t\t// Specify what to render inside the graph-frame\n\t\tconst graphFrameComponents = [new Gauge(this.model, this.services)];\n\n\t\tconst components: any[] = this.getChartComponents(graphFrameComponents);\n\n\t\treturn components;\n\t}\n}\n"]}
|
package/charts/heatmap.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HeatmapModel } from '../model/heatmap';
|
|
2
|
-
import { AxisChart } from '../axis-chart';
|
|
3
|
-
import { HeatmapChartOptions, ChartConfig } from '../interfaces/index';
|
|
4
|
-
import { Modal, LayoutComponent, AxisChartsTooltip } from '../components';
|
|
5
|
-
export declare class HeatmapChart extends AxisChart {
|
|
6
|
-
model: HeatmapModel;
|
|
7
|
-
constructor(holder: Element, chartConfigs: ChartConfig<HeatmapChartOptions>);
|
|
8
|
-
protected getAxisChartComponents(graphFrameComponents: any[], configs?: any): (AxisChartsTooltip | Modal | LayoutComponent)[];
|
|
9
|
-
getComponents(): any[];
|
|
10
|
-
}
|