Skip to content

Commit

Permalink
style: spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXYT committed Jul 15, 2022
1 parent c7a8547 commit 6a261fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/component/marker/MarkAreaView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function getSingleMarkerEndPoint(
else {
// Chart like bar may have there own marker positioning logic
if (seriesModel.getMarkerPosition) {
// Use the getMarkerPoisition
// Use the getMarkerPosition
point = seriesModel.getMarkerPosition(
data.getValues(dims, idx)
);
Expand Down
2 changes: 1 addition & 1 deletion src/component/marker/MarkLineView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function updateSingleMarkerEndLayout(
else {
// Chart like bar may have there own marker positioning logic
if (seriesModel.getMarkerPosition) {
// Use the getMarkerPoisition
// Use the getMarkerPosition
point = seriesModel.getMarkerPosition(
data.getValues(data.dimensions, idx)
);
Expand Down
2 changes: 1 addition & 1 deletion src/component/marker/MarkPointView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function updateMarkerLayout(
}
// Chart like bar may have there own marker positioning logic
else if (seriesModel.getMarkerPosition) {
// Use the getMarkerPoisition
// Use the getMarkerPosition
point = seriesModel.getMarkerPosition(
mpData.getValues(mpData.dimensions, idx)
);
Expand Down
4 changes: 2 additions & 2 deletions src/component/marker/markerHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export function dataFilter(
},
item: MarkerPositionOption
) {
// Alwalys return true if there is no coordSys
// Always return true if there is no coordSys
return (coordSys && coordSys.containData && item.coord && !hasXOrY(item))
? coordSys.containData(item.coord) : true;
}
Expand All @@ -204,7 +204,7 @@ export function zoneFilter(
item1: MarkerPositionOption,
item2: MarkerPositionOption
) {
// Alwalys return true if there is no coordSys
// Always return true if there is no coordSys
return (coordSys && coordSys.containZone && item1.coord && item2.coord && !hasXOrY(item1) && !hasXOrY(item2))
? coordSys.containZone(item1.coord, item2.coord) : true;
}
Expand Down

0 comments on commit 6a261fb

Please sign in to comment.