You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2026/09/12 00:20:02 UTC
(echarts) branch master updated: fix(typo): correct 'becuase' typo in code comments (#21731)
This is an automated email from the ASF dual-hosted git repository.
plainheart 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 984bf46b2 fix(typo): correct 'becuase' typo in code comments (#21731)
984bf46b2 is described below
commit 984bf46b2f905dd0ad909a2d5e6e9d66a1b6568c
Author: wwwmake-ui <22...@qq.com>
AuthorDate: Sat Sep 12 08:19:56 2026 +0800
fix(typo): correct 'becuase' typo in code comments (#21731)
---
src/chart/treemap/treemapLayout.ts | 2 +-
src/component/helper/cursorHelper.ts | 2 +-
src/coord/matrix/Matrix.ts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/chart/treemap/treemapLayout.ts b/src/chart/treemap/treemapLayout.ts
index 6ed5614b7..97a619c5c 100644
--- a/src/chart/treemap/treemapLayout.ts
+++ b/src/chart/treemap/treemapLayout.ts
@@ -181,7 +181,7 @@ export default {
seriesModel.setLayoutInfo(layoutInfo);
// FIXME: narrow down pruning boungding rect.
- // Currently ec width/height is used becuases clip is not supported.
+ // Currently ec width/height is used because clip is not supported.
prunning(
treeRoot,
// Transform to base element coordinate system.
diff --git a/src/component/helper/cursorHelper.ts b/src/component/helper/cursorHelper.ts
index e6810e4df..1e34198dd 100644
--- a/src/component/helper/cursorHelper.ts
+++ b/src/component/helper/cursorHelper.ts
@@ -46,7 +46,7 @@ export function onIrrelevantElement(
}
// At present the `true` return is conservative. That is, the caller, such as a RoamController,
- // is more likely to get a `false` return and start a roam behavior, becuase even if the
+ // is more likely to get a `false` return and start a roam behavior, because even if the
// `model.coordinateSystem` does not exist, the `e.topTarget` may be also a relevant element,
// such as axis split line/area or series elements, where roam should be available. Otherwise,
// if a dataZoom-served cartesian is full of series elements, the dataZoom-roaming can hardly
diff --git a/src/coord/matrix/Matrix.ts b/src/coord/matrix/Matrix.ts
index 3e9bfacf3..1c55be884 100644
--- a/src/coord/matrix/Matrix.ts
+++ b/src/coord/matrix/Matrix.ts
@@ -185,7 +185,7 @@ class Matrix implements CoordinateSystem, CoordinateSystemMaster {
clamp?: MatrixClampOption | NullUndefined;
// Expand if cell merging is encountered.
// - `false`: If intersecting with a rect of merged cells, expand the result to cover it.
- // This is the default option, becuase `series.data` do not support the format
+ // This is the default option, because `series.data` do not support the format
// `MatrixCoordRangeOption` (e.g., `[[3,5], [5,8]]`), thus merged cells can only
// be located by single cell locators (e.g., `[3, 5]`).
// - `true`: regardless of cell merging, even if the resulting rect spans accorss the merged cells.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org