apexcharts 6.5.0 → 6.6.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/README.md +5 -2
- package/dist/apexcharts.common.js +2 -2
- package/dist/apexcharts.esm.js +2365 -123
- package/dist/apexcharts.js +2365 -123
- package/dist/apexcharts.min.js +2 -2
- package/dist/apexcharts.ssr.common.js +2 -2
- package/dist/apexcharts.ssr.esm.js +2365 -123
- package/dist/area.common.js +1 -1
- package/dist/area.esm.js +1 -1
- package/dist/bar.common.js +1 -1
- package/dist/bar.esm.js +1 -1
- package/dist/boxPlot.common.js +1 -1
- package/dist/boxPlot.esm.js +1 -1
- package/dist/bubble.common.js +1 -1
- package/dist/bubble.esm.js +1 -1
- package/dist/candlestick.common.js +1 -1
- package/dist/candlestick.esm.js +1 -1
- package/dist/column.common.js +1 -1
- package/dist/column.esm.js +1 -1
- package/dist/core.common.js +2 -2
- package/dist/core.esm.js +650 -106
- package/dist/donut.common.js +1 -1
- package/dist/donut.esm.js +1 -1
- package/dist/features/all.common.js +2 -2
- package/dist/features/all.esm.js +346 -92
- package/dist/features/annotations.common.js +1 -1
- package/dist/features/annotations.esm.js +1 -1
- package/dist/features/context-menu.common.js +1 -1
- package/dist/features/context-menu.esm.js +1 -1
- package/dist/features/drilldown.common.js +1 -1
- package/dist/features/drilldown.esm.js +1 -1
- package/dist/features/exports.common.js +1 -1
- package/dist/features/exports.esm.js +1 -1
- package/dist/features/facet.common.js +1 -1
- package/dist/features/facet.esm.js +1 -1
- package/dist/features/history.common.js +2 -2
- package/dist/features/history.esm.js +2 -1
- package/dist/features/ink.common.js +1 -1
- package/dist/features/ink.esm.js +1 -1
- package/dist/features/keyboard.common.js +1 -1
- package/dist/features/keyboard.esm.js +1 -1
- package/dist/features/legend.common.js +2 -2
- package/dist/features/legend.esm.js +35 -11
- package/dist/features/link.common.js +1 -1
- package/dist/features/link.esm.js +1 -1
- package/dist/features/marks.common.js +1 -1
- package/dist/features/marks.esm.js +1 -1
- package/dist/features/measure.common.js +1 -1
- package/dist/features/measure.esm.js +1 -1
- package/dist/features/morph.common.js +2 -2
- package/dist/features/morph.esm.js +79 -3
- package/dist/features/perspectives.common.js +2 -2
- package/dist/features/perspectives.esm.js +250 -79
- package/dist/features/renderer-canvas.common.js +1 -1
- package/dist/features/renderer-canvas.esm.js +1 -1
- package/dist/features/storyboard.common.js +2 -2
- package/dist/features/storyboard.esm.js +250 -79
- package/dist/features/toolbar.common.js +2 -2
- package/dist/features/toolbar.esm.js +5 -2
- package/dist/features/weave.common.js +1 -1
- package/dist/features/weave.esm.js +1 -1
- package/dist/heatmap.common.js +1 -1
- package/dist/heatmap.esm.js +1 -1
- package/dist/line.common.js +1 -1
- package/dist/line.esm.js +1 -1
- package/dist/pie.common.js +1 -1
- package/dist/pie.esm.js +1 -1
- package/dist/polarArea.common.js +1 -1
- package/dist/polarArea.esm.js +1 -1
- package/dist/radar.common.js +1 -1
- package/dist/radar.esm.js +1 -1
- package/dist/radialBar.common.js +1 -1
- package/dist/radialBar.esm.js +1 -1
- package/dist/rangeArea.common.js +1 -1
- package/dist/rangeArea.esm.js +1 -1
- package/dist/rangeBar.common.js +1 -1
- package/dist/rangeBar.esm.js +1 -1
- package/dist/scatter.common.js +1 -1
- package/dist/scatter.esm.js +1 -1
- package/dist/treemap.common.js +1 -1
- package/dist/treemap.esm.js +1 -1
- package/dist/violin.common.js +1 -1
- package/dist/violin.esm.js +1 -1
- package/package.json +1 -1
- package/src/apexcharts.js +4 -1
- package/src/charts/Unit.js +2130 -0
- package/src/entries/full.js +2 -0
- package/src/entries/unit.js +17 -0
- package/src/modules/Base.js +1 -0
- package/src/modules/Core.js +5 -0
- package/src/modules/CoreUtils.js +6 -0
- package/src/modules/Data.js +46 -0
- package/src/modules/MorphTypeChange.js +95 -7
- package/src/modules/Series.js +79 -1
- package/src/modules/ZoomPanSelection.js +18 -1
- package/src/modules/dimensions/Dimensions.js +22 -0
- package/src/modules/helpers/UpdateHelpers.js +14 -28
- package/src/modules/legend/Helpers.js +40 -10
- package/src/modules/license/LicenseEnforcer.js +97 -14
- package/src/modules/license/LicenseManager.js +350 -93
- package/src/modules/settings/Config.js +24 -3
- package/src/modules/settings/Defaults.js +38 -0
- package/src/modules/settings/Options.js +150 -0
- package/src/modules/state/ViewState.js +5 -0
- package/src/modules/tooltip/Tooltip.js +127 -5
- package/src/types/internal.d.ts +7 -2
- package/types/apexcharts.d.ts +198 -4
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
## Why ApexCharts
|
|
26
26
|
|
|
27
|
-
- **
|
|
27
|
+
- **18+ chart types** out of the box: line, area, bar, column, pie, donut, radar, heatmap, treemap, candlestick, boxplot, violin, funnel, pyramid, gauge, unit (dot / pictogram / waffle / beeswarm) and more
|
|
28
28
|
- **SSR support** for Next.js, Nuxt, SvelteKit, Astro, and other meta-frameworks: render real SVG on the server, hydrate on the client
|
|
29
29
|
- **Tree-shakable**: import only the chart types and features you need; typical bundles are 30-60% smaller than the full build
|
|
30
30
|
- **TypeScript-first**: full type definitions ship with the package, no `@types/*` install needed
|
|
@@ -89,6 +89,7 @@ Browse [100+ ready-to-use samples](https://apexcharts.com/javascript-chart-demos
|
|
|
89
89
|
- [Pie](https://apexcharts.com/javascript-chart-demos/pie-charts/) · [Donut](https://apexcharts.com/javascript-chart-demos/pie-charts/) · [Polar Area](https://apexcharts.com/javascript-chart-demos/polar-area-charts/) · [Radial Bar / Gauge](https://apexcharts.com/javascript-chart-demos/radialbar-charts/)
|
|
90
90
|
- [Radar](https://apexcharts.com/javascript-chart-demos/radar-charts/) · [Heatmap](https://apexcharts.com/javascript-chart-demos/heatmap-charts/) · [Treemap](https://apexcharts.com/javascript-chart-demos/treemap-charts/)
|
|
91
91
|
- [Funnel](https://apexcharts.com/javascript-chart-demos/funnel-charts/)
|
|
92
|
+
- [Unit / Pictogram / Beeswarm](samples/vanilla-js/unit/) · [Waffle](samples/vanilla-js/waffle/) (premium)
|
|
92
93
|
|
|
93
94
|
Combine any of the above as [mixed/combo charts](https://apexcharts.com/javascript-chart-demos/mixed-charts/), [stacked variants](https://apexcharts.com/javascript-chart-demos/column-charts/stacked/), [sparklines](https://apexcharts.com/javascript-chart-demos/sparklines/), or [synchronized multi-chart layouts](https://apexcharts.com/javascript-chart-demos/line-charts/syncing-charts/).
|
|
94
95
|
|
|
@@ -149,6 +150,7 @@ import 'apexcharts/line'
|
|
|
149
150
|
import 'apexcharts/bar'
|
|
150
151
|
// import 'apexcharts/area'
|
|
151
152
|
// import 'apexcharts/scatter'
|
|
153
|
+
// import 'apexcharts/unit' // dot / pictogram / waffle / beeswarm (premium; 'waffle' aliases this)
|
|
152
154
|
|
|
153
155
|
// Optional features
|
|
154
156
|
import 'apexcharts/features/legend'
|
|
@@ -179,6 +181,7 @@ Most of ApexCharts is free and open source. A small set of advanced features are
|
|
|
179
181
|
|
|
180
182
|
| Feature | Enabled by |
|
|
181
183
|
|---|---|
|
|
184
|
+
| Unit chart type (dot / pictogram / waffle / beeswarm) | `chart.type: 'unit'` / `chart.type: 'waffle'` |
|
|
182
185
|
| Storyboard (scrollytelling) | `chart.storyboard.bind(...)` |
|
|
183
186
|
| Linked views / crossfilter | `chart.link.enabled` / `chart.link.dimension` / `ApexCharts.crossfilter()` |
|
|
184
187
|
| Ink layer (on-chart annotation editing) | `chart.ink.enabled` |
|
|
@@ -187,7 +190,7 @@ Most of ApexCharts is free and open source. A small set of advanced features are
|
|
|
187
190
|
| Perspectives (shareable view state) | `chart.perspectives.apply()` / `.save()` / `ApexCharts.perspectives.decode()` |
|
|
188
191
|
| History (undo/redo) | `chart.history.enabled` |
|
|
189
192
|
|
|
190
|
-
Without a valid key these features still work (**trial mode**), but the chart shows an "APEXCHARTS" watermark. A valid key removes it.
|
|
193
|
+
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.
|
|
191
194
|
|
|
192
195
|
```js
|
|
193
196
|
import ApexCharts from 'apexcharts'
|