Skip to content

Commit 373983d

Browse files
committed
build - 3.44.2
1 parent d8464d4 commit 373983d

File tree

5 files changed

+19
-29
lines changed

5 files changed

+19
-29
lines changed

dist/apexcharts.amd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.common.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.esm.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.js

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* ApexCharts v3.44.1
2+
* ApexCharts v3.44.2
33
* (c) 2018-2023 ApexCharts
44
* Released under the MIT License.
55
*/
@@ -8750,11 +8750,7 @@
87508750
if (cnf.chart.type === 'rangeBar' || cnf.chart.type === 'rangeArea' || ser[i].type === 'rangeBar' || ser[i].type === 'rangeArea') {
87518751
gl.isRangeData = true;
87528752

8753-
if (gl.isComboCharts) {
8754-
if (ser[i].type === 'rangeBar' || ser[i].type === 'rangeArea') {
8755-
this.handleRangeData(ser, i);
8756-
}
8757-
} else if (cnf.chart.type === 'rangeBar' || cnf.chart.type === 'rangeArea') {
8753+
if (cnf.chart.type === 'rangeBar' || cnf.chart.type === 'rangeArea') {
87588754
this.handleRangeData(ser, i);
87598755
}
87608756
}
@@ -9546,7 +9542,7 @@
95469542
}
95479543
};
95489544

9549-
var handleUnequalDatetimeSeries = function handleUnequalDatetimeSeries() {
9545+
var handleUnequalXValues = function handleUnequalXValues() {
95509546
var categories = new Set();
95519547
var data = {};
95529548
series.forEach(function (s, sI) {
@@ -9577,7 +9573,7 @@
95779573
}
95789574

95799575
Array.from(categories).sort().forEach(function (cat) {
9580-
rows.push([isTimeStamp(cat) ? w.config.chart.toolbar.export.csv.dateFormatter(cat) : Utils$1.isNumber(cat) ? cat : cat.split(columnDelimiter).join(''), data[cat].join(columnDelimiter)]);
9576+
rows.push([isTimeStamp(cat) && w.config.xaxis.type === 'datetime' ? w.config.chart.toolbar.export.csv.dateFormatter(cat) : Utils$1.isNumber(cat) ? cat : cat.split(columnDelimiter).join(''), data[cat].join(columnDelimiter)]);
95819577
});
95829578
};
95839579

@@ -9612,8 +9608,8 @@
96129608
rows.push(columns.join(columnDelimiter));
96139609
}
96149610

9615-
if (!w.globals.allSeriesHasEqualX && w.globals.axisCharts && w.config.xaxis.type === 'datetime' && !w.config.xaxis.categories.length && !w.config.labels.length) {
9616-
handleUnequalDatetimeSeries();
9611+
if (!w.globals.allSeriesHasEqualX && w.globals.axisCharts && !w.config.xaxis.categories.length && !w.config.labels.length) {
9612+
handleUnequalXValues();
96179613
} else {
96189614
series.map(function (s, sI) {
96199615
if (w.globals.axisCharts) {
@@ -11790,14 +11786,14 @@
1179011786

1179111787
indicesOfSeriesInGroup.forEach(function (i) {
1179211788
for (var j = 0; j < gl.series[gl.maxValsInArrayIndex].length; j++) {
11793-
var _gl$series, _gl$series$i;
11789+
var _this$w$config$series, _this$w$config$series2;
1179411790

1179511791
if (typeof stackedPoss[group][j] === 'undefined') {
1179611792
stackedPoss[group][j] = 0;
1179711793
stackedNegs[group][j] = 0;
1179811794
}
1179911795

11800-
var stackSeries = !_this.w.config.chart.stackOnlyBar || ((_gl$series = gl.series) === null || _gl$series === void 0 ? void 0 : (_gl$series$i = _gl$series[i]) === null || _gl$series$i === void 0 ? void 0 : _gl$series$i.type) === 'bar' || _this.w.config.chart.type === 'bar';
11796+
var stackSeries = _this.w.config.chart.stacked && !gl.comboCharts || _this.w.config.chart.stacked && gl.comboCharts && (!_this.w.config.chart.stackOnlyBar || ((_this$w$config$series = _this.w.config.series) === null || _this$w$config$series === void 0 ? void 0 : (_this$w$config$series2 = _this$w$config$series[i]) === null || _this$w$config$series2 === void 0 ? void 0 : _this$w$config$series2.type) === 'bar');
1180111797

1180211798
if (stackSeries) {
1180311799
if (gl.series[i][j] !== null && Utils$1.isNumber(gl.series[i][j])) {
@@ -14671,12 +14667,6 @@
1467114667
title: this.localeValues.exportToCSV
1467214668
}];
1467314669

14674-
if (!this.w.globals.allSeriesHasEqualX && !(this.w.globals.axisCharts && this.w.config.xaxis.type === 'datetime' && !this.w.config.xaxis.categories.length && !this.w.config.labels.length)) {
14675-
// if it is a multi series, and all series have variable x values, export CSV won't work
14676-
// unless it is a simple datetime chart
14677-
menuItems.splice(2, 1);
14678-
}
14679-
1468014670
for (var i = 0; i < menuItems.length; i++) {
1468114671
this.elMenuItems.push(document.createElement('div'));
1468214672
this.elMenuItems[i].innerHTML = menuItems[i].title;
@@ -23727,16 +23717,16 @@
2372723717
}, {
2372823718
key: "determineFirstPrevY",
2372923719
value: function determineFirstPrevY(_ref3) {
23730-
var _series$i, _series$i2;
23720+
var _this$w$config$series, _series$i;
2373123721

2373223722
var i = _ref3.i,
2373323723
series = _ref3.series,
2373423724
prevY = _ref3.prevY,
2373523725
lineYPosition = _ref3.lineYPosition;
2373623726
var w = this.w;
23737-
var stackSeries = w.config.chart.stacked && (!w.config.chart.stackOnlyBar || (series === null || series === void 0 ? void 0 : (_series$i = series[i]) === null || _series$i === void 0 ? void 0 : _series$i.type) === 'bar');
23727+
var stackSeries = w.config.chart.stacked && !w.globals.comboCharts || w.config.chart.stacked && w.globals.comboCharts && (!this.w.config.chart.stackOnlyBar || ((_this$w$config$series = this.w.config.series[i]) === null || _this$w$config$series === void 0 ? void 0 : _this$w$config$series.type) === 'bar');
2373823728

23739-
if (typeof ((_series$i2 = series[i]) === null || _series$i2 === void 0 ? void 0 : _series$i2[0]) !== 'undefined') {
23729+
if (typeof ((_series$i = series[i]) === null || _series$i === void 0 ? void 0 : _series$i[0]) !== 'undefined') {
2374023730
if (stackSeries) {
2374123731
if (i > 0) {
2374223732
// 1st y value of previous series
@@ -24407,7 +24397,7 @@
2440724397
};
2440824398

2440924399
var y2 = y;
24410-
var stackSeries = w.config.chart.stacked && (!this.w.config.chart.stackOnlyBar || ((_this$w$config$series = this.w.config.series[realIndex]) === null || _this$w$config$series === void 0 ? void 0 : _this$w$config$series.type) === 'bar');
24400+
var stackSeries = w.config.chart.stacked && !w.globals.comboCharts || w.config.chart.stacked && w.globals.comboCharts && (!this.w.config.chart.stackOnlyBar || ((_this$w$config$series = this.w.config.series[realIndex]) === null || _this$w$config$series === void 0 ? void 0 : _this$w$config$series.type) === 'bar');
2441124401

2441224402
for (var j = 0; j < iterations; j++) {
2441324403
var isNull = typeof series[i][j + 1] === 'undefined' || series[i][j + 1] === null;

dist/apexcharts.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)