apexcharts 3.28.2 → 3.31.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 (56) hide show
  1. package/README.md +3 -4
  2. package/dist/apexcharts.amd.js +1 -1
  3. package/dist/apexcharts.common.js +4 -4
  4. package/dist/apexcharts.esm.js +4 -4
  5. package/dist/apexcharts.js +614 -515
  6. package/dist/apexcharts.min.js +4 -4
  7. package/package.json +9 -8
  8. package/src/apexcharts.js +31 -3
  9. package/src/charts/Bar.js +1 -3
  10. package/src/charts/BoxCandleStick.js +138 -7
  11. package/src/charts/Pie.js +1 -1
  12. package/src/charts/Radar.js +5 -1
  13. package/src/charts/Radial.js +2 -1
  14. package/src/charts/RangeBar.js +5 -3
  15. package/src/charts/Scatter.js +15 -1
  16. package/src/charts/common/bar/DataLabels.js +6 -12
  17. package/src/charts/common/bar/Helpers.js +1 -1
  18. package/src/modules/Core.js +8 -2
  19. package/src/modules/CoreUtils.js +1 -1
  20. package/src/modules/Data.js +5 -9
  21. package/src/modules/DataLabels.js +31 -28
  22. package/src/modules/Exports.js +5 -3
  23. package/src/modules/Graphics.js +5 -5
  24. package/src/modules/Markers.js +10 -5
  25. package/src/modules/Range.js +15 -4
  26. package/src/modules/Scales.js +4 -4
  27. package/src/modules/Series.js +2 -0
  28. package/src/modules/Toolbar.js +2 -2
  29. package/src/modules/ZoomPanSelection.js +12 -8
  30. package/src/modules/annotations/Annotations.js +2 -0
  31. package/src/modules/annotations/Helpers.js +19 -3
  32. package/src/modules/annotations/PointsAnnotations.js +19 -2
  33. package/src/modules/annotations/YAxisAnnotations.js +1 -1
  34. package/src/modules/axes/Grid.js +6 -8
  35. package/src/modules/dimensions/Dimensions.js +13 -3
  36. package/src/modules/helpers/InitCtxVariables.js +0 -3
  37. package/src/modules/helpers/UpdateHelpers.js +73 -59
  38. package/src/modules/legend/Legend.js +1 -3
  39. package/src/modules/settings/Config.js +1 -7
  40. package/src/modules/settings/Globals.js +1 -1
  41. package/src/modules/settings/Options.js +12 -0
  42. package/src/modules/tooltip/AxesTooltip.js +2 -1
  43. package/src/modules/tooltip/Intersect.js +12 -0
  44. package/src/modules/tooltip/Labels.js +4 -10
  45. package/src/modules/tooltip/Marker.js +7 -1
  46. package/src/modules/tooltip/Position.js +10 -6
  47. package/src/modules/tooltip/README.md +20 -0
  48. package/src/modules/tooltip/Tooltip.js +38 -8
  49. package/src/modules/tooltip/Utils.js +16 -11
  50. package/src/svgjs/svg.js +12 -3
  51. package/src/utils/Resize.js +35 -0
  52. package/src/utils/Utils.js +14 -75
  53. package/types/apexcharts.d.ts +13 -4
  54. package/src/.DS_Store +0 -0
  55. package/src/modules/.DS_Store +0 -0
  56. package/src/utils/DetectElementResize.js +0 -147
package/README.md CHANGED
@@ -17,9 +17,7 @@
17
17
  <a href="https://twitter.com/intent/tweet?text=Create%20visualizations%20with%20this%20free%20and%20open-source%20JavaScript%20Chart%20library&url=https://www.apexcharts.com&hashtags=javascript,charts,visualizations,developers,apexcharts"><img src="https://img.shields.io/twitter/url/http/shields.io.svg?style=social"> </a>
18
18
  </p>
19
19
 
20
- <p align="center">A modern JavaScript charting library that allows you to build interactive data visualizations with simple API and 100+ ready-to-use samples. Packed with robust features, ApexCharts are flexible and fully responsive on desktops, tablets, and mobiles.</p>
21
- <p align="center">
22
- Included are several chart types that guarantee high-performance and options for further customization so you can style the look of your chart the way you want. As an open-source project, ApexCharts is free to use in your commercial apps. </p>
20
+ <p align="center">A modern JavaScript charting library that allows you to build interactive data visualizations with simple API and 100+ ready-to-use samples. Packed with the features that you expect, ApexCharts includes over a dozen chart types that deliver beautiful, responsive visualizations in your apps and dashboards. ApexCharts is an MIT licensed open-source project that can be used in commercial and non-commercial projects.</p>
23
21
 
24
22
  <p align="center"><a href="https://apexcharts.com/javascript-chart-demos/"><img
25
23
  src="https://apexcharts.com/media/apexcharts-banner.png"></a></p>
@@ -62,7 +60,7 @@ Useful links to wrappers other than the popular frameworks mentioned above
62
60
  - [apexcharter](https://github.com/dreamRs/apexcharter) - Htmlwidget for ApexCharts
63
61
  - [apexcharts.rb](https://github.com/styd/apexcharts.rb) - Ruby wrapper for ApexCharts
64
62
  - [larapex-charts](https://github.com/ArielMejiaDev/larapex-charts) - Laravel wrapper for ApexCharts
65
- - [blazor-apexcharts](https://github.com/joadan/Blazor-ApexCharts) - Blazor wrapper for ApexCharts [demo](https://joadan.github.io/Blazor-ApexCharts/)
63
+ - [blazor-apexcharts](https://github.com/apexcharts/Blazor-ApexCharts) - Blazor wrapper for ApexCharts [demo](https://apexcharts.github.io/Blazor-ApexCharts/)
66
64
  - [svelte-apexcharts](https://github.com/galkatz373/svelte-apexcharts) - Svelte wrapper for ApexCharts
67
65
 
68
66
 
@@ -188,6 +186,7 @@ If you need to make it work with IE11, you need to include these polyfills befor
188
186
 
189
187
  - [promise-polyfill](https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js)
190
188
  - [classlist.js](https://cdn.jsdelivr.net/npm/eligrey-classlist-js-polyfill)
189
+ - [ResizeObserver polyfill](https://cdn.jsdelivr.net/npm/@juggle/resize-observer)
191
190
  - [findIndex](https://cdn.jsdelivr.net/npm/findindex_polyfill_mdn) - You will need this only if you require timeline/rangebar charts
192
191
  - [canvg](https://unpkg.com/canvg@3.0.4/lib/umd.js) - You will need this only if you require PNG download of your charts
193
192