Skip to content

Commit 81478fb

Browse files
committed
build - 4.0.0
1 parent 79a1400 commit 81478fb

7 files changed

+138
-150
lines changed

dist/apexcharts.amd.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.amd.js.LICENSE.txt

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
/*!
2-
* svg.js - A lightweight library for manipulating and animating SVG.
3-
* @version 2.6.6
4-
* https://svgdotjs.github.io/
2+
* @svgdotjs/svg.resize.js - An extension for svg.js which allows to resize elements which are selected
3+
* @version 2.0.4
4+
* https://github.com/svgdotjs/svg.resize.js
5+
*
6+
* @copyright [object Object]
7+
* @license MIT
8+
*
9+
* BUILT: Fri Sep 13 2024 12:43:14 GMT+0200 (Central European Summer Time)
510
*/
611

712
/*!
8-
* svg.select.js - An extension of svg.js which allows to select elements with mouse
9-
* @version 3.0.1
13+
* @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
14+
* @version 4.0.1
1015
* https://github.com/svgdotjs/svg.select.js
1116
*
1217
* @copyright Ulrich-Matthias Schäfer
1318
* @license MIT
19+
*
20+
* BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
1421
*/
15-
16-
/*! svg.draggable.js - v2.2.2 - 2019-01-08
17-
* https://github.com/svgdotjs/svg.draggable.js
18-
* Copyright (c) 2019 Wout Fierens; Licensed MIT */

dist/apexcharts.common.js

+34-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.css

+15-18
Original file line numberDiff line numberDiff line change
@@ -398,30 +398,27 @@ rect.legend-mouseover-inactive,
398398
cursor: move
399399
}
400400

401-
.svg_select_boundingRect,
402-
.svg_select_points_rot {
401+
.svg_select_shape {
402+
stroke-width: 1;
403+
stroke-dasharray: 10 10;
404+
stroke: black;
405+
stroke-opacity: 0.1;
403406
pointer-events: none;
404-
opacity: 0;
405-
visibility: hidden
407+
fill: none;
406408
}
407409

408-
.apexcharts-selection-rect+g .svg_select_boundingRect,
409-
.apexcharts-selection-rect+g .svg_select_points_rot {
410-
opacity: 0;
411-
visibility: hidden
410+
.svg_select_handle {
411+
stroke-width: 3;
412+
stroke: black;
413+
fill: none;
412414
}
413415

414-
.apexcharts-selection-rect+g .svg_select_points_l,
415-
.apexcharts-selection-rect+g .svg_select_points_r {
416-
cursor: ew-resize;
417-
opacity: 1;
418-
visibility: visible
416+
.svg_select_handle_r {
417+
cursor: e-resize;
419418
}
420419

421-
.svg_select_points {
422-
fill: #efefef;
423-
stroke: #333;
424-
rx: 2
420+
.svg_select_handle_l {
421+
cursor: w-resize;
425422
}
426423

427424
.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
@@ -680,4 +677,4 @@ rect.legend-mouseover-inactive,
680677

681678
.apexcharts-rangebar-goals-markers {
682679
pointer-events: none
683-
}
680+
}

dist/apexcharts.esm.js

+34-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.js

+8-92
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* ApexCharts v3.54.1
2+
* ApexCharts v4.0.0
33
* (c) 2018-2024 ApexCharts
44
* Released under the MIT License.
55
*/
@@ -674,77 +674,8 @@
674674
_classCallCheck(this, Animations);
675675
this.ctx = ctx;
676676
this.w = ctx.w;
677-
this.setEasingFunctions();
678677
}
679678
_createClass(Animations, [{
680-
key: "setEasingFunctions",
681-
value: function setEasingFunctions() {
682-
var easing;
683-
if (this.w.globals.easing) return;
684-
var userDefinedEasing = this.w.config.chart.animations.easing;
685-
switch (userDefinedEasing) {
686-
case 'linear':
687-
{
688-
easing = '-';
689-
break;
690-
}
691-
case 'easein':
692-
{
693-
easing = '<';
694-
break;
695-
}
696-
case 'easeout':
697-
{
698-
easing = '>';
699-
break;
700-
}
701-
case 'easeinout':
702-
{
703-
easing = '<>';
704-
break;
705-
}
706-
case 'swing':
707-
{
708-
easing = function easing(pos) {
709-
var s = 1.70158;
710-
var ret = (pos -= 1) * pos * ((s + 1) * pos + s) + 1;
711-
return ret;
712-
};
713-
break;
714-
}
715-
case 'bounce':
716-
{
717-
easing = function easing(pos) {
718-
var ret = '';
719-
if (pos < 1 / 2.75) {
720-
ret = 7.5625 * pos * pos;
721-
} else if (pos < 2 / 2.75) {
722-
ret = 7.5625 * (pos -= 1.5 / 2.75) * pos + 0.75;
723-
} else if (pos < 2.5 / 2.75) {
724-
ret = 7.5625 * (pos -= 2.25 / 2.75) * pos + 0.9375;
725-
} else {
726-
ret = 7.5625 * (pos -= 2.625 / 2.75) * pos + 0.984375;
727-
}
728-
return ret;
729-
};
730-
break;
731-
}
732-
case 'elastic':
733-
{
734-
easing = function easing(pos) {
735-
if (pos === !!pos) return pos;
736-
return Math.pow(2, -10 * pos) * Math.sin((pos - 0.075) * (2 * Math.PI) / 0.3) + 1;
737-
};
738-
break;
739-
}
740-
default:
741-
{
742-
easing = '<>';
743-
}
744-
}
745-
this.w.globals.easing = easing;
746-
}
747-
}, {
748679
key: "animateLine",
749680
value: function animateLine(el, from, to, speed) {
750681
el.attr(from).animate(speed).attr(to);
@@ -12291,8 +12222,6 @@
1229112222
chart: {
1229212223
animations: {
1229312224
enabled: true,
12294-
easing: 'easeinout',
12295-
// linear, easeout, easein, easeinout, swing, bounce, elastic
1229612225
speed: 800,
1229712226
animateGradually: {
1229812227
delay: 150,
@@ -12313,7 +12242,7 @@
1231312242
left: 2,
1231412243
blur: 4,
1231512244
color: '#000',
12316-
opacity: 0.35
12245+
opacity: 0.7
1231712246
},
1231812247
events: {
1231912248
animationEnd: undefined,
@@ -12750,7 +12679,7 @@
1275012679
left: 1,
1275112680
blur: 1,
1275212681
color: '#000',
12753-
opacity: 0.45
12682+
opacity: 0.8
1275412683
}
1275512684
},
1275612685
dropShadow: {
@@ -12759,7 +12688,7 @@
1275912688
left: 1,
1276012689
blur: 1,
1276112690
color: '#000',
12762-
opacity: 0.45
12691+
opacity: 0.8
1276312692
}
1276412693
},
1276512694
fill: {
@@ -13159,7 +13088,7 @@
1315913088
left: 0,
1316013089
top: 0,
1316113090
blur: 1,
13162-
opacity: 0.4
13091+
opacity: 0.8
1316313092
}
1316413093
},
1316513094
tooltip: {
@@ -13595,11 +13524,6 @@
1359513524
key: "line",
1359613525
value: function line() {
1359713526
return {
13598-
chart: {
13599-
animations: {
13600-
easing: 'swing'
13601-
}
13602-
},
1360313527
dataLabels: {
1360413528
enabled: false
1360513529
},
@@ -13741,10 +13665,7 @@
1374113665
value: function bar() {
1374213666
return {
1374313667
chart: {
13744-
stacked: false,
13745-
animations: {
13746-
easing: 'swing'
13747-
}
13668+
stacked: false
1374813669
},
1374913670
plotOptions: {
1375013671
bar: {
@@ -13805,7 +13726,6 @@
1380513726
return _objectSpread2(_objectSpread2({}, this.bar()), {}, {
1380613727
chart: {
1380713728
animations: {
13808-
easing: 'linear',
1380913729
speed: 800,
1381013730
animateGradually: {
1381113731
enabled: false
@@ -15112,8 +15032,6 @@
1511215032
lastDrawnDataLabelsIndexes: [],
1511315033
hasNullValues: false,
1511415034
// bool: whether series contains null values
15115-
easing: null,
15116-
// function: animation effect to apply
1511715035
zoomed: false,
1511815036
// whether user has zoomed or not
1511915037
gridWidth: 0,
@@ -29929,8 +29847,7 @@
2992929847
totalItems: 2,
2993029848
animBeginArr: 0,
2993129849
dur: 0,
29932-
isTrack: true,
29933-
easing: w.globals.easing
29850+
isTrack: true
2993429851
});
2993529852
}
2993629853
return g;
@@ -30110,8 +30027,7 @@
3011030027
totalItems: 2,
3011130028
animBeginArr: this.animBeginArr,
3011230029
dur: dur,
30113-
shouldSetPrevPaths: true,
30114-
easing: w.globals.easing
30030+
shouldSetPrevPaths: true
3011530031
});
3011630032
}
3011730033
return {

dist/apexcharts.min.js

+34-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)