billboard.js 4.1.5 → 4.2.0-next.1
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/dist/billboard.css +87 -1
- package/dist/billboard.js +11000 -6970
- package/dist/billboard.min.css +2 -2
- package/dist/billboard.min.js +19 -19
- package/dist/billboard.pkgd.js +22584 -14102
- package/dist/billboard.pkgd.min.js +37 -37
- package/dist/billboard.react.js +5 -5
- package/dist/billboard.react.min.js +2 -2
- package/dist/billboard.worker.js +1 -1
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +21 -4
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +3 -3
- package/dist/plugin/billboardjs-plugin-stanford.js +22 -13
- package/dist/plugin/billboardjs-plugin-stanford.min.js +4 -4
- package/dist/plugin/billboardjs-plugin-tableview.js +20 -3
- package/dist/plugin/billboardjs-plugin-tableview.min.js +4 -4
- package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +1689 -1252
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +8 -8
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2288 -1012
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +10 -10
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +6350 -2390
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +18 -18
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +1310 -1006
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +10 -10
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +1293 -1006
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +8 -8
- package/dist/theme/dark.css +90 -1
- package/dist/theme/dark.min.css +2 -2
- package/dist/theme/datalab.css +87 -1
- package/dist/theme/datalab.min.css +2 -2
- package/dist/theme/graph.css +87 -1
- package/dist/theme/graph.min.css +2 -2
- package/dist/theme/insight.css +87 -1
- package/dist/theme/insight.min.css +2 -2
- package/dist/theme/modern.css +87 -1
- package/dist/theme/modern.min.css +2 -2
- package/dist-esm/Chart/Chart.js +5 -5
- package/dist-esm/Chart/api/axis.js +2 -3
- package/dist-esm/Chart/api/category.js +2 -3
- package/dist-esm/Chart/api/chart.js +2 -3
- package/dist-esm/Chart/api/color.js +2 -3
- package/dist-esm/Chart/api/data.js +3 -4
- package/dist-esm/Chart/api/export.js +3 -4
- package/dist-esm/Chart/api/flow.js +3 -4
- package/dist-esm/Chart/api/focus.js +5 -3
- package/dist-esm/Chart/api/grid.js +2 -3
- package/dist-esm/Chart/api/group.js +2 -3
- package/dist-esm/Chart/api/legend.js +1 -2
- package/dist-esm/Chart/api/load.js +3 -4
- package/dist-esm/Chart/api/regions.js +3 -4
- package/dist-esm/Chart/api/selection.js +3 -4
- package/dist-esm/Chart/api/show.js +2 -3
- package/dist-esm/Chart/api/stubs.js +3 -4
- package/dist-esm/Chart/api/subchart.js +4 -5
- package/dist-esm/Chart/api/tooltip.js +28 -9
- package/dist-esm/Chart/api/x.js +2 -3
- package/dist-esm/Chart/api/zoom.js +6 -7
- package/dist-esm/ChartInternal/Axis/Axis.js +5 -6
- package/dist-esm/ChartInternal/Axis/AxisRenderer.js +9 -7
- package/dist-esm/ChartInternal/Axis/AxisRendererHelper.js +39 -11
- package/dist-esm/ChartInternal/ChartInternal.js +39 -24
- package/dist-esm/ChartInternal/data/convert.helper.js +2 -3
- package/dist-esm/ChartInternal/data/convert.js +3 -4
- package/dist-esm/ChartInternal/data/data.js +18 -11
- package/dist-esm/ChartInternal/data/load.js +4 -5
- package/dist-esm/ChartInternal/interactions/drag.js +3 -4
- package/dist-esm/ChartInternal/interactions/eventrect.js +4 -5
- package/dist-esm/ChartInternal/interactions/flow.js +3 -4
- package/dist-esm/ChartInternal/interactions/interaction.js +14 -13
- package/dist-esm/ChartInternal/interactions/subchart.js +5 -6
- package/dist-esm/ChartInternal/interactions/zoom.js +4 -5
- package/dist-esm/ChartInternal/internals/category.js +2 -3
- package/dist-esm/ChartInternal/internals/class.js +5 -5
- package/dist-esm/ChartInternal/internals/clip.js +2 -3
- package/dist-esm/ChartInternal/internals/color.js +4 -5
- package/dist-esm/ChartInternal/internals/domain.js +7 -7
- package/dist-esm/ChartInternal/internals/format.js +3 -4
- package/dist-esm/ChartInternal/internals/grid.js +4 -5
- package/dist-esm/ChartInternal/internals/legend.js +7 -7
- package/dist-esm/ChartInternal/internals/redraw.js +8 -8
- package/dist-esm/ChartInternal/internals/region.js +4 -5
- package/dist-esm/ChartInternal/internals/scale.js +2 -3
- package/dist-esm/ChartInternal/internals/selection.js +3 -4
- package/dist-esm/ChartInternal/internals/size.axis.js +2 -3
- package/dist-esm/ChartInternal/internals/size.js +8 -9
- package/dist-esm/ChartInternal/internals/style.js +4 -5
- package/dist-esm/ChartInternal/internals/subchart.util.js +2 -3
- package/dist-esm/ChartInternal/internals/text.arc.js +3 -4
- package/dist-esm/ChartInternal/internals/text.js +22 -23
- package/dist-esm/ChartInternal/internals/text.util.js +4 -5
- package/dist-esm/ChartInternal/internals/title.js +4 -5
- package/dist-esm/ChartInternal/internals/tooltip.js +20 -20
- package/dist-esm/ChartInternal/internals/transform.js +5 -6
- package/dist-esm/ChartInternal/internals/type.js +78 -11
- package/dist-esm/ChartInternal/shape/arc.js +5 -6
- package/dist-esm/ChartInternal/shape/area.js +4 -5
- package/dist-esm/ChartInternal/shape/bar.js +5 -6
- package/dist-esm/ChartInternal/shape/boxplot.js +111 -0
- package/dist-esm/ChartInternal/shape/bubble.js +2 -3
- package/dist-esm/ChartInternal/shape/bullet.js +213 -0
- package/dist-esm/ChartInternal/shape/candlestick.js +5 -6
- package/dist-esm/ChartInternal/shape/core/barRadius.js +2 -3
- package/dist-esm/ChartInternal/shape/core/boxplot.js +192 -0
- package/dist-esm/ChartInternal/shape/core/bubble.js +4 -5
- package/dist-esm/ChartInternal/shape/core/bullet.js +528 -0
- package/dist-esm/ChartInternal/shape/core/candlestick.js +2 -3
- package/dist-esm/ChartInternal/shape/core/dataRegion.js +2 -3
- package/dist-esm/ChartInternal/shape/core/geometry.js +2 -3
- package/dist-esm/ChartInternal/shape/core/heatmap.js +453 -0
- package/dist-esm/ChartInternal/shape/core/path.js +2 -3
- package/dist-esm/ChartInternal/shape/core/point.js +2 -3
- package/dist-esm/ChartInternal/shape/core/sankey.js +576 -0
- package/dist-esm/ChartInternal/shape/core/treemap.js +2 -3
- package/dist-esm/ChartInternal/shape/funnel.js +45 -6
- package/dist-esm/ChartInternal/shape/gauge.js +3 -4
- package/dist-esm/ChartInternal/shape/heatmap.js +144 -0
- package/dist-esm/ChartInternal/shape/line.js +7 -8
- package/dist-esm/ChartInternal/shape/point.js +5 -6
- package/dist-esm/ChartInternal/shape/polar.js +3 -4
- package/dist-esm/ChartInternal/shape/radar.js +19 -7
- package/dist-esm/ChartInternal/shape/sankey.js +154 -0
- package/dist-esm/ChartInternal/shape/shape.js +7 -7
- package/dist-esm/ChartInternal/shape/treemap.js +8 -5
- package/dist-esm/canvas/CanvasAxisRenderer.js +12 -315
- package/dist-esm/canvas/CanvasEngine.js +2 -3
- package/dist-esm/canvas/CanvasPainter.js +2 -3
- package/dist-esm/canvas/CanvasRenderer.js +38 -408
- package/dist-esm/canvas/CanvasTheme.js +28 -8
- package/dist-esm/canvas/HitDetector.js +20 -24
- package/dist-esm/canvas/axisTicks.js +5 -6
- package/dist-esm/canvas/boxplot.js +201 -0
- package/dist-esm/canvas/bullet.js +212 -0
- package/dist-esm/canvas/classes.js +2 -3
- package/dist-esm/canvas/color.js +2 -3
- package/dist-esm/canvas/flow.js +190 -0
- package/dist-esm/canvas/geometry.js +2 -3
- package/dist-esm/canvas/grid.js +206 -0
- package/dist-esm/canvas/heatmap.js +141 -0
- package/dist-esm/canvas/labels.js +3 -4
- package/dist-esm/canvas/pointPattern.js +2 -3
- package/dist-esm/canvas/sankey.js +137 -0
- package/dist-esm/canvas/selection.js +473 -0
- package/dist-esm/canvas/subchart.js +814 -0
- package/dist-esm/canvas/treemap.js +100 -0
- package/dist-esm/canvas/util.js +2 -3
- package/dist-esm/config/Options/Options.js +3 -4
- package/dist-esm/config/Options/axis/axis.js +2 -3
- package/dist-esm/config/Options/axis/x.js +2 -3
- package/dist-esm/config/Options/axis/y.js +2 -3
- package/dist-esm/config/Options/axis/y2.js +14 -3
- package/dist-esm/config/Options/common/boost.js +2 -3
- package/dist-esm/config/Options/common/color.js +2 -3
- package/dist-esm/config/Options/common/grid.js +2 -3
- package/dist-esm/config/Options/common/legend.js +2 -3
- package/dist-esm/config/Options/common/main.js +2 -3
- package/dist-esm/config/Options/common/point.js +2 -3
- package/dist-esm/config/Options/common/title.js +2 -3
- package/dist-esm/config/Options/common/tooltip.js +2 -3
- package/dist-esm/config/Options/data/axis.js +2 -3
- package/dist-esm/config/Options/data/data.js +49 -4
- package/dist-esm/config/Options/data/selection.js +2 -3
- package/dist-esm/config/Options/interaction/interaction.js +2 -3
- package/dist-esm/config/Options/interaction/subchart.js +2 -3
- package/dist-esm/config/Options/interaction/zoom.js +2 -3
- package/dist-esm/config/Options/shape/arc.js +2 -3
- package/dist-esm/config/Options/shape/area.js +2 -3
- package/dist-esm/config/Options/shape/bar.js +2 -3
- package/dist-esm/config/Options/shape/boxplot.js +106 -0
- package/dist-esm/config/Options/shape/bubble.js +2 -3
- package/dist-esm/config/Options/shape/bullet.js +177 -0
- package/dist-esm/config/Options/shape/candlestick.js +2 -3
- package/dist-esm/config/Options/shape/donut.js +2 -3
- package/dist-esm/config/Options/shape/funnel.js +2 -3
- package/dist-esm/config/Options/shape/gauge.js +2 -3
- package/dist-esm/config/Options/shape/heatmap.js +137 -0
- package/dist-esm/config/Options/shape/line.js +2 -3
- package/dist-esm/config/Options/shape/pie.js +2 -3
- package/dist-esm/config/Options/shape/polar.js +2 -3
- package/dist-esm/config/Options/shape/radar.js +2 -3
- package/dist-esm/config/Options/shape/sankey.js +116 -0
- package/dist-esm/config/Options/shape/scatter.js +2 -3
- package/dist-esm/config/Options/shape/spline.js +2 -3
- package/dist-esm/config/Options/shape/treemap.js +2 -3
- package/dist-esm/config/Store/Element.js +2 -3
- package/dist-esm/config/Store/State.js +3 -4
- package/dist-esm/config/Store/Store.js +2 -3
- package/dist-esm/config/classes.js +2 -4
- package/dist-esm/config/config.js +2 -3
- package/dist-esm/config/const.js +31 -23
- package/dist-esm/config/resolver/axis.core.js +4 -5
- package/dist-esm/config/resolver/axis.js +2 -3
- package/dist-esm/config/resolver/canvas.js +112 -911
- package/dist-esm/config/resolver/canvasBoxplot.js +49 -0
- package/dist-esm/config/resolver/canvasBullet.js +29 -0
- package/dist-esm/config/resolver/canvasFlow.js +28 -0
- package/dist-esm/config/resolver/canvasGrid.js +27 -0
- package/dist-esm/config/resolver/canvasHeatmap.js +31 -0
- package/dist-esm/config/resolver/canvasSankey.js +31 -0
- package/dist-esm/config/resolver/canvasSelection.js +30 -0
- package/dist-esm/config/resolver/canvasShape.js +13 -12
- package/dist-esm/config/resolver/canvasSubchart.js +30 -0
- package/dist-esm/config/resolver/canvasType.js +48 -0
- package/dist-esm/config/resolver/category.js +3 -4
- package/dist-esm/config/resolver/customType.js +58 -0
- package/dist-esm/config/resolver/export.js +3 -4
- package/dist-esm/config/resolver/flow.js +5 -6
- package/dist-esm/config/resolver/grid.js +6 -7
- package/dist-esm/config/resolver/interaction/selection.js +6 -7
- package/dist-esm/config/resolver/interaction/subchart.js +6 -7
- package/dist-esm/config/resolver/interaction/zoom.js +6 -7
- package/dist-esm/config/resolver/regions.js +5 -6
- package/dist-esm/config/resolver/shape/arc.helpers.js +5 -6
- package/dist-esm/config/resolver/shape/area.js +3 -4
- package/dist-esm/config/resolver/shape/axis.helpers.js +2 -3
- package/dist-esm/config/resolver/shape/bar.js +5 -6
- package/dist-esm/config/resolver/shape/boxplot.js +30 -0
- package/dist-esm/config/resolver/shape/bubble.js +5 -6
- package/dist-esm/config/resolver/shape/bullet.js +23 -0
- package/dist-esm/config/resolver/shape/candlestick.js +5 -6
- package/dist-esm/config/resolver/shape/donut.js +2 -3
- package/dist-esm/config/resolver/shape/funnel.js +7 -6
- package/dist-esm/config/resolver/shape/gauge.js +4 -5
- package/dist-esm/config/resolver/shape/heatmap.js +23 -0
- package/dist-esm/config/resolver/shape/line.js +2 -3
- package/dist-esm/config/resolver/shape/pie.js +3 -4
- package/dist-esm/config/resolver/shape/polar.js +4 -5
- package/dist-esm/config/resolver/shape/radar.js +5 -6
- package/dist-esm/config/resolver/shape/sankey.js +23 -0
- package/dist-esm/config/resolver/shape/scatter.js +4 -5
- package/dist-esm/config/resolver/shape/treemap.js +4 -5
- package/dist-esm/core.js +5 -6
- package/dist-esm/index.canvas.js +13 -9
- package/dist-esm/index.esm.js +6 -2
- package/dist-esm/module/Cache.js +2 -3
- package/dist-esm/module/browser.js +2 -3
- package/dist-esm/module/dsv.js +2 -3
- package/dist-esm/module/error.js +23 -16
- package/dist-esm/module/generator.js +3 -4
- package/dist-esm/module/sanitize.js +2 -3
- package/dist-esm/module/util/brush.js +2 -3
- package/dist-esm/module/util/dom.js +3 -4
- package/dist-esm/module/util/object.js +13 -6
- package/dist-esm/module/util/type-checks.js +2 -3
- package/dist-esm/module/worker.js +2 -3
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +6 -10
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +10 -18
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +17 -45
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +10 -18
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +9 -16
- package/dist-esm/react/index.js +2 -3
- package/package.json +44 -44
- package/src/Chart/Chart.ts +1 -0
- package/src/Chart/api/focus.ts +3 -0
- package/src/Chart/api/subchart.ts +1 -1
- package/src/Chart/api/tooltip.ts +54 -15
- package/src/ChartInternal/Axis/AxisRenderer.ts +9 -2
- package/src/ChartInternal/Axis/AxisRendererHelper.ts +42 -8
- package/src/ChartInternal/ChartInternal.ts +46 -19
- package/src/ChartInternal/data/IData.ts +13 -0
- package/src/ChartInternal/data/data.ts +26 -5
- package/src/ChartInternal/data/load.ts +2 -2
- package/src/ChartInternal/interactions/interaction.ts +15 -11
- package/src/ChartInternal/internals/class.ts +3 -2
- package/src/ChartInternal/internals/domain.ts +4 -2
- package/src/ChartInternal/internals/format.ts +3 -1
- package/src/ChartInternal/internals/legend.ts +2 -1
- package/src/ChartInternal/internals/redraw.ts +3 -3
- package/src/ChartInternal/internals/size.ts +5 -3
- package/src/ChartInternal/internals/text.ts +24 -28
- package/src/ChartInternal/internals/tooltip.ts +35 -14
- package/src/ChartInternal/internals/transform.ts +2 -2
- package/src/ChartInternal/internals/type.ts +101 -9
- package/src/ChartInternal/shape/boxplot.ts +172 -0
- package/src/ChartInternal/shape/bullet.ts +323 -0
- package/src/ChartInternal/shape/core/boxplot.ts +241 -0
- package/src/ChartInternal/shape/core/bullet.ts +734 -0
- package/src/ChartInternal/shape/core/heatmap.ts +665 -0
- package/src/ChartInternal/shape/core/sankey.ts +782 -0
- package/src/ChartInternal/shape/funnel.ts +73 -2
- package/src/ChartInternal/shape/heatmap.ts +236 -0
- package/src/ChartInternal/shape/radar.ts +30 -1
- package/src/ChartInternal/shape/sankey.ts +242 -0
- package/src/ChartInternal/shape/shape.ts +1 -1
- package/src/ChartInternal/shape/treemap.ts +10 -0
- package/src/Plugin/stanford/index.ts +1 -28
- package/src/canvas/CanvasAxisRenderer.ts +35 -574
- package/src/canvas/CanvasRenderer.ts +68 -640
- package/src/canvas/CanvasTheme.ts +92 -6
- package/src/canvas/HitDetector.ts +30 -28
- package/src/canvas/boxplot.ts +230 -0
- package/src/canvas/bullet.ts +269 -0
- package/src/canvas/flow.ts +237 -0
- package/src/canvas/grid.ts +359 -0
- package/src/canvas/heatmap.ts +147 -0
- package/src/canvas/labels.ts +3 -1
- package/src/canvas/sankey.ts +151 -0
- package/src/canvas/selection.ts +626 -0
- package/src/canvas/subchart.ts +1292 -0
- package/src/canvas/treemap.ts +142 -0
- package/src/config/Options/axis/y2.ts +13 -0
- package/src/config/Options/data/data.ts +47 -1
- package/src/config/Options/shape/boxplot.ts +95 -0
- package/src/config/Options/shape/bullet.ts +170 -0
- package/src/config/Options/shape/heatmap.ts +125 -0
- package/src/config/Options/shape/sankey.ts +108 -0
- package/src/config/Store/State.ts +1 -1
- package/src/config/classes.ts +0 -1
- package/src/config/const.ts +30 -21
- package/src/config/resolver/canvas.ts +126 -1290
- package/src/config/resolver/canvasBoxplot.ts +42 -0
- package/src/config/resolver/canvasBullet.ts +20 -0
- package/src/config/resolver/canvasFlow.ts +18 -0
- package/src/config/resolver/canvasGrid.ts +17 -0
- package/src/config/resolver/canvasHeatmap.ts +23 -0
- package/src/config/resolver/canvasSankey.ts +23 -0
- package/src/config/resolver/canvasSelection.ts +20 -0
- package/src/config/resolver/canvasShape.ts +6 -1
- package/src/config/resolver/canvasSubchart.ts +20 -0
- package/src/config/resolver/canvasType.ts +51 -0
- package/src/config/resolver/customType.ts +69 -0
- package/src/config/resolver/shape/boxplot.ts +31 -0
- package/src/config/resolver/shape/bullet.ts +18 -0
- package/src/config/resolver/shape/funnel.ts +8 -2
- package/src/config/resolver/shape/heatmap.ts +18 -0
- package/src/config/resolver/shape/index.ts +4 -0
- package/src/config/resolver/shape/sankey.ts +18 -0
- package/src/index.canvas.ts +9 -3
- package/src/index.esm.ts +4 -0
- package/src/index.ts +34 -0
- package/src/module/error.ts +32 -18
- package/src/module/util/object.ts +26 -1
- package/src/scss/billboard.scss +106 -0
- package/src/scss/theme/dark.scss +110 -0
- package/src/scss/theme/datalab.scss +106 -0
- package/src/scss/theme/graph.scss +106 -0
- package/src/scss/theme/insight.scss +106 -0
- package/src/scss/theme/modern.scss +106 -0
- package/types/bb.d.ts +4 -0
- package/types/canvas.d.ts +3 -0
- package/types/chart.d.ts +5 -0
- package/types/index.d.ts +4 -0
- package/types/options.d.ts +10 -1
- package/types/options.shape.d.ts +431 -0
- package/types/types.d.ts +4 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import boxplot_default from "../../canvas/boxplot.js";
|
|
11
|
+
import boxplot_default$1 from "../../ChartInternal/shape/core/boxplot.js";
|
|
12
|
+
import point_default from "../Options/common/point.js";
|
|
13
|
+
import boxplot_default$2 from "../Options/shape/boxplot.js";
|
|
14
|
+
import { extendAxisModules } from "./axis.core.js";
|
|
15
|
+
import { registerAxisType } from "./customType.js";
|
|
16
|
+
import { boxplotAxisType } from "./shape/boxplot.js";
|
|
17
|
+
// src/config/resolver/canvasBoxplot.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
|
+
* billboard.js project is licensed under the MIT license
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Canvas boxplot shape marker.
|
|
24
|
+
* Installed to satisfy chart type import checks without importing the SVG boxplot renderer.
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
const canvasBoxplotModule = {
|
|
28
|
+
/**
|
|
29
|
+
* No-op canvas boxplot initializer.
|
|
30
|
+
* Canvas mode draws boxplots through the module of the type.
|
|
31
|
+
* @private
|
|
32
|
+
*/
|
|
33
|
+
initBoxplot() {},
|
|
34
|
+
/**
|
|
35
|
+
* No-op: boxplot has no SVG elements in canvas mode.
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
updateTargetsForBoxplot() {}
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Register modules and options required for canvas boxplot charts.
|
|
42
|
+
* Canvas mode draws the boxplot through the module of the type: bundles without it do not carry it.
|
|
43
|
+
* @returns {string} Boxplot chart type
|
|
44
|
+
*/
|
|
45
|
+
let boxplot = () => (extendAxisModules([canvasBoxplotModule, boxplot_default$1], [point_default, boxplot_default$2]), registerAxisType("boxplot", {
|
|
46
|
+
...boxplotAxisType,
|
|
47
|
+
canvas: boxplot_default
|
|
48
|
+
}), (boxplot = () => "boxplot")());
|
|
49
|
+
export { boxplot };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import bullet_default from "../../canvas/bullet.js";
|
|
11
|
+
import bullet_default$1, { customTypeHooks } from "../../ChartInternal/shape/core/bullet.js";
|
|
12
|
+
import bullet_default$2 from "../Options/shape/bullet.js";
|
|
13
|
+
import { extendAxisModules } from "./axis.core.js";
|
|
14
|
+
import { registerCustomType } from "./customType.js";
|
|
15
|
+
// src/config/resolver/canvasBullet.ts
|
|
16
|
+
/**
|
|
17
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
|
+
* billboard.js project is licensed under the MIT license
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Register modules and options required for canvas bullet charts.
|
|
22
|
+
* Canvas mode draws bullets through the module of the type: bundles without it do not carry it.
|
|
23
|
+
* @returns {string} Bullet chart type
|
|
24
|
+
*/
|
|
25
|
+
let bullet = () => (extendAxisModules([bullet_default$1], [bullet_default$2]), registerCustomType("bullet", {
|
|
26
|
+
hooks: customTypeHooks,
|
|
27
|
+
canvas: bullet_default
|
|
28
|
+
}), (bullet = () => "bullet")());
|
|
29
|
+
export { bullet };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import flow_default from "../../canvas/flow.js";
|
|
11
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
+
import { extend } from "../../module/util/object.js";
|
|
13
|
+
import { flow as flow$1 } from "./flow.js";
|
|
14
|
+
// src/config/resolver/canvasFlow.ts
|
|
15
|
+
/**
|
|
16
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
17
|
+
* billboard.js project is licensed under the MIT license
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Enable chart flow API for the canvas entry: the flow module with the canvas animation.
|
|
21
|
+
* @returns {object} Empty options object (safe to spread into bb.generate())
|
|
22
|
+
*/
|
|
23
|
+
let flow = () => {
|
|
24
|
+
flow$1();
|
|
25
|
+
extend(ChartInternal.prototype, flow_default);
|
|
26
|
+
return (flow = () => ({}))();
|
|
27
|
+
};
|
|
28
|
+
export { flow };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import grid_default from "../../canvas/grid.js";
|
|
11
|
+
import { registerCanvasFeature } from "./canvasType.js";
|
|
12
|
+
import { grid as grid$1 } from "./grid.js";
|
|
13
|
+
// src/config/resolver/canvasGrid.ts
|
|
14
|
+
/**
|
|
15
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
16
|
+
* billboard.js project is licensed under the MIT license
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Enable grid for the canvas entry: the grid module with the canvas drawing of the grid.
|
|
20
|
+
* @returns {object} Empty options object (safe to spread into bb.generate())
|
|
21
|
+
*/
|
|
22
|
+
let grid = () => {
|
|
23
|
+
grid$1();
|
|
24
|
+
registerCanvasFeature("grid", grid_default);
|
|
25
|
+
return (grid = () => ({}))();
|
|
26
|
+
};
|
|
27
|
+
export { grid };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import heatmap_default from "../../canvas/heatmap.js";
|
|
11
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
+
import heatmap_default$1, { customTypeHooks } from "../../ChartInternal/shape/core/heatmap.js";
|
|
13
|
+
import { extend } from "../../module/util/object.js";
|
|
14
|
+
import Options from "../Options/Options.js";
|
|
15
|
+
import heatmap_default$2 from "../Options/shape/heatmap.js";
|
|
16
|
+
import { registerCustomType } from "./customType.js";
|
|
17
|
+
// src/config/resolver/canvasHeatmap.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
|
+
* billboard.js project is licensed under the MIT license
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Register modules and options required for canvas heatmap charts.
|
|
24
|
+
* Canvas mode draws the heatmap through the module of the type: bundles without it do not carry it.
|
|
25
|
+
* @returns {string} Heatmap chart type
|
|
26
|
+
*/
|
|
27
|
+
let heatmap = () => (extend(ChartInternal.prototype, [heatmap_default$1]), Options.setOptions([heatmap_default$2]), registerCustomType("heatmap", {
|
|
28
|
+
hooks: customTypeHooks,
|
|
29
|
+
canvas: heatmap_default
|
|
30
|
+
}), (heatmap = () => "heatmap")());
|
|
31
|
+
export { heatmap };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import sankey_default from "../../canvas/sankey.js";
|
|
11
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
+
import sankey_default$1, { customTypeHooks } from "../../ChartInternal/shape/core/sankey.js";
|
|
13
|
+
import { extend } from "../../module/util/object.js";
|
|
14
|
+
import Options from "../Options/Options.js";
|
|
15
|
+
import sankey_default$2 from "../Options/shape/sankey.js";
|
|
16
|
+
import { registerCustomType } from "./customType.js";
|
|
17
|
+
// src/config/resolver/canvasSankey.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
|
+
* billboard.js project is licensed under the MIT license
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Register modules and options required for canvas sankey charts.
|
|
24
|
+
* Canvas mode draws the sankey through the module of the type: bundles without it do not carry it.
|
|
25
|
+
* @returns {string} Sankey chart type
|
|
26
|
+
*/
|
|
27
|
+
let sankey = () => (extend(ChartInternal.prototype, [sankey_default$1]), Options.setOptions([sankey_default$2]), registerCustomType("sankey", {
|
|
28
|
+
hooks: customTypeHooks,
|
|
29
|
+
canvas: sankey_default
|
|
30
|
+
}), (sankey = () => "sankey")());
|
|
31
|
+
export { sankey };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import selection_default, { selectionDraw } from "../../canvas/selection.js";
|
|
11
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
+
import { extend } from "../../module/util/object.js";
|
|
13
|
+
import { registerCanvasFeature } from "./canvasType.js";
|
|
14
|
+
import { selectionModule } from "./interaction/selection.js";
|
|
15
|
+
// src/config/resolver/canvasSelection.ts
|
|
16
|
+
/**
|
|
17
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
|
+
* billboard.js project is licensed under the MIT license
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Enable data selection for the canvas entry: the selection module with the canvas selection.
|
|
22
|
+
* @returns {boolean} true
|
|
23
|
+
*/
|
|
24
|
+
let selection = () => {
|
|
25
|
+
selectionModule();
|
|
26
|
+
extend(ChartInternal.prototype, selection_default);
|
|
27
|
+
registerCanvasFeature("selection", selectionDraw);
|
|
28
|
+
return (selection = () => true)();
|
|
29
|
+
};
|
|
30
|
+
export { selection };
|
|
@@ -5,23 +5,25 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
+
import treemap_default from "../../canvas/treemap.js";
|
|
11
|
+
import bubble_default from "../../ChartInternal/shape/core/bubble.js";
|
|
12
|
+
import candlestick_default from "../../ChartInternal/shape/core/candlestick.js";
|
|
13
|
+
import treemap_default$1 from "../../ChartInternal/shape/core/treemap.js";
|
|
10
14
|
import { TYPE } from "../const.js";
|
|
11
|
-
import area_default from "../Options/shape/area.js";
|
|
12
|
-
import spline_default from "../Options/shape/spline.js";
|
|
13
15
|
import point_default from "../Options/common/point.js";
|
|
14
|
-
import
|
|
15
|
-
import { extendAxisModules } from "./axis.core.js";
|
|
16
|
+
import area_default from "../Options/shape/area.js";
|
|
16
17
|
import bar_default from "../Options/shape/bar.js";
|
|
17
|
-
import bubble_default from "../../ChartInternal/shape/core/bubble.js";
|
|
18
18
|
import bubble_default$1 from "../Options/shape/bubble.js";
|
|
19
|
-
import candlestick_default from "../../ChartInternal/shape/core/candlestick.js";
|
|
20
19
|
import candlestick_default$1 from "../Options/shape/candlestick.js";
|
|
20
|
+
import line_default from "../Options/shape/line.js";
|
|
21
21
|
import scatter_default from "../Options/shape/scatter.js";
|
|
22
|
-
import
|
|
23
|
-
import treemap_default$
|
|
24
|
-
|
|
22
|
+
import spline_default from "../Options/shape/spline.js";
|
|
23
|
+
import treemap_default$2 from "../Options/shape/treemap.js";
|
|
24
|
+
import { extendAxisModules } from "./axis.core.js";
|
|
25
|
+
import { registerCanvasType } from "./canvasType.js";
|
|
26
|
+
// src/config/resolver/canvasShape.ts
|
|
25
27
|
/**
|
|
26
28
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
27
29
|
* billboard.js project is licensed under the MIT license
|
|
@@ -207,6 +209,5 @@ let candlestick = () => (extendCanvasAxisShape([canvasCandlestickModule, candles
|
|
|
207
209
|
* Register modules and options required for canvas treemap charts.
|
|
208
210
|
* @returns {string} Treemap chart type
|
|
209
211
|
*/
|
|
210
|
-
let treemap = () => (extendCanvasAxisShape([canvasTreemapModule, treemap_default], [treemap_default$
|
|
211
|
-
//#endregion
|
|
212
|
+
let treemap = () => (extendCanvasAxisShape([canvasTreemapModule, treemap_default$1], [treemap_default$2]), registerCanvasType("treemap", treemap_default), (treemap = () => TYPE.TREEMAP)());
|
|
212
213
|
export { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange, bar, bubble, candlestick, line, scatter, spline, step, treemap };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import subchart_default, { subchartDraw } from "../../canvas/subchart.js";
|
|
11
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
+
import { extend } from "../../module/util/object.js";
|
|
13
|
+
import { registerCanvasFeature } from "./canvasType.js";
|
|
14
|
+
import { subchartModule } from "./interaction/subchart.js";
|
|
15
|
+
// src/config/resolver/canvasSubchart.ts
|
|
16
|
+
/**
|
|
17
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
|
+
* billboard.js project is licensed under the MIT license
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Enable subchart for the canvas entry: the subchart module with the canvas drawing and brush.
|
|
22
|
+
* @returns {boolean} true
|
|
23
|
+
*/
|
|
24
|
+
let subchart = () => {
|
|
25
|
+
subchartModule();
|
|
26
|
+
extend(ChartInternal.prototype, subchart_default);
|
|
27
|
+
registerCanvasFeature("subchart", subchartDraw);
|
|
28
|
+
return (subchart = () => true)();
|
|
29
|
+
};
|
|
30
|
+
export { subchart };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
11
|
+
// src/config/resolver/canvasType.ts
|
|
12
|
+
/**
|
|
13
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
14
|
+
* billboard.js project is licensed under the MIT license
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Register the canvas parts of a chart type, by the name of the type.
|
|
18
|
+
* The parts of a type are kept apart from those of the others, so a bundle has the canvas code
|
|
19
|
+
* of the types it imports only. Registering a name again adds to what is there.
|
|
20
|
+
* @param {string} name Chart type name
|
|
21
|
+
* @param {object} parts Canvas parts of the type
|
|
22
|
+
* @private
|
|
23
|
+
*/
|
|
24
|
+
function registerCanvasType(name, parts) {
|
|
25
|
+
const proto = ChartInternal.prototype;
|
|
26
|
+
const types = proto.canvasTypes || (proto.canvasTypes = {});
|
|
27
|
+
types[name] = {
|
|
28
|
+
...types[name],
|
|
29
|
+
...parts
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Register the canvas drawing of an optional feature (grid, flow, subchart...), by feature name.
|
|
34
|
+
* The module of the feature adds it, so bundles without the module do not carry it.
|
|
35
|
+
* The functions are called with the chart (ChartInternal) as `this`.
|
|
36
|
+
* @param {string} name Feature name
|
|
37
|
+
* @param {object} parts Canvas functions of the feature
|
|
38
|
+
* @private
|
|
39
|
+
*/
|
|
40
|
+
function registerCanvasFeature(name, parts) {
|
|
41
|
+
const proto = ChartInternal.prototype;
|
|
42
|
+
const features = proto.canvasFeatures || (proto.canvasFeatures = {});
|
|
43
|
+
features[name] = {
|
|
44
|
+
...features[name],
|
|
45
|
+
...parts
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export { registerCanvasFeature, registerCanvasType };
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import Chart from "../../Chart/Chart.js";
|
|
11
10
|
import category_default from "../../Chart/api/category.js";
|
|
12
|
-
|
|
11
|
+
import Chart from "../../Chart/Chart.js";
|
|
12
|
+
// src/config/resolver/category.ts
|
|
13
13
|
/**
|
|
14
14
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
15
15
|
* billboard.js project is licensed under the MIT license
|
|
@@ -35,5 +35,4 @@ let category = () => {
|
|
|
35
35
|
Chart.prototype.categories = category_default.categories;
|
|
36
36
|
return (category = () => ({}))();
|
|
37
37
|
};
|
|
38
|
-
//#endregion
|
|
39
38
|
export { category };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
3
|
+
* billboard.js project is licensed under the MIT license
|
|
4
|
+
*
|
|
5
|
+
* billboard.js, JavaScript chart library
|
|
6
|
+
* https://naver.github.io/billboard.js/
|
|
7
|
+
*
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
|
+
*/
|
|
10
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
11
|
+
// src/config/resolver/customType.ts
|
|
12
|
+
/**
|
|
13
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
14
|
+
* billboard.js project is licensed under the MIT license
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Register the parts of a chart type of its own module, by the name of the type.
|
|
18
|
+
* The parts of a type are kept apart from those of the others, so a bundle can have more than one
|
|
19
|
+
* of these modules. Registering a name again adds to what is there: the svg part and the canvas
|
|
20
|
+
* part of a type are registered by their own resolvers.
|
|
21
|
+
* @param {string} name Chart type name
|
|
22
|
+
* @param {object} parts Parts of the type
|
|
23
|
+
* @private
|
|
24
|
+
*/
|
|
25
|
+
function registerCustomType(name, parts) {
|
|
26
|
+
const proto = ChartInternal.prototype;
|
|
27
|
+
const types = proto.customTypes || (proto.customTypes = {});
|
|
28
|
+
types[name] = {
|
|
29
|
+
...types[name],
|
|
30
|
+
...parts
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Register a chart type of its own module that is drawn on the axes (the type of the chart
|
|
35
|
+
* keeps its axes, unlike the types of registerCustomType()).
|
|
36
|
+
* The shared code reaches the type by name: the lists of shapes of the axes, the hit of the
|
|
37
|
+
* pointer (`hit`) and the rows of the tooltip (`tooltipRows`).
|
|
38
|
+
* @param {string} name Chart type name
|
|
39
|
+
* @param {object} parts Hooks of the type
|
|
40
|
+
* @param {boolean} parts.padded Whether the x axis gets the room of a bar at each end
|
|
41
|
+
* @param {function} parts.domainValues Get the values of a data row that the y domain has to cover
|
|
42
|
+
* @param {function} parts.hit Get the selector of the shape of a data row, to check the pointer on it
|
|
43
|
+
* @param {function} parts.tooltipRows Get the [name, value] pairs of a data row
|
|
44
|
+
* @param {object} parts.canvas Canvas parts of the type
|
|
45
|
+
* @param {function} parts.canvas.draw Draw the shapes of the type
|
|
46
|
+
* @param {function} parts.canvas.hits Add the hit items of the shapes
|
|
47
|
+
* @param {function} parts.canvas.theme Get the canvas theme of the type
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
function registerAxisType(name, parts) {
|
|
51
|
+
const proto = ChartInternal.prototype;
|
|
52
|
+
const types = proto.axisTypes || (proto.axisTypes = {});
|
|
53
|
+
types[name] = {
|
|
54
|
+
...types[name],
|
|
55
|
+
...parts
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export { registerAxisType, registerCustomType };
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import Chart from "../../Chart/Chart.js";
|
|
11
10
|
import export_default from "../../Chart/api/export.js";
|
|
12
|
-
|
|
11
|
+
import Chart from "../../Chart/Chart.js";
|
|
12
|
+
// src/config/resolver/export.ts
|
|
13
13
|
/**
|
|
14
14
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
15
15
|
* billboard.js project is licensed under the MIT license
|
|
@@ -33,5 +33,4 @@ let exportApi = () => {
|
|
|
33
33
|
Chart.prototype.export = export_default.export;
|
|
34
34
|
return (exportApi = () => ({}))();
|
|
35
35
|
};
|
|
36
|
-
//#endregion
|
|
37
36
|
export { exportApi };
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../module/util/object.js";
|
|
11
|
-
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
-
import Chart from "../../Chart/Chart.js";
|
|
13
10
|
import flow_default from "../../Chart/api/flow.js";
|
|
11
|
+
import Chart from "../../Chart/Chart.js";
|
|
12
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
14
13
|
import flow_default$1 from "../../ChartInternal/interactions/flow.js";
|
|
15
|
-
|
|
14
|
+
import { extend } from "../../module/util/object.js";
|
|
15
|
+
// src/config/resolver/flow.ts
|
|
16
16
|
/**
|
|
17
17
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
18
|
* billboard.js project is licensed under the MIT license
|
|
@@ -38,5 +38,4 @@ let flow = () => {
|
|
|
38
38
|
Chart.prototype.flow = flow_default.flow;
|
|
39
39
|
return (flow = () => ({}))();
|
|
40
40
|
};
|
|
41
|
-
//#endregion
|
|
42
41
|
export { flow };
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../module/util/object.js";
|
|
11
|
-
import Options from "../Options/Options.js";
|
|
12
|
-
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
13
|
-
import Chart from "../../Chart/Chart.js";
|
|
14
10
|
import grid_default from "../../Chart/api/grid.js";
|
|
11
|
+
import Chart from "../../Chart/Chart.js";
|
|
12
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
15
13
|
import grid_default$1 from "../../ChartInternal/internals/grid.js";
|
|
14
|
+
import { extend } from "../../module/util/object.js";
|
|
16
15
|
import grid_default$2 from "../Options/common/grid.js";
|
|
17
|
-
|
|
16
|
+
import Options from "../Options/Options.js";
|
|
17
|
+
// src/config/resolver/grid.ts
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
20
|
* billboard.js project is licensed under the MIT license
|
|
@@ -43,5 +43,4 @@ let grid = () => {
|
|
|
43
43
|
Options.setOptions([grid_default$2]);
|
|
44
44
|
return (grid = () => ({}))();
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { grid };
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../../module/util/object.js";
|
|
11
|
-
import Options from "../../Options/Options.js";
|
|
12
|
-
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
13
|
-
import Chart from "../../../Chart/Chart.js";
|
|
14
10
|
import selection_default from "../../../Chart/api/selection.js";
|
|
11
|
+
import Chart from "../../../Chart/Chart.js";
|
|
12
|
+
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
15
13
|
import selection_default$1 from "../../../ChartInternal/internals/selection.js";
|
|
14
|
+
import { extend } from "../../../module/util/object.js";
|
|
16
15
|
import selection_default$2 from "../../Options/data/selection.js";
|
|
17
|
-
|
|
16
|
+
import Options from "../../Options/Options.js";
|
|
17
|
+
// src/config/resolver/interaction/selection.ts
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
20
|
* billboard.js project is licensed under the MIT license
|
|
@@ -25,5 +25,4 @@ let selectionModule = () => {
|
|
|
25
25
|
Options.setOptions([selection_default$2]);
|
|
26
26
|
return (selectionModule = () => true)();
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { selectionModule };
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../../module/util/object.js";
|
|
11
|
-
import Options from "../../Options/Options.js";
|
|
12
|
-
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
13
|
-
import Chart from "../../../Chart/Chart.js";
|
|
14
10
|
import subchart_default from "../../../Chart/api/subchart.js";
|
|
11
|
+
import Chart from "../../../Chart/Chart.js";
|
|
12
|
+
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
15
13
|
import subchart_default$1 from "../../../ChartInternal/interactions/subchart.js";
|
|
14
|
+
import { extend } from "../../../module/util/object.js";
|
|
16
15
|
import subchart_default$2 from "../../Options/interaction/subchart.js";
|
|
17
|
-
|
|
16
|
+
import Options from "../../Options/Options.js";
|
|
17
|
+
// src/config/resolver/interaction/subchart.ts
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
20
|
* billboard.js project is licensed under the MIT license
|
|
@@ -25,5 +25,4 @@ let subchartModule = () => {
|
|
|
25
25
|
Options.setOptions([subchart_default$2]);
|
|
26
26
|
return (subchartModule = () => true)();
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { subchartModule };
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../../module/util/object.js";
|
|
11
|
-
import Options from "../../Options/Options.js";
|
|
12
|
-
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
13
|
-
import Chart from "../../../Chart/Chart.js";
|
|
14
10
|
import zoom_default from "../../../Chart/api/zoom.js";
|
|
11
|
+
import Chart from "../../../Chart/Chart.js";
|
|
12
|
+
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
15
13
|
import zoom_default$1 from "../../../ChartInternal/interactions/zoom.js";
|
|
14
|
+
import { extend } from "../../../module/util/object.js";
|
|
16
15
|
import zoom_default$2 from "../../Options/interaction/zoom.js";
|
|
17
|
-
|
|
16
|
+
import Options from "../../Options/Options.js";
|
|
17
|
+
// src/config/resolver/interaction/zoom.ts
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
20
|
* billboard.js project is licensed under the MIT license
|
|
@@ -25,5 +25,4 @@ let zoomModule = () => {
|
|
|
25
25
|
Options.setOptions([zoom_default$2]);
|
|
26
26
|
return (zoomModule = () => true)();
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
export { zoomModule };
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../module/util/object.js";
|
|
11
|
-
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
12
|
-
import Chart from "../../Chart/Chart.js";
|
|
13
10
|
import regions_default from "../../Chart/api/regions.js";
|
|
11
|
+
import Chart from "../../Chart/Chart.js";
|
|
12
|
+
import ChartInternal from "../../ChartInternal/ChartInternal.js";
|
|
14
13
|
import region_default from "../../ChartInternal/internals/region.js";
|
|
15
|
-
|
|
14
|
+
import { extend } from "../../module/util/object.js";
|
|
15
|
+
// src/config/resolver/regions.ts
|
|
16
16
|
/**
|
|
17
17
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
18
|
* billboard.js project is licensed under the MIT license
|
|
@@ -39,5 +39,4 @@ let regions = () => {
|
|
|
39
39
|
Chart.prototype.regions = regions_default.regions;
|
|
40
40
|
return (regions = () => ({}))();
|
|
41
41
|
};
|
|
42
|
-
//#endregion
|
|
43
42
|
export { regions };
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1
|
|
8
|
+
* @version 4.2.0-next.1
|
|
9
9
|
*/
|
|
10
|
-
import { extend } from "../../../module/util/object.js";
|
|
11
|
-
import Options from "../../Options/Options.js";
|
|
12
10
|
import ChartInternal from "../../../ChartInternal/ChartInternal.js";
|
|
11
|
+
import arc_default from "../../../ChartInternal/shape/arc.js";
|
|
13
12
|
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
13
|
+
import { extend } from "../../../module/util/object.js";
|
|
14
14
|
import point_default$1 from "../../Options/common/point.js";
|
|
15
|
-
import
|
|
16
|
-
|
|
15
|
+
import Options from "../../Options/Options.js";
|
|
16
|
+
// src/config/resolver/shape/arc.helpers.ts
|
|
17
17
|
/**
|
|
18
18
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
19
19
|
* billboard.js project is licensed under the MIT license
|
|
@@ -28,5 +28,4 @@ function extendArc(module, option) {
|
|
|
28
28
|
extend(ChartInternal.prototype, [arc_default, point_default].concat(module || []));
|
|
29
29
|
Options.setOptions([point_default$1].concat(option || []));
|
|
30
30
|
}
|
|
31
|
-
//#endregion
|
|
32
31
|
export { extendArc };
|