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
|
@@ -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 { TYPE } from "../../const.js";
|
|
11
10
|
import area_default from "../../../ChartInternal/shape/area.js";
|
|
11
|
+
import { TYPE } from "../../const.js";
|
|
12
12
|
import area_default$1 from "../../Options/shape/area.js";
|
|
13
13
|
import spline_default from "../../Options/shape/spline.js";
|
|
14
14
|
import { extendLine } from "./axis.helpers.js";
|
|
15
|
-
|
|
15
|
+
// src/config/resolver/shape/area.ts
|
|
16
16
|
/**
|
|
17
17
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
18
|
* billboard.js project is licensed under the MIT license
|
|
@@ -23,5 +23,4 @@ let areaStepRange = () => (extendLine(area_default, [area_default$1]), (areaStep
|
|
|
23
23
|
let areaSpline = () => (extendLine(area_default, [area_default$1, spline_default]), (areaSpline = () => TYPE.AREA_SPLINE)());
|
|
24
24
|
let areaSplineRange = () => (extendLine(area_default, [area_default$1, spline_default]), (areaSplineRange = () => TYPE.AREA_SPLINE_RANGE)());
|
|
25
25
|
let areaStep = () => (extendLine(area_default, [area_default$1]), (areaStep = () => TYPE.AREA_STEP)());
|
|
26
|
-
//#endregion
|
|
27
26
|
export { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange };
|
|
@@ -5,7 +5,7 @@
|
|
|
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
10
|
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
11
11
|
import line_default from "../../../ChartInternal/shape/line.js";
|
|
@@ -13,7 +13,7 @@ import point_default$1 from "../../../ChartInternal/shape/point.js";
|
|
|
13
13
|
import point_default$2 from "../../Options/common/point.js";
|
|
14
14
|
import line_default$1 from "../../Options/shape/line.js";
|
|
15
15
|
import { extendAxisModules } from "../axis.core.js";
|
|
16
|
-
|
|
16
|
+
// src/config/resolver/shape/axis.helpers.ts
|
|
17
17
|
/**
|
|
18
18
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
19
19
|
* billboard.js project is licensed under the MIT license
|
|
@@ -40,5 +40,4 @@ function extendLine(module, option = []) {
|
|
|
40
40
|
line_default
|
|
41
41
|
].concat(Array.isArray(module) ? module : module ? [module] : []), [point_default$2, line_default$1].concat(option));
|
|
42
42
|
}
|
|
43
|
-
//#endregion
|
|
44
43
|
export { extendAxis, extendLine };
|
|
@@ -5,19 +5,18 @@
|
|
|
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
|
|
10
|
+
import bar_default from "../../../ChartInternal/shape/bar.js";
|
|
11
11
|
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
12
|
+
import { TYPE } from "../../const.js";
|
|
12
13
|
import point_default$1 from "../../Options/common/point.js";
|
|
13
|
-
import { extendAxis } from "./axis.helpers.js";
|
|
14
|
-
import bar_default from "../../../ChartInternal/shape/bar.js";
|
|
15
14
|
import bar_default$1 from "../../Options/shape/bar.js";
|
|
16
|
-
|
|
15
|
+
import { extendAxis } from "./axis.helpers.js";
|
|
16
|
+
// src/config/resolver/shape/bar.ts
|
|
17
17
|
/**
|
|
18
18
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
19
19
|
* billboard.js project is licensed under the MIT license
|
|
20
20
|
*/
|
|
21
21
|
let bar = () => (extendAxis([bar_default, point_default], [bar_default$1, point_default$1]), (bar = () => TYPE.BAR)());
|
|
22
|
-
//#endregion
|
|
23
22
|
export { bar };
|
|
@@ -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 boxplot_default from "../../../ChartInternal/shape/boxplot.js";
|
|
11
|
+
import boxplot_default$1, { $BOXPLOT } from "../../../ChartInternal/shape/core/boxplot.js";
|
|
12
|
+
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
13
|
+
import { $COMMON } from "../../classes.js";
|
|
14
|
+
import point_default$1 from "../../Options/common/point.js";
|
|
15
|
+
import boxplot_default$2 from "../../Options/shape/boxplot.js";
|
|
16
|
+
import { registerAxisType } from "../customType.js";
|
|
17
|
+
import { extendAxis } from "./axis.helpers.js";
|
|
18
|
+
// src/config/resolver/shape/boxplot.ts
|
|
19
|
+
/**
|
|
20
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
21
|
+
* billboard.js project is licensed under the MIT license
|
|
22
|
+
*/
|
|
23
|
+
const boxplotAxisType = {
|
|
24
|
+
padded: true,
|
|
25
|
+
domainValues: ($$, row) => boxplot_default$1.getBoxplotDomainValues.call($$, row),
|
|
26
|
+
hit: ($$, d) => `.${$BOXPLOT.chartBoxplot}.${$COMMON.target}${$$.getTargetSelectorSuffix(d.id)} .${$BOXPLOT.boxplot}-${d.index} .${$BOXPLOT.boxplotBox}`,
|
|
27
|
+
tooltipRows: ($$, row, format, param) => boxplot_default$1.getBoxplotTooltipRows.call($$, row, format, param)
|
|
28
|
+
};
|
|
29
|
+
let boxplot = () => (extendAxis([boxplot_default, point_default], [boxplot_default$2, point_default$1]), registerAxisType("boxplot", boxplotAxisType), (boxplot = () => "boxplot")());
|
|
30
|
+
export { boxplot, boxplotAxisType };
|
|
@@ -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
|
|
10
|
+
import bubble_default from "../../../ChartInternal/shape/bubble.js";
|
|
11
11
|
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
12
12
|
import point_default$1 from "../../../ChartInternal/shape/point.js";
|
|
13
|
+
import { TYPE } from "../../const.js";
|
|
13
14
|
import point_default$2 from "../../Options/common/point.js";
|
|
14
|
-
import { extendAxis } from "./axis.helpers.js";
|
|
15
|
-
import bubble_default from "../../../ChartInternal/shape/bubble.js";
|
|
16
15
|
import bubble_default$1 from "../../Options/shape/bubble.js";
|
|
17
|
-
|
|
16
|
+
import { extendAxis } from "./axis.helpers.js";
|
|
17
|
+
// src/config/resolver/shape/bubble.ts
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
20
|
* billboard.js project is licensed under the MIT license
|
|
@@ -24,5 +24,4 @@ let bubble = () => (extendAxis([
|
|
|
24
24
|
point_default$1,
|
|
25
25
|
bubble_default
|
|
26
26
|
], [bubble_default$1, point_default$2]), (bubble = () => TYPE.BUBBLE)());
|
|
27
|
-
//#endregion
|
|
28
27
|
export { bubble };
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import bullet_default from "../../../ChartInternal/shape/bullet.js";
|
|
12
|
+
import { customTypeHooks } from "../../../ChartInternal/shape/core/bullet.js";
|
|
13
|
+
import { extend } from "../../../module/util/object.js";
|
|
14
|
+
import Options from "../../Options/Options.js";
|
|
15
|
+
import bullet_default$1 from "../../Options/shape/bullet.js";
|
|
16
|
+
import { registerCustomType } from "../customType.js";
|
|
17
|
+
// src/config/resolver/shape/bullet.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
|
+
* billboard.js project is licensed under the MIT license
|
|
21
|
+
*/
|
|
22
|
+
let bullet = () => (extend(ChartInternal.prototype, [bullet_default]), Options.setOptions([bullet_default$1]), registerCustomType("bullet", { hooks: customTypeHooks }), (bullet = () => "bullet")());
|
|
23
|
+
export { bullet };
|
|
@@ -5,19 +5,18 @@
|
|
|
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
|
|
10
|
+
import candlestick_default from "../../../ChartInternal/shape/candlestick.js";
|
|
11
11
|
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
12
|
+
import { TYPE } from "../../const.js";
|
|
12
13
|
import point_default$1 from "../../Options/common/point.js";
|
|
13
|
-
import { extendAxis } from "./axis.helpers.js";
|
|
14
|
-
import candlestick_default from "../../../ChartInternal/shape/candlestick.js";
|
|
15
14
|
import candlestick_default$1 from "../../Options/shape/candlestick.js";
|
|
16
|
-
|
|
15
|
+
import { extendAxis } from "./axis.helpers.js";
|
|
16
|
+
// src/config/resolver/shape/candlestick.ts
|
|
17
17
|
/**
|
|
18
18
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
19
19
|
* billboard.js project is licensed under the MIT license
|
|
20
20
|
*/
|
|
21
21
|
let candlestick = () => (extendAxis([candlestick_default, point_default], [candlestick_default$1, point_default$1]), (candlestick = () => TYPE.CANDLESTICK)());
|
|
22
|
-
//#endregion
|
|
23
22
|
export { candlestick };
|
|
@@ -5,17 +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
10
|
import { TYPE } from "../../const.js";
|
|
11
11
|
import arc_default from "../../Options/shape/arc.js";
|
|
12
12
|
import donut_default from "../../Options/shape/donut.js";
|
|
13
13
|
import { extendArc } from "./arc.helpers.js";
|
|
14
|
-
|
|
14
|
+
// src/config/resolver/shape/donut.ts
|
|
15
15
|
/**
|
|
16
16
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
17
17
|
* billboard.js project is licensed under the MIT license
|
|
18
18
|
*/
|
|
19
19
|
let donut = () => (extendArc(void 0, [arc_default, donut_default]), (donut = () => TYPE.DONUT)());
|
|
20
|
-
//#endregion
|
|
21
20
|
export { donut };
|
|
@@ -5,17 +5,18 @@
|
|
|
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 funnel_default, { customTypeHooks } from "../../../ChartInternal/shape/funnel.js";
|
|
11
|
+
import classes_default, { $FUNNEL } from "../../classes.js";
|
|
10
12
|
import { TYPE } from "../../const.js";
|
|
11
|
-
import { extendArc } from "./arc.helpers.js";
|
|
12
|
-
import funnel_default from "../../../ChartInternal/shape/funnel.js";
|
|
13
13
|
import funnel_default$1 from "../../Options/shape/funnel.js";
|
|
14
|
-
|
|
14
|
+
import { registerCustomType } from "../customType.js";
|
|
15
|
+
import { extendArc } from "./arc.helpers.js";
|
|
16
|
+
// src/config/resolver/shape/funnel.ts
|
|
15
17
|
/**
|
|
16
18
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
17
19
|
* billboard.js project is licensed under the MIT license
|
|
18
20
|
*/
|
|
19
|
-
let funnel = () => (extendArc([funnel_default], [funnel_default$1]), (funnel = () => TYPE.FUNNEL)());
|
|
20
|
-
//#endregion
|
|
21
|
+
let funnel = () => (extendArc([funnel_default], [funnel_default$1]), Object.assign(classes_default, $FUNNEL), registerCustomType("funnel", { hooks: customTypeHooks }), (funnel = () => TYPE.FUNNEL)());
|
|
21
22
|
export { funnel };
|
|
@@ -5,18 +5,17 @@
|
|
|
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 gauge_default from "../../../ChartInternal/shape/gauge.js";
|
|
10
11
|
import { TYPE } from "../../const.js";
|
|
11
12
|
import arc_default from "../../Options/shape/arc.js";
|
|
12
|
-
import { extendArc } from "./arc.helpers.js";
|
|
13
|
-
import gauge_default from "../../../ChartInternal/shape/gauge.js";
|
|
14
13
|
import gauge_default$1 from "../../Options/shape/gauge.js";
|
|
15
|
-
|
|
14
|
+
import { extendArc } from "./arc.helpers.js";
|
|
15
|
+
// src/config/resolver/shape/gauge.ts
|
|
16
16
|
/**
|
|
17
17
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
18
|
* billboard.js project is licensed under the MIT license
|
|
19
19
|
*/
|
|
20
20
|
let gauge = () => (extendArc([gauge_default], [arc_default, gauge_default$1]), (gauge = () => TYPE.GAUGE)());
|
|
21
|
-
//#endregion
|
|
22
21
|
export { gauge };
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { customTypeHooks } from "../../../ChartInternal/shape/core/heatmap.js";
|
|
12
|
+
import heatmap_default from "../../../ChartInternal/shape/heatmap.js";
|
|
13
|
+
import { extend } from "../../../module/util/object.js";
|
|
14
|
+
import Options from "../../Options/Options.js";
|
|
15
|
+
import heatmap_default$1 from "../../Options/shape/heatmap.js";
|
|
16
|
+
import { registerCustomType } from "../customType.js";
|
|
17
|
+
// src/config/resolver/shape/heatmap.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
|
+
* billboard.js project is licensed under the MIT license
|
|
21
|
+
*/
|
|
22
|
+
let heatmap = () => (extend(ChartInternal.prototype, [heatmap_default]), Options.setOptions([heatmap_default$1]), registerCustomType("heatmap", { hooks: customTypeHooks }), (heatmap = () => "heatmap")());
|
|
23
|
+
export { heatmap };
|
|
@@ -5,12 +5,12 @@
|
|
|
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
10
|
import { TYPE } from "../../const.js";
|
|
11
11
|
import spline_default from "../../Options/shape/spline.js";
|
|
12
12
|
import { extendLine } from "./axis.helpers.js";
|
|
13
|
-
|
|
13
|
+
// src/config/resolver/shape/line.ts
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
16
16
|
* billboard.js project is licensed under the MIT license
|
|
@@ -18,5 +18,4 @@ import { extendLine } from "./axis.helpers.js";
|
|
|
18
18
|
let line = () => (extendLine(), (line = () => TYPE.LINE)());
|
|
19
19
|
let spline = () => (extendLine(void 0, [spline_default]), (spline = () => TYPE.SPLINE)());
|
|
20
20
|
let step = () => (extendLine(), (step = () => TYPE.STEP)());
|
|
21
|
-
//#endregion
|
|
22
21
|
export { line, spline, step };
|
|
@@ -5,17 +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
10
|
import { TYPE } from "../../const.js";
|
|
11
11
|
import arc_default from "../../Options/shape/arc.js";
|
|
12
|
-
import { extendArc } from "./arc.helpers.js";
|
|
13
12
|
import pie_default from "../../Options/shape/pie.js";
|
|
14
|
-
|
|
13
|
+
import { extendArc } from "./arc.helpers.js";
|
|
14
|
+
// src/config/resolver/shape/pie.ts
|
|
15
15
|
/**
|
|
16
16
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
17
17
|
* billboard.js project is licensed under the MIT license
|
|
18
18
|
*/
|
|
19
19
|
let pie = () => (extendArc(void 0, [arc_default, pie_default]), (pie = () => TYPE.PIE)());
|
|
20
|
-
//#endregion
|
|
21
20
|
export { pie };
|
|
@@ -5,18 +5,17 @@
|
|
|
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 polar_default from "../../../ChartInternal/shape/polar.js";
|
|
10
11
|
import { TYPE } from "../../const.js";
|
|
11
12
|
import arc_default from "../../Options/shape/arc.js";
|
|
12
|
-
import { extendArc } from "./arc.helpers.js";
|
|
13
|
-
import polar_default from "../../../ChartInternal/shape/polar.js";
|
|
14
13
|
import polar_default$1 from "../../Options/shape/polar.js";
|
|
15
|
-
|
|
14
|
+
import { extendArc } from "./arc.helpers.js";
|
|
15
|
+
// src/config/resolver/shape/polar.ts
|
|
16
16
|
/**
|
|
17
17
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
18
18
|
* billboard.js project is licensed under the MIT license
|
|
19
19
|
*/
|
|
20
20
|
let polar = () => (extendArc([polar_default], [arc_default, polar_default$1]), (polar = () => TYPE.POLAR)());
|
|
21
|
-
//#endregion
|
|
22
21
|
export { polar };
|
|
@@ -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 { TYPE } from "../../const.js";
|
|
11
10
|
import point_default from "../../../ChartInternal/shape/point.js";
|
|
11
|
+
import radar_default from "../../../ChartInternal/shape/radar.js";
|
|
12
|
+
import { TYPE } from "../../const.js";
|
|
12
13
|
import point_default$1 from "../../Options/common/point.js";
|
|
14
|
+
import radar_default$1 from "../../Options/shape/radar.js";
|
|
13
15
|
import { internal, options } from "../axis.js";
|
|
14
16
|
import { extendArc } from "./arc.helpers.js";
|
|
15
|
-
|
|
16
|
-
import radar_default$1 from "../../Options/shape/radar.js";
|
|
17
|
-
//#region src/config/resolver/shape/radar.ts
|
|
17
|
+
// src/config/resolver/shape/radar.ts
|
|
18
18
|
/**
|
|
19
19
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
20
|
* billboard.js project is licensed under the MIT license
|
|
@@ -28,5 +28,4 @@ let radar = () => (extendArc([
|
|
|
28
28
|
radar_default$1,
|
|
29
29
|
{ axis_x_categories: options.optAxis.axis_x_categories }
|
|
30
30
|
]), (radar = () => TYPE.RADAR)());
|
|
31
|
-
//#endregion
|
|
32
31
|
export { radar };
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import { customTypeHooks } from "../../../ChartInternal/shape/core/sankey.js";
|
|
12
|
+
import sankey_default from "../../../ChartInternal/shape/sankey.js";
|
|
13
|
+
import { extend } from "../../../module/util/object.js";
|
|
14
|
+
import Options from "../../Options/Options.js";
|
|
15
|
+
import sankey_default$1 from "../../Options/shape/sankey.js";
|
|
16
|
+
import { registerCustomType } from "../customType.js";
|
|
17
|
+
// src/config/resolver/shape/sankey.ts
|
|
18
|
+
/**
|
|
19
|
+
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
20
|
+
* billboard.js project is licensed under the MIT license
|
|
21
|
+
*/
|
|
22
|
+
let sankey = () => (extend(ChartInternal.prototype, [sankey_default]), Options.setOptions([sankey_default$1]), registerCustomType("sankey", { hooks: customTypeHooks }), (sankey = () => "sankey")());
|
|
23
|
+
export { sankey };
|
|
@@ -5,19 +5,18 @@
|
|
|
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 { TYPE } from "../../const.js";
|
|
11
10
|
import point_default from "../../../ChartInternal/shape/core/point.js";
|
|
12
11
|
import point_default$1 from "../../../ChartInternal/shape/point.js";
|
|
12
|
+
import { TYPE } from "../../const.js";
|
|
13
13
|
import point_default$2 from "../../Options/common/point.js";
|
|
14
|
-
import { extendAxis } from "./axis.helpers.js";
|
|
15
14
|
import scatter_default from "../../Options/shape/scatter.js";
|
|
16
|
-
|
|
15
|
+
import { extendAxis } from "./axis.helpers.js";
|
|
16
|
+
// src/config/resolver/shape/scatter.ts
|
|
17
17
|
/**
|
|
18
18
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
19
19
|
* billboard.js project is licensed under the MIT license
|
|
20
20
|
*/
|
|
21
21
|
let scatter = () => (extendAxis([point_default, point_default$1], [point_default$2, scatter_default]), (scatter = () => TYPE.SCATTER)());
|
|
22
|
-
//#endregion
|
|
23
22
|
export { scatter };
|
|
@@ -5,17 +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 { TYPE } from "../../const.js";
|
|
11
|
-
import { extendAxis } from "./axis.helpers.js";
|
|
12
10
|
import treemap_default from "../../../ChartInternal/shape/treemap.js";
|
|
11
|
+
import { TYPE } from "../../const.js";
|
|
13
12
|
import treemap_default$1 from "../../Options/shape/treemap.js";
|
|
14
|
-
|
|
13
|
+
import { extendAxis } from "./axis.helpers.js";
|
|
14
|
+
// src/config/resolver/shape/treemap.ts
|
|
15
15
|
/**
|
|
16
16
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
17
17
|
* billboard.js project is licensed under the MIT license
|
|
18
18
|
*/
|
|
19
19
|
let treemap = () => (extendAxis([treemap_default], [treemap_default$1]), (treemap = () => TYPE.TREEMAP)());
|
|
20
|
-
//#endregion
|
|
21
20
|
export { treemap };
|
package/dist-esm/core.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
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";
|
|
10
11
|
import { isObject } from "./module/util/type-checks.js";
|
|
11
12
|
import { mergeObj } from "./module/util/object.js";
|
|
12
|
-
|
|
13
|
-
//#region src/core.ts
|
|
13
|
+
// src/core.ts
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
16
16
|
* billboard project is licensed under the MIT license
|
|
@@ -18,7 +18,7 @@ import Chart from "./Chart/Chart.js";
|
|
|
18
18
|
let defaults = Object.create(null);
|
|
19
19
|
/**
|
|
20
20
|
* @namespace bb
|
|
21
|
-
* @version 4.1
|
|
21
|
+
* @version 4.2.0-next.1
|
|
22
22
|
*/
|
|
23
23
|
const bb = {
|
|
24
24
|
/**
|
|
@@ -28,7 +28,7 @@ const bb = {
|
|
|
28
28
|
* bb.version; // "1.0.0"
|
|
29
29
|
* @memberof bb
|
|
30
30
|
*/
|
|
31
|
-
version: "4.1
|
|
31
|
+
version: "4.2.0-next.1",
|
|
32
32
|
/**
|
|
33
33
|
* Generate chart
|
|
34
34
|
* - **NOTE:** Bear in mind for the possibility of ***throwing an error***, during the generation when:
|
|
@@ -219,5 +219,4 @@ const bb = {
|
|
|
219
219
|
*/
|
|
220
220
|
plugin: {}
|
|
221
221
|
};
|
|
222
|
-
//#endregion
|
|
223
222
|
export { bb, bb as default };
|
package/dist-esm/index.canvas.js
CHANGED
|
@@ -5,18 +5,22 @@
|
|
|
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
10
|
import "./Chart/api/stubs.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { boxplot } from "./config/resolver/canvasBoxplot.js";
|
|
12
|
+
import { bullet } from "./config/resolver/canvasBullet.js";
|
|
13
|
+
import { heatmap } from "./config/resolver/canvasHeatmap.js";
|
|
14
|
+
import { sankey } from "./config/resolver/canvasSankey.js";
|
|
15
|
+
import { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange, bar, bubble, candlestick, line, scatter, spline, step, treemap } from "./config/resolver/canvasShape.js";
|
|
16
|
+
import { canvas } from "./config/resolver/canvas.js";
|
|
17
|
+
import { flow } from "./config/resolver/canvasFlow.js";
|
|
18
|
+
import { grid } from "./config/resolver/canvasGrid.js";
|
|
14
19
|
import { category } from "./config/resolver/category.js";
|
|
15
20
|
import { exportApi } from "./config/resolver/export.js";
|
|
16
|
-
import { flow } from "./config/resolver/flow.js";
|
|
17
|
-
import { grid } from "./config/resolver/grid.js";
|
|
18
21
|
import { regions } from "./config/resolver/regions.js";
|
|
22
|
+
import { selection } from "./config/resolver/canvasSelection.js";
|
|
23
|
+
import { subchart } from "./config/resolver/canvasSubchart.js";
|
|
24
|
+
import { zoomModule } from "./config/resolver/interaction/zoom.js";
|
|
19
25
|
import { bb } from "./core.js";
|
|
20
|
-
|
|
21
|
-
import { canvas } from "./config/resolver/canvas.js";
|
|
22
|
-
export { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange, bar, bb, bubble, candlestick, canvas, category, bb as default, exportApi, flow, grid, line, regions, scatter, selectionModule as selection, spline, step, subchartModule as subchart, treemap, zoomModule as zoom };
|
|
26
|
+
export { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange, bar, bb, boxplot, bubble, bullet, candlestick, canvas, category, bb as default, exportApi, flow, grid, heatmap, line, regions, sankey, scatter, selection, spline, step, subchart, treemap, zoomModule as zoom };
|
package/dist-esm/index.esm.js
CHANGED
|
@@ -5,20 +5,24 @@
|
|
|
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
10
|
import "./Chart/api/stubs.js";
|
|
11
11
|
import { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange } from "./config/resolver/shape/area.js";
|
|
12
12
|
import { bar } from "./config/resolver/shape/bar.js";
|
|
13
|
+
import { boxplot } from "./config/resolver/shape/boxplot.js";
|
|
13
14
|
import { bubble } from "./config/resolver/shape/bubble.js";
|
|
15
|
+
import { bullet } from "./config/resolver/shape/bullet.js";
|
|
14
16
|
import { candlestick } from "./config/resolver/shape/candlestick.js";
|
|
15
17
|
import { donut } from "./config/resolver/shape/donut.js";
|
|
16
18
|
import { funnel } from "./config/resolver/shape/funnel.js";
|
|
17
19
|
import { gauge } from "./config/resolver/shape/gauge.js";
|
|
20
|
+
import { heatmap } from "./config/resolver/shape/heatmap.js";
|
|
18
21
|
import { line, spline, step } from "./config/resolver/shape/line.js";
|
|
19
22
|
import { pie } from "./config/resolver/shape/pie.js";
|
|
20
23
|
import { polar } from "./config/resolver/shape/polar.js";
|
|
21
24
|
import { radar } from "./config/resolver/shape/radar.js";
|
|
25
|
+
import { sankey } from "./config/resolver/shape/sankey.js";
|
|
22
26
|
import { scatter } from "./config/resolver/shape/scatter.js";
|
|
23
27
|
import { treemap } from "./config/resolver/shape/treemap.js";
|
|
24
28
|
import { selectionModule } from "./config/resolver/interaction/selection.js";
|
|
@@ -30,4 +34,4 @@ import { flow } from "./config/resolver/flow.js";
|
|
|
30
34
|
import { grid } from "./config/resolver/grid.js";
|
|
31
35
|
import { regions } from "./config/resolver/regions.js";
|
|
32
36
|
import { bb } from "./core.js";
|
|
33
|
-
export { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange, bar, bb, bubble, candlestick, category, bb as default, donut, exportApi, flow, funnel, gauge, grid, line, pie, polar, radar, regions, scatter, selectionModule as selection, spline, step, subchartModule as subchart, treemap, zoomModule as zoom };
|
|
37
|
+
export { area, areaLineRange, areaSpline, areaSplineRange, areaStep, areaStepRange, bar, bb, boxplot, bubble, bullet, candlestick, category, bb as default, donut, exportApi, flow, funnel, gauge, grid, heatmap, line, pie, polar, radar, regions, sankey, scatter, selectionModule as selection, spline, step, subchartModule as subchart, treemap, zoomModule as zoom };
|
package/dist-esm/module/Cache.js
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
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
10
|
import { isString } from "./util/type-checks.js";
|
|
11
|
-
|
|
11
|
+
// src/module/Cache.ts
|
|
12
12
|
/**
|
|
13
13
|
* Constant for cache key
|
|
14
14
|
* - NOTE: Prefixed with '$', will be resetted when .load() is called
|
|
@@ -125,5 +125,4 @@ var Cache = class {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
|
-
//#endregion
|
|
129
128
|
export { KEY, Cache as default };
|
|
@@ -5,9 +5,9 @@
|
|
|
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
|
-
|
|
10
|
+
// src/module/browser.ts
|
|
11
11
|
/**
|
|
12
12
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
13
13
|
* billboard.js project is licensed under the MIT license
|
|
@@ -45,5 +45,4 @@ function getFallback(w) {
|
|
|
45
45
|
const win = getGlobal();
|
|
46
46
|
const doc = win?.document;
|
|
47
47
|
const [requestAnimationFrame, cancelAnimationFrame, requestIdleCallback, cancelIdleCallback] = getFallback(win);
|
|
48
|
-
//#endregion
|
|
49
48
|
export { cancelAnimationFrame, cancelIdleCallback, doc as document, getFallback, requestAnimationFrame, requestIdleCallback, win as window };
|
package/dist-esm/module/dsv.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
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
|
-
|
|
10
|
+
// src/module/dsv.ts
|
|
11
11
|
/**
|
|
12
12
|
* Copyright (c) 2017 ~ present NAVER Corp.
|
|
13
13
|
* billboard.js project is licensed under the MIT license
|
|
@@ -121,5 +121,4 @@ const csvParse = csv.parse;
|
|
|
121
121
|
const csvParseRows = csv.parseRows;
|
|
122
122
|
const tsvParse = tsv.parse;
|
|
123
123
|
const tsvParseRows = tsv.parseRows;
|
|
124
|
-
//#endregion
|
|
125
124
|
export { csvParse, csvParseRows, tsvParse, tsvParseRows };
|