apexcharts 7.7.0 → 7.9.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.
- package/{LICENSE → LICENSE.md} +1 -1
- package/README.md +1 -0
- package/dist/apexcharts.common.js +2 -2
- package/dist/apexcharts.core.js +4414 -722
- package/dist/apexcharts.core.min.js +2 -2
- package/dist/apexcharts.css +22 -5
- package/dist/apexcharts.esm.js +2141 -598
- package/dist/apexcharts.js +6568 -1263
- package/dist/apexcharts.min.js +2 -2
- package/dist/apexcharts.ssr.common.js +2 -2
- package/dist/apexcharts.ssr.esm.js +6567 -1262
- package/dist/area.common.js +2 -2
- package/dist/area.esm.js +297 -194
- package/dist/bar.common.js +2 -2
- package/dist/bar.esm.js +357 -143
- package/dist/bar.js +2 -2
- package/dist/boxPlot.common.js +2 -2
- package/dist/boxPlot.esm.js +417 -152
- package/dist/bubble.common.js +2 -2
- package/dist/bubble.esm.js +297 -194
- package/dist/candlestick.common.js +2 -2
- package/dist/candlestick.esm.js +417 -152
- package/dist/candlestick.js +2 -2
- package/dist/column.common.js +2 -2
- package/dist/column.esm.js +357 -143
- package/dist/core.common.js +2 -2
- package/dist/core.esm.js +4414 -722
- package/dist/donut.common.js +2 -2
- package/dist/donut.esm.js +49 -17
- package/dist/dumbbell.common.js +2 -2
- package/dist/dumbbell.esm.js +357 -143
- package/dist/features/all.common.js +2 -2
- package/dist/features/all.esm.js +647 -133
- package/dist/features/annotations.common.js +2 -2
- package/dist/features/annotations.esm.js +2 -2
- package/dist/features/annotations.js +2 -2
- package/dist/features/context-menu.common.js +2 -2
- package/dist/features/context-menu.esm.js +17 -8
- package/dist/features/context-menu.js +2 -2
- package/dist/features/drilldown.common.js +2 -2
- package/dist/features/drilldown.esm.js +3 -1
- package/dist/features/drilldown.js +2 -2
- package/dist/features/dumbbell.common.js +1 -1
- package/dist/features/dumbbell.esm.js +1 -1
- package/dist/features/dumbbell.js +1 -1
- package/dist/features/exports.common.js +2 -2
- package/dist/features/exports.esm.js +12 -6
- package/dist/features/exports.js +2 -2
- package/dist/features/facet.common.js +1 -1
- package/dist/features/facet.esm.js +1 -1
- package/dist/features/facet.js +1 -1
- package/dist/features/highlight-filter.common.js +5 -0
- package/dist/features/highlight-filter.esm.js +4485 -0
- package/dist/features/highlight-filter.js +5 -0
- package/dist/features/history.common.js +1 -1
- package/dist/features/history.esm.js +1 -1
- package/dist/features/history.js +1 -1
- package/dist/features/ink.common.js +2 -2
- package/dist/features/ink.esm.js +6 -4
- package/dist/features/ink.js +2 -2
- package/dist/features/keyboard.common.js +2 -2
- package/dist/features/keyboard.esm.js +482 -54
- package/dist/features/keyboard.js +2 -2
- package/dist/features/legend.common.js +2 -2
- package/dist/features/legend.esm.js +24 -8
- package/dist/features/legend.js +2 -2
- package/dist/features/link.common.js +1 -1
- package/dist/features/link.esm.js +1 -1
- package/dist/features/link.js +1 -1
- package/dist/features/marks.common.js +1 -1
- package/dist/features/marks.esm.js +1 -1
- package/dist/features/marks.js +1 -1
- package/dist/features/measure.common.js +2 -2
- package/dist/features/measure.esm.js +17 -7
- package/dist/features/measure.js +2 -2
- package/dist/features/morph.common.js +2 -2
- package/dist/features/morph.esm.js +74 -25
- package/dist/features/morph.js +2 -2
- package/dist/features/perspectives.common.js +2 -2
- package/dist/features/perspectives.esm.js +3 -1
- package/dist/features/perspectives.js +2 -2
- package/dist/features/raincloud.common.js +1 -1
- package/dist/features/raincloud.esm.js +1 -1
- package/dist/features/raincloud.js +1 -1
- package/dist/features/renderer-canvas.common.js +2 -2
- package/dist/features/renderer-canvas.esm.js +464 -28
- package/dist/features/renderer-canvas.js +2 -2
- package/dist/features/stats.common.js +1 -1
- package/dist/features/stats.esm.js +1 -1
- package/dist/features/stats.js +1 -1
- package/dist/features/storyboard.common.js +2 -2
- package/dist/features/storyboard.esm.js +3 -1
- package/dist/features/storyboard.js +2 -2
- package/dist/features/streamgraph.common.js +1 -1
- package/dist/features/streamgraph.esm.js +1 -1
- package/dist/features/streamgraph.js +1 -1
- package/dist/features/toolbar.common.js +2 -2
- package/dist/features/toolbar.esm.js +69 -48
- package/dist/features/toolbar.js +2 -2
- package/dist/features/trellis.common.js +2 -2
- package/dist/features/trellis.esm.js +131 -46
- package/dist/features/trellis.js +2 -2
- package/dist/features/waterfall.common.js +1 -1
- package/dist/features/waterfall.esm.js +1 -1
- package/dist/features/waterfall.js +1 -1
- package/dist/features/weave.common.js +1 -1
- package/dist/features/weave.esm.js +1 -1
- package/dist/features/weave.js +1 -1
- package/dist/heatmap.common.js +2 -2
- package/dist/heatmap.esm.js +74 -19
- package/dist/heatmap.js +2 -2
- package/dist/histogram.common.js +2 -2
- package/dist/histogram.esm.js +357 -143
- package/dist/icicle.common.js +1 -1
- package/dist/icicle.esm.js +1 -1
- package/dist/icicle.js +1 -1
- package/dist/line.common.js +2 -2
- package/dist/line.esm.js +297 -194
- package/dist/line.js +2 -2
- package/dist/locales/eu.json +56 -0
- package/dist/locales/gl.json +4 -3
- package/dist/pictograms.common.js +1 -1
- package/dist/pictograms.esm.js +1 -1
- package/dist/pictograms.js +1 -1
- package/dist/pie.common.js +2 -2
- package/dist/pie.esm.js +49 -17
- package/dist/pie.js +2 -2
- package/dist/polarArea.common.js +2 -2
- package/dist/polarArea.esm.js +49 -17
- package/dist/radar.common.js +2 -2
- package/dist/radar.esm.js +30 -4
- package/dist/radar.js +2 -2
- package/dist/radialBar.common.js +2 -2
- package/dist/radialBar.esm.js +149 -60
- package/dist/radialBar.js +2 -2
- package/dist/raincloud.common.js +2 -2
- package/dist/raincloud.esm.js +325 -143
- package/dist/rangeArea.common.js +2 -2
- package/dist/rangeArea.esm.js +297 -194
- package/dist/rangeBar.common.js +2 -2
- package/dist/rangeBar.esm.js +357 -143
- package/dist/scatter.common.js +2 -2
- package/dist/scatter.esm.js +297 -194
- package/dist/streamgraph.common.js +2 -2
- package/dist/streamgraph.esm.js +297 -194
- package/dist/sunburst.common.js +1 -1
- package/dist/sunburst.esm.js +1 -1
- package/dist/sunburst.js +1 -1
- package/dist/treemap.common.js +2 -2
- package/dist/treemap.esm.js +522 -40
- package/dist/treemap.js +2 -2
- package/dist/unit-shapes.common.js +1 -1
- package/dist/unit-shapes.esm.js +1 -1
- package/dist/unit-shapes.js +1 -1
- package/dist/unit.common.js +1 -1
- package/dist/unit.esm.js +1 -1
- package/dist/unit.js +1 -1
- package/dist/violin.common.js +2 -2
- package/dist/violin.esm.js +325 -143
- package/dist/violin.js +2 -2
- package/dist/waterfall.common.js +2 -2
- package/dist/waterfall.esm.js +357 -143
- package/package.json +7 -9
- package/src/apexcharts.js +43 -3
- package/src/assets/apexcharts.css +22 -5
- package/src/charts/Bar.js +268 -116
- package/src/charts/BarStacked.js +30 -5
- package/src/charts/BoxCandleStick.js +155 -16
- package/src/charts/HeatMap.js +77 -24
- package/src/charts/Line.js +303 -148
- package/src/charts/Pie.js +66 -15
- package/src/charts/Radar.js +70 -2
- package/src/charts/Radial.js +151 -82
- package/src/charts/RangeBar.js +24 -0
- package/src/charts/Treemap.js +676 -39
- package/src/charts/Violin.js +26 -0
- package/src/charts/common/bar/DataLabels.js +39 -16
- package/src/charts/common/bar/Helpers.js +134 -112
- package/src/charts/common/line/Helpers.js +27 -0
- package/src/entries/core.js +7 -0
- package/src/features/highlight-filter.js +27 -0
- package/src/locales/eu.json +56 -0
- package/src/locales/gl.json +4 -3
- package/src/modules/Animations.js +86 -6
- package/src/modules/Base.js +7 -0
- package/src/modules/Core.js +39 -42
- package/src/modules/CoreUtils.js +15 -7
- package/src/modules/Data.js +132 -17
- package/src/modules/DataLabels.js +289 -31
- package/src/modules/Exports.js +18 -6
- package/src/modules/Graphics.js +44 -23
- package/src/modules/Markers.js +11 -2
- package/src/modules/MorphTypeChange.js +89 -32
- package/src/modules/Range.js +62 -28
- package/src/modules/RendererController.js +36 -10
- package/src/modules/Series.js +341 -9
- package/src/modules/Theme.js +4 -10
- package/src/modules/ZoomPanSelection.js +68 -51
- package/src/modules/accessibility/KeyboardNavigation.js +674 -99
- package/src/modules/animations/AxisTransition.js +100 -9
- package/src/modules/animations/CircleTransition.js +479 -0
- package/src/modules/animations/DataLabelTransition.js +275 -2
- package/src/modules/animations/LayoutTransition.js +472 -0
- package/src/modules/animations/LengthTransition.js +122 -0
- package/src/modules/annotations/Annotations.js +10 -1
- package/src/modules/axes/Grid.js +68 -43
- package/src/modules/contextMenu/ContextMenu.js +23 -7
- package/src/modules/drilldown/Drilldown.js +3 -0
- package/src/modules/helpers/DataLabelOverlap.js +222 -0
- package/src/modules/helpers/Destroy.js +2 -0
- package/src/modules/helpers/InitCtxVariables.js +15 -0
- package/src/modules/helpers/UpdateHelpers.js +95 -3
- package/src/modules/highlightFilter/HighlightFilter.js +2858 -0
- package/src/modules/highlightFilter/PiePart.js +653 -0
- package/src/modules/highlightFilter/RadialPart.js +1337 -0
- package/src/modules/highlightFilter/TreemapPart.js +499 -0
- package/src/modules/highlightFilter/util.js +306 -0
- package/src/modules/ink/InkLayer.js +15 -3
- package/src/modules/legend/HeatmapGradientLegend.js +26 -7
- package/src/modules/legend/Helpers.js +14 -1
- package/src/modules/license/LicenseEnforcer.js +8 -5
- package/src/modules/measure/Measure.js +17 -7
- package/src/modules/settings/Config.js +322 -2
- package/src/modules/settings/Defaults.js +48 -49
- package/src/modules/settings/Globals.js +49 -1
- package/src/modules/settings/Options.js +44 -0
- package/src/modules/settings/TypeAliases.js +83 -0
- package/src/modules/tooltip/AxesTooltip.js +5 -1
- package/src/modules/tooltip/Intersect.js +663 -197
- package/src/modules/tooltip/Labels.js +89 -28
- package/src/modules/tooltip/Marker.js +209 -20
- package/src/modules/tooltip/Position.js +829 -138
- package/src/modules/tooltip/Tooltip.js +493 -73
- package/src/modules/tooltip/Utils.js +173 -3
- package/src/modules/tooltip/constants.js +20 -0
- package/src/modules/tooltip/placement.js +569 -0
- package/src/modules/trellis/Trellis.js +14 -2
- package/src/modules/trellis/TrellisScales.js +58 -17
- package/src/modules/trellis/TrellisSplit.js +19 -3
- package/src/modules/trellis/TrellisSync.js +7 -1
- package/src/modules/trellis/TrellisTooltip.js +27 -15
- package/src/renderers/Renderer.js +2 -0
- package/src/renderers/canvas/CanvasCompositor.js +113 -17
- package/src/renderers/canvas/CanvasGraphics.js +173 -3
- package/src/renderers/canvas/CanvasRenderer.js +275 -14
- package/src/types/internal.d.ts +132 -2
- package/src/utils/Utils.js +61 -0
- package/types/apexcharts.d.ts +365 -16
package/dist/apexcharts.css
CHANGED
|
@@ -359,15 +359,24 @@ rect.legend-mouseover-inactive,
|
|
|
359
359
|
.apexcharts-bar-area.apexcharts-keyboard-focused,
|
|
360
360
|
.apexcharts-candlestick-area.apexcharts-keyboard-focused,
|
|
361
361
|
.apexcharts-boxPlot-area.apexcharts-keyboard-focused,
|
|
362
|
+
.apexcharts-violin-area.apexcharts-keyboard-focused,
|
|
362
363
|
.apexcharts-rangebar-area.apexcharts-keyboard-focused,
|
|
363
364
|
.apexcharts-pie-area.apexcharts-keyboard-focused,
|
|
364
365
|
.apexcharts-heatmap-rect.apexcharts-keyboard-focused,
|
|
365
|
-
.apexcharts-treemap-rect.apexcharts-keyboard-focused
|
|
366
|
+
.apexcharts-treemap-rect.apexcharts-keyboard-focused,
|
|
367
|
+
.apexcharts-keyboard-focus-ring {
|
|
366
368
|
stroke: var(--apexcharts-focus-color, #008FFB);
|
|
367
369
|
stroke-width: 2;
|
|
368
370
|
stroke-opacity: 1;
|
|
369
371
|
}
|
|
370
372
|
|
|
373
|
+
/* A heatmap or a bar-like painted to canvas has no node per cell or mark, so
|
|
374
|
+
keyboard focus draws this outline over the focused one instead. */
|
|
375
|
+
.apexcharts-keyboard-focus-ring {
|
|
376
|
+
fill: none;
|
|
377
|
+
pointer-events: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
371
380
|
.apexcharts-tooltip {
|
|
372
381
|
--apx-tt-bg: #ffffff;
|
|
373
382
|
/* Shared by the body and the arrow's two outward facets, so the
|
|
@@ -430,7 +439,9 @@ rect.legend-mouseover-inactive,
|
|
|
430
439
|
opacity: 1;
|
|
431
440
|
transition: opacity .12s ease
|
|
432
441
|
}
|
|
433
|
-
|
|
442
|
+
/* Only while shown: a hidden box keeps its last position, which on a short
|
|
443
|
+
* chart is outside the chart, over whatever the page has there. */
|
|
444
|
+
.apexcharts-tooltip.apexcharts-tooltip-interactive.apexcharts-active {
|
|
434
445
|
pointer-events: auto;
|
|
435
446
|
}
|
|
436
447
|
.apexcharts-tooltip.apexcharts-active[data-positioned="true"] {
|
|
@@ -532,7 +543,13 @@ rect.legend-mouseover-inactive,
|
|
|
532
543
|
* (-6px = -1px border - 10px/2), i.e. exactly on the body's border line,
|
|
533
544
|
* so the two borders meet end to end instead of overlapping or gapping.
|
|
534
545
|
* `box-sizing` must be border-box or the bordered sides would grow the
|
|
535
|
-
* square asymmetrically and knock its centre off that line.
|
|
546
|
+
* square asymmetrically and knock its centre off that line.
|
|
547
|
+
*
|
|
548
|
+
* Along the edge, `--apx-tt-arrow-y` / `--apx-tt-arrow-x` are measured from
|
|
549
|
+
* the body's outer edge, as every position the script works out is, while
|
|
550
|
+
* `top` / `left` count from inside its 1px border: hence 6px back, not 5px,
|
|
551
|
+
* or the arrow stands a pixel past the mark it points at. The 50% default
|
|
552
|
+
* centres on the padding box, which is the body's centre either way. */
|
|
536
553
|
.apexcharts-tooltip-arrow {
|
|
537
554
|
position: absolute;
|
|
538
555
|
box-sizing: border-box;
|
|
@@ -541,7 +558,7 @@ rect.legend-mouseover-inactive,
|
|
|
541
558
|
background: var(--apx-tt-arrow-bg);
|
|
542
559
|
transform: rotate(45deg);
|
|
543
560
|
pointer-events: none;
|
|
544
|
-
top: calc(var(--apx-tt-arrow-y, 50%) -
|
|
561
|
+
top: calc(var(--apx-tt-arrow-y, calc(50% + 1px)) - 6px)
|
|
545
562
|
}
|
|
546
563
|
|
|
547
564
|
/* Which two sides face outward depends on the placement. Under
|
|
@@ -568,7 +585,7 @@ rect.legend-mouseover-inactive,
|
|
|
568
585
|
.apexcharts-tooltip[data-placement="top"] .apexcharts-tooltip-arrow,
|
|
569
586
|
.apexcharts-tooltip[data-placement="bottom"] .apexcharts-tooltip-arrow {
|
|
570
587
|
top: auto;
|
|
571
|
-
left: calc(var(--apx-tt-arrow-x, 50%) -
|
|
588
|
+
left: calc(var(--apx-tt-arrow-x, calc(50% + 1px)) - 6px)
|
|
572
589
|
}
|
|
573
590
|
|
|
574
591
|
.apexcharts-tooltip[data-placement="top"] .apexcharts-tooltip-arrow {
|