apexcharts 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/README.md +3 -1
  2. package/dist/apexcharts.common.js +2 -2
  3. package/dist/apexcharts.core.js +1005 -68
  4. package/dist/apexcharts.core.min.js +2 -2
  5. package/dist/apexcharts.css +96 -0
  6. package/dist/apexcharts.esm.js +1886 -123
  7. package/dist/apexcharts.js +2852 -152
  8. package/dist/apexcharts.min.js +2 -2
  9. package/dist/apexcharts.ssr.common.js +2 -2
  10. package/dist/apexcharts.ssr.esm.js +2852 -152
  11. package/dist/area.common.js +1 -1
  12. package/dist/area.esm.js +1 -1
  13. package/dist/bar.common.js +2 -2
  14. package/dist/bar.esm.js +382 -30
  15. package/dist/bar.js +2 -2
  16. package/dist/boxPlot.common.js +2 -2
  17. package/dist/boxPlot.esm.js +328 -25
  18. package/dist/bubble.common.js +1 -1
  19. package/dist/bubble.esm.js +1 -1
  20. package/dist/candlestick.common.js +2 -2
  21. package/dist/candlestick.esm.js +328 -25
  22. package/dist/candlestick.js +2 -2
  23. package/dist/column.common.js +2 -2
  24. package/dist/column.esm.js +382 -30
  25. package/dist/core.common.js +2 -2
  26. package/dist/core.esm.js +1005 -68
  27. package/dist/donut.common.js +2 -2
  28. package/dist/donut.esm.js +2 -2
  29. package/dist/dumbbell.common.js +5 -0
  30. package/dist/dumbbell.esm.js +4223 -0
  31. package/dist/features/all.common.js +2 -2
  32. package/dist/features/all.esm.js +1213 -18
  33. package/dist/features/annotations.common.js +1 -1
  34. package/dist/features/annotations.esm.js +1 -1
  35. package/dist/features/annotations.js +1 -1
  36. package/dist/features/context-menu.common.js +1 -1
  37. package/dist/features/context-menu.esm.js +1 -1
  38. package/dist/features/context-menu.js +1 -1
  39. package/dist/features/drilldown.common.js +1 -1
  40. package/dist/features/drilldown.esm.js +1 -1
  41. package/dist/features/drilldown.js +1 -1
  42. package/dist/features/dumbbell.common.js +5 -0
  43. package/dist/features/dumbbell.esm.js +188 -0
  44. package/dist/features/dumbbell.js +5 -0
  45. package/dist/features/exports.common.js +1 -1
  46. package/dist/features/exports.esm.js +1 -1
  47. package/dist/features/exports.js +1 -1
  48. package/dist/features/facet.common.js +1 -1
  49. package/dist/features/facet.esm.js +1 -1
  50. package/dist/features/facet.js +1 -1
  51. package/dist/features/history.common.js +1 -1
  52. package/dist/features/history.esm.js +1 -1
  53. package/dist/features/history.js +1 -1
  54. package/dist/features/ink.common.js +1 -1
  55. package/dist/features/ink.esm.js +1 -1
  56. package/dist/features/ink.js +1 -1
  57. package/dist/features/keyboard.common.js +1 -1
  58. package/dist/features/keyboard.esm.js +1 -1
  59. package/dist/features/keyboard.js +1 -1
  60. package/dist/features/legend.common.js +1 -1
  61. package/dist/features/legend.esm.js +1 -1
  62. package/dist/features/legend.js +1 -1
  63. package/dist/features/link.common.js +1 -1
  64. package/dist/features/link.esm.js +1 -1
  65. package/dist/features/link.js +1 -1
  66. package/dist/features/marks.common.js +1 -1
  67. package/dist/features/marks.esm.js +1 -1
  68. package/dist/features/marks.js +1 -1
  69. package/dist/features/measure.common.js +1 -1
  70. package/dist/features/measure.esm.js +1 -1
  71. package/dist/features/measure.js +1 -1
  72. package/dist/features/morph.common.js +1 -1
  73. package/dist/features/morph.esm.js +1 -1
  74. package/dist/features/morph.js +1 -1
  75. package/dist/features/perspectives.common.js +2 -2
  76. package/dist/features/perspectives.esm.js +2 -1
  77. package/dist/features/perspectives.js +2 -2
  78. package/dist/features/raincloud.common.js +5 -0
  79. package/dist/features/raincloud.esm.js +204 -0
  80. package/dist/features/raincloud.js +5 -0
  81. package/dist/features/renderer-canvas.common.js +1 -1
  82. package/dist/features/renderer-canvas.esm.js +1 -1
  83. package/dist/features/renderer-canvas.js +1 -1
  84. package/dist/features/stats.common.js +2 -2
  85. package/dist/features/stats.esm.js +18 -18
  86. package/dist/features/stats.js +2 -2
  87. package/dist/features/storyboard.common.js +2 -2
  88. package/dist/features/storyboard.esm.js +2 -1
  89. package/dist/features/storyboard.js +2 -2
  90. package/dist/features/streamgraph.common.js +5 -0
  91. package/dist/features/streamgraph.esm.js +910 -0
  92. package/dist/features/streamgraph.js +5 -0
  93. package/dist/features/toolbar.common.js +1 -1
  94. package/dist/features/toolbar.esm.js +1 -1
  95. package/dist/features/toolbar.js +1 -1
  96. package/dist/features/trellis.common.js +2 -2
  97. package/dist/features/trellis.esm.js +6 -2
  98. package/dist/features/trellis.js +2 -2
  99. package/dist/features/waterfall.common.js +5 -0
  100. package/dist/features/waterfall.esm.js +302 -0
  101. package/dist/features/waterfall.js +5 -0
  102. package/dist/features/weave.common.js +1 -1
  103. package/dist/features/weave.esm.js +1 -1
  104. package/dist/features/weave.js +1 -1
  105. package/dist/heatmap.common.js +1 -1
  106. package/dist/heatmap.esm.js +1 -1
  107. package/dist/heatmap.js +1 -1
  108. package/dist/histogram.common.js +2 -2
  109. package/dist/histogram.esm.js +399 -47
  110. package/dist/line.common.js +1 -1
  111. package/dist/line.esm.js +1 -1
  112. package/dist/line.js +1 -1
  113. package/dist/pictograms.common.js +1 -1
  114. package/dist/pictograms.esm.js +1 -1
  115. package/dist/pictograms.js +1 -1
  116. package/dist/pie.common.js +2 -2
  117. package/dist/pie.esm.js +2 -2
  118. package/dist/pie.js +2 -2
  119. package/dist/polarArea.common.js +2 -2
  120. package/dist/polarArea.esm.js +2 -2
  121. package/dist/radar.common.js +1 -1
  122. package/dist/radar.esm.js +1 -1
  123. package/dist/radar.js +1 -1
  124. package/dist/radialBar.common.js +2 -2
  125. package/dist/radialBar.esm.js +3 -3
  126. package/dist/radialBar.js +2 -2
  127. package/dist/raincloud.common.js +5 -0
  128. package/dist/raincloud.esm.js +4224 -0
  129. package/dist/rangeArea.common.js +1 -1
  130. package/dist/rangeArea.esm.js +1 -1
  131. package/dist/rangeBar.common.js +2 -2
  132. package/dist/rangeBar.esm.js +382 -30
  133. package/dist/scatter.common.js +1 -1
  134. package/dist/scatter.esm.js +1 -1
  135. package/dist/streamgraph.common.js +5 -0
  136. package/dist/streamgraph.esm.js +2990 -0
  137. package/dist/sunburst.common.js +1 -1
  138. package/dist/sunburst.esm.js +1 -1
  139. package/dist/sunburst.js +1 -1
  140. package/dist/treemap.common.js +1 -1
  141. package/dist/treemap.esm.js +1 -1
  142. package/dist/treemap.js +1 -1
  143. package/dist/unit-shapes.common.js +1 -1
  144. package/dist/unit-shapes.esm.js +1 -1
  145. package/dist/unit-shapes.js +1 -1
  146. package/dist/unit.common.js +1 -1
  147. package/dist/unit.esm.js +1 -1
  148. package/dist/unit.js +1 -1
  149. package/dist/violin.common.js +2 -2
  150. package/dist/violin.esm.js +574 -57
  151. package/dist/violin.js +2 -2
  152. package/dist/waterfall.common.js +5 -0
  153. package/dist/waterfall.esm.js +4335 -0
  154. package/package.json +37 -1
  155. package/src/apexcharts.js +234 -17
  156. package/src/assets/apexcharts.css +96 -0
  157. package/src/charts/BarStacked.js +17 -4
  158. package/src/charts/Pie.js +8 -1
  159. package/src/charts/Radial.js +4 -1
  160. package/src/charts/RangeBar.js +57 -2
  161. package/src/charts/Violin.js +343 -24
  162. package/src/charts/common/Jitter.js +5 -0
  163. package/src/charts/common/Stats.js +39 -0
  164. package/src/charts/common/bar/DataLabels.js +40 -6
  165. package/src/charts/common/bar/Helpers.js +382 -26
  166. package/src/entries/dumbbell.js +11 -0
  167. package/src/entries/raincloud.js +19 -0
  168. package/src/entries/streamgraph.js +12 -0
  169. package/src/entries/waterfall.js +12 -0
  170. package/src/features/all.js +3 -0
  171. package/src/features/dumbbell.js +31 -0
  172. package/src/features/raincloud.js +137 -0
  173. package/src/features/stats.js +3 -33
  174. package/src/features/streamgraph.js +32 -0
  175. package/src/features/waterfall.js +31 -0
  176. package/src/modules/Base.js +45 -0
  177. package/src/modules/Data.js +96 -9
  178. package/src/modules/Fill.js +6 -1
  179. package/src/modules/Range.js +106 -14
  180. package/src/modules/dumbbell/DumbbellData.js +263 -0
  181. package/src/modules/helpers/InitCtxVariables.js +12 -0
  182. package/src/modules/helpers/UpdateHelpers.js +5 -2
  183. package/src/modules/license/LicenseEnforcer.js +10 -5
  184. package/src/modules/settings/Config.js +70 -9
  185. package/src/modules/settings/Defaults.js +551 -9
  186. package/src/modules/settings/Options.js +167 -0
  187. package/src/modules/settings/TypeAliases.js +33 -0
  188. package/src/modules/streamgraph/StreamData.js +438 -0
  189. package/src/modules/streamgraph/StreamLabels.js +708 -0
  190. package/src/modules/tooltip/Labels.js +16 -0
  191. package/src/modules/tooltip/Utils.js +38 -7
  192. package/src/modules/trellis/Trellis.js +5 -1
  193. package/src/modules/waterfall/Waterfall.js +161 -0
  194. package/src/modules/waterfall/WaterfallData.js +280 -0
  195. package/src/types/internal.d.ts +118 -0
  196. package/src/utils/DateTime.js +10 -1
  197. package/types/apexcharts.d.ts +292 -4
package/README.md CHANGED
@@ -184,6 +184,7 @@ import 'apexcharts/features/toolbar' // zoom/pan toolbar
184
184
  // import 'apexcharts/features/context-menu' // right-click context menu (premium, opt-in)
185
185
  // import 'apexcharts/features/renderer-canvas' // canvas series renderer (opt-in)
186
186
  // import 'apexcharts/features/trellis' // small multiples (premium, opt-in)
187
+ // import 'apexcharts/features/raincloud' // raincloud chart type statistics (premium, opt-in)
187
188
  ```
188
189
 
189
190
  A page without a bundler gets the same choice. `apexcharts.js` stays
@@ -238,6 +239,7 @@ Most of ApexCharts is free and open source. A small set of advanced features are
238
239
  | Feature | Enabled by |
239
240
  |---|---|
240
241
  | Unit chart type (dot / pictogram / waffle / beeswarm) | `chart.type: 'unit'` / `chart.type: 'waffle'` |
242
+ | Raincloud chart type (half-density + box + raw points) | `chart.type: 'raincloud'` (needs `apexcharts/features/raincloud`, not in the default bundle) |
241
243
  | Storyboard (scrollytelling) | `chart.storyboard.bind(...)` |
242
244
  | Linked views / crossfilter | `chart.link.enabled` / `chart.link.dimension` / `ApexCharts.crossfilter()` |
243
245
  | Ink layer (on-chart annotation editing) | `chart.ink.enabled` |
@@ -246,7 +248,7 @@ Most of ApexCharts is free and open source. A small set of advanced features are
246
248
  | Perspectives (shareable view state) | `chart.perspectives.apply()` / `.save()` / `ApexCharts.perspectives.decode()` |
247
249
  | History (undo/redo) | `chart.history.enabled` |
248
250
 
249
- Without a valid key these features still work (**trial mode**), but the chart shows an "APEXCHARTS" watermark. A valid key removes it. Every other chart type and feature is free and never watermarked; the `unit` chart type (listed above, aliased by `waffle`) is the one premium chart type.
251
+ Without a valid key these features still work (**trial mode**), but the chart shows an "APEXCHARTS" watermark. A valid key removes it. Every other chart type and feature is free and never watermarked; the premium chart types are `unit` (aliased by `waffle`) and `raincloud`, both listed above.
250
252
 
251
253
  ```js
252
254
  import ApexCharts from 'apexcharts'