This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/master by this push:
new fd58e523e Update echarts.ts
new 173fac602 Merge pull request #18862 from captainhaddock18/master
fd58e523e is described below
commit fd58e523ece43bc23279c950e2d28249717ec6e9
Author: THARAK HEGDE <[email protected]>
AuthorDate: Fri Jul 7 09:59:15 2023 +0530
Update echarts.ts
---
src/core/echarts.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/core/echarts.ts b/src/core/echarts.ts
index fa8ccfbef..2cc924dbf 100644
--- a/src/core/echarts.ts
+++ b/src/core/echarts.ts
@@ -2087,12 +2087,12 @@ class ECharts extends Eventful<ECEventDefinition> {
};
const componentZLevels: ZLevelItem[] = [];
const seriesZLevels: ZLevelItem[] = [];
- let hasSeperateZLevel = false;
+ let hasSeparateZLevel = false;
ecModel.eachComponent(function (componentType, componentModel) {
const zlevel = componentModel.get('zlevel') || 0;
const z = componentModel.get('z') || 0;
const zlevelKey = componentModel.getZLevelKey();
- hasSeperateZLevel = hasSeperateZLevel || !!zlevelKey;
+ hasSeparateZLevel = hasSeparateZLevel || !!zlevelKey;
(componentType === 'series' ? seriesZLevels :
componentZLevels).push({
zlevel,
z,
@@ -2102,7 +2102,7 @@ class ECharts extends Eventful<ECEventDefinition> {
});
});
- if (hasSeperateZLevel) {
+ if (hasSeparateZLevel) {
// Series after component
const zLevels: ZLevelItem[] =
componentZLevels.concat(seriesZLevels);
let lastSeriesZLevel: number;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]