From fd58e523ece43bc23279c950e2d28249717ec6e9 Mon Sep 17 00:00:00 2001 From: THARAK HEGDE <120558797+captainhaddock18@users.noreply.github.com> Date: Fri, 7 Jul 2023 09:59:15 +0530 Subject: [PATCH] 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 fa8ccfbeff..2cc924dbfa 100644 --- a/src/core/echarts.ts +++ b/src/core/echarts.ts @@ -2087,12 +2087,12 @@ class ECharts extends Eventful { }; 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 { }); }); - if (hasSeperateZLevel) { + if (hasSeparateZLevel) { // Series after component const zLevels: ZLevelItem[] = componentZLevels.concat(seriesZLevels); let lastSeriesZLevel: number;