diff --git a/src/component/axis/AxisBuilder.ts b/src/component/axis/AxisBuilder.ts index d01d20d660..c7b48dcafd 100644 --- a/src/component/axis/AxisBuilder.ts +++ b/src/component/axis/AxisBuilder.ts @@ -152,7 +152,7 @@ class AxisBuilder { ); - // FIXME Not use a seperate text group? + // FIXME Not use a separate text group? const transformGroup = new graphic.Group({ x: opt.position[0], y: opt.position[1], @@ -796,7 +796,7 @@ function buildAxisLabel( // in category axis. // (2) Compatible with previous version, which always use formatted label as // input. But in interval scale the formatted label is like '223,445', which - // maked user repalce ','. So we modify it to return original val but remain + // maked user replace ','. So we modify it to return original val but remain // it as 'string' to avoid error in replacing. axis.type === 'category' ? rawLabel diff --git a/src/component/transform/filterTransform.ts b/src/component/transform/filterTransform.ts index 627f3724c0..5b557a34dc 100644 --- a/src/component/transform/filterTransform.ts +++ b/src/component/transform/filterTransform.ts @@ -35,12 +35,12 @@ export const filterTransform: ExternalDataTransform = { type: 'echarts:filter', - // PEDING: enhance to filter by index rather than create new data + // PENDING: enhance to filter by index rather than create new data transform: function (params) { // [Caveat] Fail-Fast: - // Do not return the whole dataset unless user config indicate it explicitly. - // For example, if no condition specified by mistake, return an empty result - // is better than return the entire raw soruce for user to find the mistake. + // Do not return the whole dataset unless user config indicates it explicitly. + // For example, if no condition is specified by mistake, returning an empty result + // is better than returning the entire raw source for the user to find the mistake. const upstream = params.upstream; let rawItem: DataTransformDataItem; diff --git a/src/model/Series.ts b/src/model/Series.ts index e2a5577b9e..158174c75f 100644 --- a/src/model/Series.ts +++ b/src/model/Series.ts @@ -146,7 +146,7 @@ class SeriesModel extends ComponentMode // @readonly seriesIndex: number; - // coodinateSystem will be injected in the echarts/CoordinateSystem + // coordinateSystem will be injected in the echarts/CoordinateSystem coordinateSystem: CoordinateSystem; // Injected outside