diff --git a/src/component/legend/ScrollableLegendView.ts b/src/component/legend/ScrollableLegendView.ts index da19a699d1..239ec8b5f3 100644 --- a/src/component/legend/ScrollableLegendView.ts +++ b/src/component/legend/ScrollableLegendView.ts @@ -437,7 +437,7 @@ class ScrollableLegendView extends LegendView { // Strategy: // (1) Always align based on the left/top most item. // (2) It is user-friendly that the last item shown in the - // current window is shown at the begining of next window. + // current window is shown at the beginning of next window. // Otherwise if half of the last item is cut by the window, // it will have no chance to display entirely. // (3) Consider that item size probably be different, we diff --git a/src/coord/matrix/MatrixBodyCorner.ts b/src/coord/matrix/MatrixBodyCorner.ts index ddaad0d477..5d72c7d58a 100644 --- a/src/coord/matrix/MatrixBodyCorner.ts +++ b/src/coord/matrix/MatrixBodyCorner.ts @@ -54,7 +54,7 @@ export interface MatrixBodyCornerCell { option: MatrixBodyCornerCellOption | NullUndefined; // `matrix.body/corner.data[i].coord` can locate a rect of cells (say, area). // `inSpanOf` refers to the top-left cell, which represents that area. - // The top-left cell has `inSpanOf` refering to itself. + // The top-left cell has `inSpanOf` referring to itself. inSpanOf: MatrixBodyCornerCell | NullUndefined; // If existing, it indicates cell merging, and this cell is the top-left cell // of the merging area. diff --git a/src/util/graphic.ts b/src/util/graphic.ts index 45bf8b556a..52dbaac162 100644 --- a/src/util/graphic.ts +++ b/src/util/graphic.ts @@ -884,7 +884,7 @@ function doUpdateZ( label.z = z; label.zlevel = zlevel; // lift z2 of text content - // TODO if el.emphasis.z2 is spcefied, what about textContent. + // TODO if el.emphasis.z2 is specified, what about textContent. isFinite(maxZ2) && (label.z2 = maxZ2 + 2); } if (labelLine) {