billboard.js 4.1.4 → 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.
Files changed (352) hide show
  1. package/dist/billboard.css +87 -1
  2. package/dist/billboard.js +11129 -7032
  3. package/dist/billboard.min.css +2 -2
  4. package/dist/billboard.min.js +20 -20
  5. package/dist/billboard.pkgd.js +22703 -14154
  6. package/dist/billboard.pkgd.min.js +37 -37
  7. package/dist/billboard.react.js +5 -5
  8. package/dist/billboard.react.min.js +2 -2
  9. package/dist/billboard.worker.js +1 -1
  10. package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-sparkline.js +21 -4
  13. package/dist/plugin/billboardjs-plugin-sparkline.min.js +3 -3
  14. package/dist/plugin/billboardjs-plugin-stanford.js +22 -13
  15. package/dist/plugin/billboardjs-plugin-stanford.min.js +4 -4
  16. package/dist/plugin/billboardjs-plugin-tableview.js +20 -3
  17. package/dist/plugin/billboardjs-plugin-tableview.min.js +4 -4
  18. package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
  19. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  20. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +1689 -1252
  21. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +8 -8
  22. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2288 -1012
  23. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +10 -10
  24. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +6350 -2390
  25. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +18 -18
  26. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +1310 -1006
  27. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +10 -10
  28. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +1293 -1006
  29. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +8 -8
  30. package/dist/theme/dark.css +90 -1
  31. package/dist/theme/dark.min.css +2 -2
  32. package/dist/theme/datalab.css +87 -1
  33. package/dist/theme/datalab.min.css +2 -2
  34. package/dist/theme/graph.css +87 -1
  35. package/dist/theme/graph.min.css +2 -2
  36. package/dist/theme/insight.css +87 -1
  37. package/dist/theme/insight.min.css +2 -2
  38. package/dist/theme/modern.css +87 -1
  39. package/dist/theme/modern.min.css +2 -2
  40. package/dist-esm/Chart/Chart.js +5 -5
  41. package/dist-esm/Chart/api/axis.js +2 -3
  42. package/dist-esm/Chart/api/category.js +2 -3
  43. package/dist-esm/Chart/api/chart.js +3 -4
  44. package/dist-esm/Chart/api/color.js +2 -3
  45. package/dist-esm/Chart/api/data.js +3 -4
  46. package/dist-esm/Chart/api/export.js +3 -4
  47. package/dist-esm/Chart/api/flow.js +15 -9
  48. package/dist-esm/Chart/api/focus.js +5 -3
  49. package/dist-esm/Chart/api/grid.js +2 -3
  50. package/dist-esm/Chart/api/group.js +2 -3
  51. package/dist-esm/Chart/api/legend.js +1 -2
  52. package/dist-esm/Chart/api/load.js +3 -4
  53. package/dist-esm/Chart/api/regions.js +3 -4
  54. package/dist-esm/Chart/api/selection.js +3 -4
  55. package/dist-esm/Chart/api/show.js +2 -3
  56. package/dist-esm/Chart/api/stubs.js +3 -4
  57. package/dist-esm/Chart/api/subchart.js +4 -5
  58. package/dist-esm/Chart/api/tooltip.js +28 -9
  59. package/dist-esm/Chart/api/x.js +2 -3
  60. package/dist-esm/Chart/api/zoom.js +6 -7
  61. package/dist-esm/ChartInternal/Axis/Axis.js +5 -6
  62. package/dist-esm/ChartInternal/Axis/AxisRenderer.js +26 -17
  63. package/dist-esm/ChartInternal/Axis/AxisRendererHelper.js +40 -12
  64. package/dist-esm/ChartInternal/ChartInternal.js +39 -24
  65. package/dist-esm/ChartInternal/data/convert.helper.js +2 -3
  66. package/dist-esm/ChartInternal/data/convert.js +3 -4
  67. package/dist-esm/ChartInternal/data/data.js +18 -11
  68. package/dist-esm/ChartInternal/data/load.js +4 -5
  69. package/dist-esm/ChartInternal/interactions/drag.js +3 -4
  70. package/dist-esm/ChartInternal/interactions/eventrect.js +4 -5
  71. package/dist-esm/ChartInternal/interactions/flow.js +25 -19
  72. package/dist-esm/ChartInternal/interactions/interaction.js +14 -13
  73. package/dist-esm/ChartInternal/interactions/subchart.js +5 -6
  74. package/dist-esm/ChartInternal/interactions/zoom.js +4 -5
  75. package/dist-esm/ChartInternal/internals/category.js +2 -3
  76. package/dist-esm/ChartInternal/internals/class.js +5 -5
  77. package/dist-esm/ChartInternal/internals/clip.js +2 -3
  78. package/dist-esm/ChartInternal/internals/color.js +4 -5
  79. package/dist-esm/ChartInternal/internals/domain.js +7 -7
  80. package/dist-esm/ChartInternal/internals/format.js +3 -4
  81. package/dist-esm/ChartInternal/internals/grid.js +4 -5
  82. package/dist-esm/ChartInternal/internals/legend.js +7 -7
  83. package/dist-esm/ChartInternal/internals/redraw.js +13 -13
  84. package/dist-esm/ChartInternal/internals/region.js +4 -5
  85. package/dist-esm/ChartInternal/internals/scale.js +2 -3
  86. package/dist-esm/ChartInternal/internals/selection.js +3 -4
  87. package/dist-esm/ChartInternal/internals/size.axis.js +2 -3
  88. package/dist-esm/ChartInternal/internals/size.js +8 -9
  89. package/dist-esm/ChartInternal/internals/style.js +4 -5
  90. package/dist-esm/ChartInternal/internals/subchart.util.js +2 -3
  91. package/dist-esm/ChartInternal/internals/text.arc.js +3 -4
  92. package/dist-esm/ChartInternal/internals/text.js +22 -23
  93. package/dist-esm/ChartInternal/internals/text.util.js +4 -5
  94. package/dist-esm/ChartInternal/internals/title.js +4 -5
  95. package/dist-esm/ChartInternal/internals/tooltip.js +42 -23
  96. package/dist-esm/ChartInternal/internals/transform.js +5 -6
  97. package/dist-esm/ChartInternal/internals/type.js +78 -11
  98. package/dist-esm/ChartInternal/shape/arc.js +5 -6
  99. package/dist-esm/ChartInternal/shape/area.js +4 -5
  100. package/dist-esm/ChartInternal/shape/bar.js +5 -6
  101. package/dist-esm/ChartInternal/shape/boxplot.js +111 -0
  102. package/dist-esm/ChartInternal/shape/bubble.js +2 -3
  103. package/dist-esm/ChartInternal/shape/bullet.js +213 -0
  104. package/dist-esm/ChartInternal/shape/candlestick.js +5 -6
  105. package/dist-esm/ChartInternal/shape/core/barRadius.js +2 -3
  106. package/dist-esm/ChartInternal/shape/core/boxplot.js +192 -0
  107. package/dist-esm/ChartInternal/shape/core/bubble.js +4 -5
  108. package/dist-esm/ChartInternal/shape/core/bullet.js +528 -0
  109. package/dist-esm/ChartInternal/shape/core/candlestick.js +2 -3
  110. package/dist-esm/ChartInternal/shape/core/dataRegion.js +2 -3
  111. package/dist-esm/ChartInternal/shape/core/geometry.js +2 -3
  112. package/dist-esm/ChartInternal/shape/core/heatmap.js +453 -0
  113. package/dist-esm/ChartInternal/shape/core/path.js +2 -3
  114. package/dist-esm/ChartInternal/shape/core/point.js +2 -3
  115. package/dist-esm/ChartInternal/shape/core/sankey.js +576 -0
  116. package/dist-esm/ChartInternal/shape/core/treemap.js +2 -3
  117. package/dist-esm/ChartInternal/shape/funnel.js +45 -6
  118. package/dist-esm/ChartInternal/shape/gauge.js +3 -4
  119. package/dist-esm/ChartInternal/shape/heatmap.js +144 -0
  120. package/dist-esm/ChartInternal/shape/line.js +7 -8
  121. package/dist-esm/ChartInternal/shape/point.js +9 -9
  122. package/dist-esm/ChartInternal/shape/polar.js +3 -4
  123. package/dist-esm/ChartInternal/shape/radar.js +19 -7
  124. package/dist-esm/ChartInternal/shape/sankey.js +154 -0
  125. package/dist-esm/ChartInternal/shape/shape.js +15 -11
  126. package/dist-esm/ChartInternal/shape/treemap.js +8 -5
  127. package/dist-esm/canvas/CanvasAxisRenderer.js +28 -328
  128. package/dist-esm/canvas/CanvasEngine.js +2 -3
  129. package/dist-esm/canvas/CanvasPainter.js +2 -3
  130. package/dist-esm/canvas/CanvasRenderer.js +38 -408
  131. package/dist-esm/canvas/CanvasTheme.js +28 -8
  132. package/dist-esm/canvas/HitDetector.js +20 -24
  133. package/dist-esm/canvas/axisTicks.js +5 -6
  134. package/dist-esm/canvas/boxplot.js +201 -0
  135. package/dist-esm/canvas/bullet.js +212 -0
  136. package/dist-esm/canvas/classes.js +2 -3
  137. package/dist-esm/canvas/color.js +2 -3
  138. package/dist-esm/canvas/flow.js +190 -0
  139. package/dist-esm/canvas/geometry.js +2 -3
  140. package/dist-esm/canvas/grid.js +206 -0
  141. package/dist-esm/canvas/heatmap.js +141 -0
  142. package/dist-esm/canvas/labels.js +3 -4
  143. package/dist-esm/canvas/pointPattern.js +2 -3
  144. package/dist-esm/canvas/sankey.js +137 -0
  145. package/dist-esm/canvas/selection.js +473 -0
  146. package/dist-esm/canvas/subchart.js +814 -0
  147. package/dist-esm/canvas/treemap.js +100 -0
  148. package/dist-esm/canvas/util.js +2 -3
  149. package/dist-esm/config/Options/Options.js +3 -4
  150. package/dist-esm/config/Options/axis/axis.js +2 -3
  151. package/dist-esm/config/Options/axis/x.js +2 -3
  152. package/dist-esm/config/Options/axis/y.js +2 -3
  153. package/dist-esm/config/Options/axis/y2.js +14 -3
  154. package/dist-esm/config/Options/common/boost.js +2 -3
  155. package/dist-esm/config/Options/common/color.js +2 -3
  156. package/dist-esm/config/Options/common/grid.js +2 -3
  157. package/dist-esm/config/Options/common/legend.js +2 -3
  158. package/dist-esm/config/Options/common/main.js +2 -3
  159. package/dist-esm/config/Options/common/point.js +2 -3
  160. package/dist-esm/config/Options/common/title.js +2 -3
  161. package/dist-esm/config/Options/common/tooltip.js +2 -3
  162. package/dist-esm/config/Options/data/axis.js +2 -3
  163. package/dist-esm/config/Options/data/data.js +49 -4
  164. package/dist-esm/config/Options/data/selection.js +2 -3
  165. package/dist-esm/config/Options/interaction/interaction.js +2 -3
  166. package/dist-esm/config/Options/interaction/subchart.js +6 -3
  167. package/dist-esm/config/Options/interaction/zoom.js +2 -3
  168. package/dist-esm/config/Options/shape/arc.js +2 -3
  169. package/dist-esm/config/Options/shape/area.js +2 -3
  170. package/dist-esm/config/Options/shape/bar.js +2 -3
  171. package/dist-esm/config/Options/shape/boxplot.js +106 -0
  172. package/dist-esm/config/Options/shape/bubble.js +2 -3
  173. package/dist-esm/config/Options/shape/bullet.js +177 -0
  174. package/dist-esm/config/Options/shape/candlestick.js +2 -3
  175. package/dist-esm/config/Options/shape/donut.js +2 -3
  176. package/dist-esm/config/Options/shape/funnel.js +2 -3
  177. package/dist-esm/config/Options/shape/gauge.js +2 -3
  178. package/dist-esm/config/Options/shape/heatmap.js +137 -0
  179. package/dist-esm/config/Options/shape/line.js +2 -3
  180. package/dist-esm/config/Options/shape/pie.js +2 -3
  181. package/dist-esm/config/Options/shape/polar.js +2 -3
  182. package/dist-esm/config/Options/shape/radar.js +2 -3
  183. package/dist-esm/config/Options/shape/sankey.js +116 -0
  184. package/dist-esm/config/Options/shape/scatter.js +2 -3
  185. package/dist-esm/config/Options/shape/spline.js +2 -3
  186. package/dist-esm/config/Options/shape/treemap.js +2 -3
  187. package/dist-esm/config/Store/Element.js +2 -3
  188. package/dist-esm/config/Store/State.js +4 -4
  189. package/dist-esm/config/Store/Store.js +2 -3
  190. package/dist-esm/config/classes.js +2 -4
  191. package/dist-esm/config/config.js +2 -3
  192. package/dist-esm/config/const.js +31 -23
  193. package/dist-esm/config/resolver/axis.core.js +4 -5
  194. package/dist-esm/config/resolver/axis.js +2 -3
  195. package/dist-esm/config/resolver/canvas.js +113 -900
  196. package/dist-esm/config/resolver/canvasBoxplot.js +49 -0
  197. package/dist-esm/config/resolver/canvasBullet.js +29 -0
  198. package/dist-esm/config/resolver/canvasFlow.js +28 -0
  199. package/dist-esm/config/resolver/canvasGrid.js +27 -0
  200. package/dist-esm/config/resolver/canvasHeatmap.js +31 -0
  201. package/dist-esm/config/resolver/canvasSankey.js +31 -0
  202. package/dist-esm/config/resolver/canvasSelection.js +30 -0
  203. package/dist-esm/config/resolver/canvasShape.js +13 -12
  204. package/dist-esm/config/resolver/canvasSubchart.js +30 -0
  205. package/dist-esm/config/resolver/canvasType.js +48 -0
  206. package/dist-esm/config/resolver/category.js +3 -4
  207. package/dist-esm/config/resolver/customType.js +58 -0
  208. package/dist-esm/config/resolver/export.js +3 -4
  209. package/dist-esm/config/resolver/flow.js +5 -6
  210. package/dist-esm/config/resolver/grid.js +6 -7
  211. package/dist-esm/config/resolver/interaction/selection.js +6 -7
  212. package/dist-esm/config/resolver/interaction/subchart.js +6 -7
  213. package/dist-esm/config/resolver/interaction/zoom.js +6 -7
  214. package/dist-esm/config/resolver/regions.js +5 -6
  215. package/dist-esm/config/resolver/shape/arc.helpers.js +5 -6
  216. package/dist-esm/config/resolver/shape/area.js +3 -4
  217. package/dist-esm/config/resolver/shape/axis.helpers.js +2 -3
  218. package/dist-esm/config/resolver/shape/bar.js +5 -6
  219. package/dist-esm/config/resolver/shape/boxplot.js +30 -0
  220. package/dist-esm/config/resolver/shape/bubble.js +5 -6
  221. package/dist-esm/config/resolver/shape/bullet.js +23 -0
  222. package/dist-esm/config/resolver/shape/candlestick.js +5 -6
  223. package/dist-esm/config/resolver/shape/donut.js +2 -3
  224. package/dist-esm/config/resolver/shape/funnel.js +7 -6
  225. package/dist-esm/config/resolver/shape/gauge.js +4 -5
  226. package/dist-esm/config/resolver/shape/heatmap.js +23 -0
  227. package/dist-esm/config/resolver/shape/line.js +2 -3
  228. package/dist-esm/config/resolver/shape/pie.js +3 -4
  229. package/dist-esm/config/resolver/shape/polar.js +4 -5
  230. package/dist-esm/config/resolver/shape/radar.js +5 -6
  231. package/dist-esm/config/resolver/shape/sankey.js +23 -0
  232. package/dist-esm/config/resolver/shape/scatter.js +4 -5
  233. package/dist-esm/config/resolver/shape/treemap.js +4 -5
  234. package/dist-esm/core.js +5 -6
  235. package/dist-esm/index.canvas.js +13 -9
  236. package/dist-esm/index.esm.js +6 -2
  237. package/dist-esm/module/Cache.js +2 -3
  238. package/dist-esm/module/browser.js +2 -3
  239. package/dist-esm/module/dsv.js +2 -3
  240. package/dist-esm/module/error.js +23 -16
  241. package/dist-esm/module/generator.js +3 -4
  242. package/dist-esm/module/sanitize.js +2 -3
  243. package/dist-esm/module/util/brush.js +2 -3
  244. package/dist-esm/module/util/dom.js +3 -4
  245. package/dist-esm/module/util/object.js +13 -6
  246. package/dist-esm/module/util/type-checks.js +2 -3
  247. package/dist-esm/module/worker.js +2 -3
  248. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +6 -10
  249. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +10 -18
  250. package/dist-esm/plugin/billboardjs-plugin-stanford.js +17 -45
  251. package/dist-esm/plugin/billboardjs-plugin-tableview.js +10 -18
  252. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +9 -16
  253. package/dist-esm/react/index.js +2 -3
  254. package/package.json +44 -44
  255. package/src/Chart/Chart.ts +1 -0
  256. package/src/Chart/api/chart.ts +2 -1
  257. package/src/Chart/api/flow.ts +20 -7
  258. package/src/Chart/api/focus.ts +3 -0
  259. package/src/Chart/api/subchart.ts +1 -1
  260. package/src/Chart/api/tooltip.ts +54 -15
  261. package/src/ChartInternal/Axis/AxisRenderer.ts +29 -20
  262. package/src/ChartInternal/Axis/AxisRendererHelper.ts +45 -9
  263. package/src/ChartInternal/ChartInternal.ts +46 -19
  264. package/src/ChartInternal/data/IData.ts +13 -0
  265. package/src/ChartInternal/data/data.ts +26 -5
  266. package/src/ChartInternal/data/load.ts +2 -2
  267. package/src/ChartInternal/interactions/flow.ts +50 -19
  268. package/src/ChartInternal/interactions/interaction.ts +15 -11
  269. package/src/ChartInternal/internals/class.ts +3 -2
  270. package/src/ChartInternal/internals/domain.ts +4 -2
  271. package/src/ChartInternal/internals/format.ts +3 -1
  272. package/src/ChartInternal/internals/legend.ts +2 -1
  273. package/src/ChartInternal/internals/redraw.ts +18 -12
  274. package/src/ChartInternal/internals/size.ts +5 -3
  275. package/src/ChartInternal/internals/text.ts +24 -28
  276. package/src/ChartInternal/internals/tooltip.ts +59 -20
  277. package/src/ChartInternal/internals/transform.ts +2 -2
  278. package/src/ChartInternal/internals/type.ts +101 -9
  279. package/src/ChartInternal/shape/boxplot.ts +172 -0
  280. package/src/ChartInternal/shape/bullet.ts +323 -0
  281. package/src/ChartInternal/shape/core/boxplot.ts +241 -0
  282. package/src/ChartInternal/shape/core/bullet.ts +734 -0
  283. package/src/ChartInternal/shape/core/heatmap.ts +665 -0
  284. package/src/ChartInternal/shape/core/sankey.ts +782 -0
  285. package/src/ChartInternal/shape/funnel.ts +73 -2
  286. package/src/ChartInternal/shape/heatmap.ts +236 -0
  287. package/src/ChartInternal/shape/point.ts +6 -3
  288. package/src/ChartInternal/shape/radar.ts +30 -1
  289. package/src/ChartInternal/shape/sankey.ts +242 -0
  290. package/src/ChartInternal/shape/shape.ts +16 -4
  291. package/src/ChartInternal/shape/treemap.ts +10 -0
  292. package/src/Plugin/stanford/index.ts +1 -28
  293. package/src/canvas/CanvasAxisRenderer.ts +54 -596
  294. package/src/canvas/CanvasRenderer.ts +68 -640
  295. package/src/canvas/CanvasTheme.ts +92 -6
  296. package/src/canvas/HitDetector.ts +30 -28
  297. package/src/canvas/boxplot.ts +230 -0
  298. package/src/canvas/bullet.ts +269 -0
  299. package/src/canvas/flow.ts +237 -0
  300. package/src/canvas/grid.ts +359 -0
  301. package/src/canvas/heatmap.ts +147 -0
  302. package/src/canvas/labels.ts +3 -1
  303. package/src/canvas/sankey.ts +151 -0
  304. package/src/canvas/selection.ts +626 -0
  305. package/src/canvas/subchart.ts +1292 -0
  306. package/src/canvas/treemap.ts +142 -0
  307. package/src/config/Options/axis/y2.ts +13 -0
  308. package/src/config/Options/data/data.ts +47 -1
  309. package/src/config/Options/interaction/subchart.ts +4 -0
  310. package/src/config/Options/shape/boxplot.ts +95 -0
  311. package/src/config/Options/shape/bullet.ts +170 -0
  312. package/src/config/Options/shape/heatmap.ts +125 -0
  313. package/src/config/Options/shape/sankey.ts +108 -0
  314. package/src/config/Store/State.ts +2 -1
  315. package/src/config/classes.ts +0 -1
  316. package/src/config/const.ts +30 -21
  317. package/src/config/resolver/canvas.ts +147 -1293
  318. package/src/config/resolver/canvasBoxplot.ts +42 -0
  319. package/src/config/resolver/canvasBullet.ts +20 -0
  320. package/src/config/resolver/canvasFlow.ts +18 -0
  321. package/src/config/resolver/canvasGrid.ts +17 -0
  322. package/src/config/resolver/canvasHeatmap.ts +23 -0
  323. package/src/config/resolver/canvasSankey.ts +23 -0
  324. package/src/config/resolver/canvasSelection.ts +20 -0
  325. package/src/config/resolver/canvasShape.ts +6 -1
  326. package/src/config/resolver/canvasSubchart.ts +20 -0
  327. package/src/config/resolver/canvasType.ts +51 -0
  328. package/src/config/resolver/customType.ts +69 -0
  329. package/src/config/resolver/shape/boxplot.ts +31 -0
  330. package/src/config/resolver/shape/bullet.ts +18 -0
  331. package/src/config/resolver/shape/funnel.ts +8 -2
  332. package/src/config/resolver/shape/heatmap.ts +18 -0
  333. package/src/config/resolver/shape/index.ts +4 -0
  334. package/src/config/resolver/shape/sankey.ts +18 -0
  335. package/src/index.canvas.ts +9 -3
  336. package/src/index.esm.ts +4 -0
  337. package/src/index.ts +34 -0
  338. package/src/module/error.ts +32 -18
  339. package/src/module/util/object.ts +26 -1
  340. package/src/scss/billboard.scss +106 -0
  341. package/src/scss/theme/dark.scss +110 -0
  342. package/src/scss/theme/datalab.scss +106 -0
  343. package/src/scss/theme/graph.scss +106 -0
  344. package/src/scss/theme/insight.scss +106 -0
  345. package/src/scss/theme/modern.scss +106 -0
  346. package/types/bb.d.ts +4 -0
  347. package/types/canvas.d.ts +3 -0
  348. package/types/chart.d.ts +5 -0
  349. package/types/index.d.ts +4 -0
  350. package/types/options.d.ts +13 -1
  351. package/types/options.shape.d.ts +431 -0
  352. package/types/types.d.ts +4 -0
@@ -0,0 +1,100 @@
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 { getTreemapLabelText, getTreemapNodeRect } from "../ChartInternal/shape/core/geometry.js";
11
+ import { drawLabelDecorations, getLabelColor } from "./labels.js";
12
+ import { getFontSize, isCanvasTreemapType, isFiniteCanvasCoordinate } from "./util.js";
13
+ // src/canvas/treemap.ts
14
+ /**
15
+ * Copyright (c) 2017 ~ present NAVER Corp.
16
+ * billboard.js project is licensed under the MIT license
17
+ */
18
+ /**
19
+ * Canvas drawing and hit detection of the treemap type.
20
+ * Added to the chart by treemap(): bundles without treemap do not carry it.
21
+ */
22
+ var treemap_default = {
23
+ exclusive: true,
24
+ /**
25
+ * Draw treemap tiles and labels on canvas.
26
+ * @param {CanvasRenderer} renderer Canvas renderer
27
+ * @private
28
+ */
29
+ draw(renderer) {
30
+ const $$ = this;
31
+ const { ctx, painter, theme: { style } } = renderer;
32
+ const { config } = $$;
33
+ const root = $$.getTreemapRoot?.($$.data.targets);
34
+ const nodes = root?.children || [];
35
+ painter.withState(() => {
36
+ ctx.lineWidth = style.treemap.lineWidth;
37
+ ctx.strokeStyle = style.treemap.stroke;
38
+ for (const node of nodes) {
39
+ const { data } = node;
40
+ if (!isCanvasTreemapType($$, data)) continue;
41
+ const { x, y, w, h } = getTreemapNodeRect($$, node, root, true);
42
+ if (!isFiniteCanvasCoordinate(x, y) || !isFiniteCanvasCoordinate(x + w, y + h) || w <= 0 || h <= 0) continue;
43
+ const rect = {
44
+ x,
45
+ y,
46
+ w,
47
+ h
48
+ };
49
+ ctx.fillStyle = $$.color(data.name);
50
+ painter.fillRect(rect);
51
+ painter.strokeRect(rect);
52
+ if (!config.treemap_label_show || (data.ratio || 0) < (config.treemap_label_threshold || 0)) continue;
53
+ const label = getTreemapLabelText($$, data, w, h);
54
+ if (!label) continue;
55
+ const lines = label.split("\n");
56
+ const isCentered = !!config.data_labels.centered;
57
+ ctx.font = style.label.font;
58
+ const lineHeight = getFontSize(ctx.font);
59
+ const metrics = ctx.measureText(lines[0] ?? "");
60
+ const fontBoundingHeight = (metrics.fontBoundingBoxAscent || 0) + (metrics.fontBoundingBoxDescent || 0) || (metrics.actualBoundingBoxAscent || 0) + (metrics.actualBoundingBoxDescent || 0);
61
+ const textHeight = Math.max(lineHeight, fontBoundingHeight) + (lines.length - 1) * lineHeight;
62
+ const blockY = isCentered ? y + h / 2 : y + textHeight + 5;
63
+ let textX = isCentered ? x + w / 2 : x + 5;
64
+ let textY = blockY - (lines.length - 1) * lineHeight / (isCentered ? 2 : 1);
65
+ ctx.textAlign = isCentered ? "center" : "left";
66
+ ctx.textBaseline = isCentered ? "middle" : "alphabetic";
67
+ ({x: textX, y: textY} = renderer.drawLabelImage($$, data, label, textX, textY));
68
+ ctx.fillStyle = getLabelColor($$, data, style.label.color);
69
+ drawLabelDecorations($$, painter, data, label, textX, isCentered ? textY + (lines.length - 1) * lineHeight / 2 : blockY);
70
+ lines.forEach((line, i) => {
71
+ painter.text(line, textX, textY + i * lineHeight, { maxWidth: Math.max(0, w - 8) });
72
+ });
73
+ }
74
+ });
75
+ },
76
+ /**
77
+ * Add hit items of each treemap tile.
78
+ * @param {HitDetector} detector Hit detector
79
+ * @private
80
+ */
81
+ hits(detector) {
82
+ const $$ = this;
83
+ const root = $$.getTreemapRoot?.($$.data.targets);
84
+ const nodes = root?.children || [];
85
+ for (const node of nodes) {
86
+ const { data } = node;
87
+ if (!isCanvasTreemapType($$, data)) continue;
88
+ const { x, y, w, h } = getTreemapNodeRect($$, node, root, true);
89
+ if (!isFiniteCanvasCoordinate(x, y) || !isFiniteCanvasCoordinate(x + w, y + h)) continue;
90
+ detector.addBar({
91
+ x,
92
+ y,
93
+ w,
94
+ h,
95
+ data
96
+ });
97
+ }
98
+ }
99
+ };
100
+ export { treemap_default as default };
@@ -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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
10
  import { TYPE, TYPE_BY_CATEGORY } from "../config/const.js";
11
- //#region src/canvas/util.ts
11
+ // src/canvas/util.ts
12
12
  /**
13
13
  * Copyright (c) 2017 ~ present NAVER Corp.
14
14
  * billboard.js project is licensed under the MIT license
@@ -314,5 +314,4 @@ function markCanvasPointOccupancy(grid, x, y) {
314
314
  grid.data[index] = 1;
315
315
  return true;
316
316
  }
317
- //#endregion
318
317
  export { DENSE_SCATTER_POINT_CULL_THRESHOLD, createCanvasPointOccupancyGrid, getCanvasComparableValue, getCanvasComparableXDomain, getCanvasShapeIndices, getCanvasTargetType, getCanvasTargetVisibleRange, getFontSize, hasCanvasDrawableValue, isCanvasAreaType, isCanvasBarType, isCanvasBubbleType, isCanvasCandlestickType, isCanvasLineType, isCanvasPointType, isCanvasScatterType, isCanvasTargetSupported, isCanvasTreemapType, isFiniteCanvasCoordinate, markCanvasPointOccupancy };
@@ -5,9 +5,8 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 4.1.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- import { deepClone } from "../../module/util/object.js";
11
10
  import boost_default from "./common/boost.js";
12
11
  import color_default from "./common/color.js";
13
12
  import legend_default from "./common/legend.js";
@@ -16,7 +15,8 @@ import title_default from "./common/title.js";
16
15
  import tooltip_default from "./common/tooltip.js";
17
16
  import data_default from "./data/data.js";
18
17
  import interaction_default from "./interaction/interaction.js";
19
- //#region src/config/Options/Options.ts
18
+ import { deepClone } from "../../module/util/object.js";
19
+ // src/config/Options/Options.ts
20
20
  /**
21
21
  * Copyright (c) 2017 ~ present NAVER Corp.
22
22
  * billboard.js project is licensed under the MIT license
@@ -36,5 +36,4 @@ var Options = class Options {
36
36
  return deepClone(main_default, boost_default, data_default, color_default, interaction_default, legend_default, title_default, tooltip_default, Options.data);
37
37
  }
38
38
  };
39
- //#endregion
40
39
  export { Options as default };
@@ -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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
10
  import x_default from "./x.js";
11
11
  import y_default from "./y.js";
12
12
  import y2_default from "./y2.js";
13
- //#region src/config/Options/axis/axis.ts
13
+ // src/config/Options/axis/axis.ts
14
14
  /**
15
15
  * Copyright (c) 2017 ~ present NAVER Corp.
16
16
  * billboard.js project is licensed under the MIT license
@@ -108,5 +108,4 @@ var axis_default = {
108
108
  ...y_default,
109
109
  ...y2_default
110
110
  };
111
- //#endregion
112
111
  export { axis_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/axis/x.ts
10
+ // src/config/Options/axis/x.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -766,5 +766,4 @@ var x_default = {
766
766
  */
767
767
  axis_x_axes: []
768
768
  };
769
- //#endregion
770
769
  export { x_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/axis/y.ts
10
+ // src/config/Options/axis/y.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -532,5 +532,4 @@ var y_default = {
532
532
  */
533
533
  axis_y_axes: []
534
534
  };
535
- //#endregion
536
535
  export { y_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/axis/y2.ts
10
+ // src/config/Options/axis/y2.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -16,6 +16,18 @@
16
16
  * y2 Axis config options
17
17
  */
18
18
  var y2_default = {
19
+ /**
20
+ * Set clip-path attribute for y2 axis element
21
+ * - **NOTE**: `clip-path` attribute for y2 Axis is set only when `axis.y2.inner` option is true.
22
+ * @name axis․y2․clipPath
23
+ * @memberof Options
24
+ * @type {boolean}
25
+ * @default true
26
+ * @example
27
+ * // don't set 'clip-path' attribute
28
+ * clipPath: false
29
+ */
30
+ axis_y2_clipPath: true,
19
31
  /**
20
32
  * Show or hide y2 axis.
21
33
  * - **NOTE**:
@@ -496,5 +508,4 @@ var y2_default = {
496
508
  */
497
509
  axis_y2_axes: []
498
510
  };
499
- //#endregion
500
511
  export { y2_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/boost.ts
10
+ // src/config/Options/common/boost.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -100,5 +100,4 @@ var boost_default = {
100
100
  boost_useWorker: false,
101
101
  boost_workerUrl: void 0
102
102
  };
103
- //#endregion
104
103
  export { boost_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/color.ts
10
+ // src/config/Options/common/color.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -95,5 +95,4 @@ var color_default = {
95
95
  color_threshold: {},
96
96
  color_onover: void 0
97
97
  };
98
- //#endregion
99
98
  export { color_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/grid.ts
10
+ // src/config/Options/common/grid.ts
11
11
  var grid_default = {
12
12
  /**
13
13
  * Set related options
@@ -79,5 +79,4 @@ var grid_default = {
79
79
  grid_front: false,
80
80
  grid_lines_front: true
81
81
  };
82
- //#endregion
83
82
  export { grid_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/legend.ts
10
+ // src/config/Options/common/legend.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -187,5 +187,4 @@ var legend_default = {
187
187
  legend_tooltip: false,
188
188
  legend_usePoint: false
189
189
  };
190
- //#endregion
191
190
  export { legend_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/main.ts
10
+ // src/config/Options/common/main.ts
11
11
  /**
12
12
  * main config options
13
13
  */
@@ -522,5 +522,4 @@ var main_default = {
522
522
  */
523
523
  regions: []
524
524
  };
525
- //#endregion
526
525
  export { main_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/point.ts
10
+ // src/config/Options/common/point.ts
11
11
  /**
12
12
  * point config options
13
13
  */
@@ -166,5 +166,4 @@ var point_default = {
166
166
  point_select_r: void 0,
167
167
  point_type: "circle"
168
168
  };
169
- //#endregion
170
169
  export { point_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/title.ts
10
+ // src/config/Options/common/title.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -54,5 +54,4 @@ var title_default = {
54
54
  },
55
55
  title_position: "center"
56
56
  };
57
- //#endregion
58
57
  export { title_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/common/tooltip.ts
10
+ // src/config/Options/common/tooltip.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -260,5 +260,4 @@ var tooltip_default = {
260
260
  tooltip_onhidden: () => {},
261
261
  tooltip_order: null
262
262
  };
263
- //#endregion
264
263
  export { tooltip_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/data/axis.ts
10
+ // src/config/Options/data/axis.ts
11
11
  /**
12
12
  * Axis based chart data config options
13
13
  */
@@ -179,5 +179,4 @@ var axis_default = {
179
179
  */
180
180
  data_stack_normalize: false
181
181
  };
182
- //#endregion
183
182
  export { axis_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/data/data.ts
10
+ // src/config/Options/data/data.ts
11
11
  /**
12
12
  * data config options
13
13
  */
@@ -89,15 +89,19 @@ var data_default = {
89
89
  * - area-step
90
90
  * - area-step-range
91
91
  * - bar
92
+ * - boxplot
92
93
  * - bubble
94
+ * - bullet
93
95
  * - candlestick
94
96
  * - donut
95
97
  * - funnel
96
98
  * - gauge
99
+ * - heatmap
97
100
  * - line
98
101
  * - pie
99
102
  * - polar
100
103
  * - radar
104
+ * - sankey
101
105
  * - scatter
102
106
  * - spline
103
107
  * - step
@@ -121,15 +125,19 @@ var data_default = {
121
125
  * areaStep,
122
126
  * areaStepRange,
123
127
  * bar,
128
+ * boxplot,
124
129
  * bubble,
130
+ * bullet,
125
131
  * candlestick,
126
132
  * donut,
127
133
  * funnel,
128
134
  * gauge,
135
+ * heatmap,
129
136
  * line,
130
137
  * pie,
131
138
  * polar,
132
139
  * radar,
140
+ * sankey,
133
141
  * scatter,
134
142
  * spline,
135
143
  * step,
@@ -147,7 +155,7 @@ var data_default = {
147
155
  /**
148
156
  * Set chart type for each data.<br>
149
157
  * This setting overwrites data.type setting.
150
- * - **NOTE:** `radar` and `treemap` type can't be combined with other types.
158
+ * - **NOTE:** `heatmap`, `radar`, `sankey` and `treemap` type can't be combined with other types.
151
159
  * @name data․types
152
160
  * @memberof Options
153
161
  * @type {object}
@@ -170,15 +178,19 @@ var data_default = {
170
178
  * areaStep,
171
179
  * areaStepRange,
172
180
  * bar,
181
+ * boxplot,
173
182
  * bubble,
183
+ * bullet,
174
184
  * candlestick,
175
185
  * donut,
176
186
  * funnel,
177
187
  * gauge,
188
+ * heatmap,
178
189
  * line,
179
190
  * pie,
180
191
  * polar,
181
192
  * radar,
193
+ * sankey,
182
194
  * scatter,
183
195
  * spline,
184
196
  * step,
@@ -570,6 +582,7 @@ var data_default = {
570
582
  * - `d` is the data clicked and element is the element clicked.
571
583
  * - `element` is the current interacting svg element.
572
584
  * - In this callback, `this` will be the Chart object.
585
+ * - For radar type, clicking an axis text calls it once for each data at the axis, with the axis text as the element.
573
586
  * @name data․onclick
574
587
  * @memberof Options
575
588
  * @type {function}
@@ -833,6 +846,18 @@ var data_default = {
833
846
  * ],
834
847
  * type: "candlestick"
835
848
  * }
849
+ *
850
+ * // for 'boxplot' type, data should contain:
851
+ * // - an array of [min, q1, median, q3, max, [outliers](optional), mean(optional)] data following the order
852
+ * // - or the list of the samples, when the 'boxplot.samples' option is set
853
+ * data: {
854
+ * rows: [
855
+ * ["data1", "data2"],
856
+ * [[1, 3, 5, 7, 9], [2, 4, 6, 8, 10]],
857
+ * [[2, 4, 6, 8, 12, [15]], [1, 3, 4, 6, 9, [], 4.5]]
858
+ * ],
859
+ * type: "boxplot"
860
+ * }
836
861
  */
837
862
  data_rows: void 0,
838
863
  /**
@@ -902,6 +927,27 @@ var data_default = {
902
927
  * ],
903
928
  * type: "candlestick"
904
929
  * }
930
+ *
931
+ * // for 'boxplot' type, data should contain:
932
+ * // - an array of [min, q1, median, q3, max, [outliers](optional), mean(optional)] data following the order
933
+ * // - or the list of the samples, when the 'boxplot.samples' option is set
934
+ * data: {
935
+ * columns: [
936
+ * ["data1",
937
+ * [1, 3, 5, 7, 9],
938
+ * [2, 4, 6, 8, 12, [15], 5.5] // with the outliers and the mean
939
+ * ]
940
+ * ],
941
+ * type: "boxplot"
942
+ * }
943
+ *
944
+ * // for 'boxplot' type with the 'boxplot.samples' option
945
+ * data: {
946
+ * columns: [
947
+ * ["data1", [3, 5, 6, 7, 7, 8, 9, 12, 30], [2, 4, 4, 5, 6, 8, 20]]
948
+ * ],
949
+ * type: "boxplot"
950
+ * }
905
951
  */
906
952
  data_columns: void 0,
907
953
  /**
@@ -964,5 +1010,4 @@ var data_default = {
964
1010
  */
965
1011
  data_empty_label_text: ""
966
1012
  };
967
- //#endregion
968
1013
  export { data_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/data/selection.ts
10
+ // src/config/Options/data/selection.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -138,5 +138,4 @@ var selection_default = {
138
138
  */
139
139
  data_onunselected: () => {}
140
140
  };
141
- //#endregion
142
141
  export { selection_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/interaction/interaction.ts
10
+ // src/config/Options/interaction/interaction.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -60,5 +60,4 @@ var interaction_default = {
60
60
  interaction_inputType_touch: {},
61
61
  interaction_onout: true
62
62
  };
63
- //#endregion
64
63
  export { interaction_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/interaction/subchart.ts
10
+ // src/config/Options/interaction/subchart.ts
11
11
  /**
12
12
  * x Axis config options
13
13
  */
@@ -23,6 +23,10 @@ var subchart_default = {
23
23
  * - **NOTE:** for ESM imports, needs to import 'subchart' exports and instantiate it by calling `subchart()`.
24
24
  * - `show: subchart()`
25
25
  * @property {string} [subchart.type] Set chart type for the subchart. Defaults to data.type.
26
+ * - **NOTE:** When candlestick data is rendered as another type in the subchart, the subchart takes one value of the data:
27
+ * - `bar`: the `volume` of the data. Without `volume`, the close value for a rise and the open value for a fall, from zero.
28
+ * - other types (`line`, `area`, etc.): the close value.
29
+ * - The y axis domain of the subchart follows the taken values. The `volume` is not part of the main chart's y axis domain.
26
30
  * @property {object} [subchart.types] Set chart type for each data in the subchart. Defaults to data.types.
27
31
  * @property {boolean} [subchart.brush.enabled=true] Enable subchart brush interaction.
28
32
  * @property {boolean} [subchart.showHandle=false] Show sub chart's handle.
@@ -170,5 +174,4 @@ var subchart_default = {
170
174
  subchart_init_range: void 0,
171
175
  subchart_onbrush: () => {}
172
176
  };
173
- //#endregion
174
177
  export { subchart_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/interaction/zoom.ts
10
+ // src/config/Options/interaction/zoom.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -93,5 +93,4 @@ var zoom_default = {
93
93
  zoom_x_min: void 0,
94
94
  zoom_x_max: void 0
95
95
  };
96
- //#endregion
97
96
  export { zoom_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/shape/arc.ts
10
+ // src/config/Options/shape/arc.ts
11
11
  /**
12
12
  * Copyright (c) 2017 ~ present NAVER Corp.
13
13
  * billboard.js project is licensed under the MIT license
@@ -157,5 +157,4 @@ var arc_default = {
157
157
  arc_rangeText_format: void 0,
158
158
  arc_rangeText_position: void 0
159
159
  };
160
- //#endregion
161
160
  export { arc_default 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.4
8
+ * @version 4.2.0-next.1
9
9
  */
10
- //#region src/config/Options/shape/area.ts
10
+ // src/config/Options/shape/area.ts
11
11
  /**
12
12
  * area config options
13
13
  */
@@ -75,5 +75,4 @@ var area_default = {
75
75
  area_linearGradient: false,
76
76
  area_zerobased: true
77
77
  };
78
- //#endregion
79
78
  export { area_default as default };