Skip to content

Commit

Permalink
style(marker): improve code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Mar 6, 2023
1 parent 710e79d commit e02ca38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/marker/markerHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function dataTransform(

const data = seriesModel.getData();
const coordSys = seriesModel.coordinateSystem;
const dims = coordSys?.dimensions;
const dims = coordSys && coordSys.dimensions;

// 1. If not specify the position with pixel directly
// 2. If `coord` is not a data array. Which uses `xAxis`,
Expand Down

0 comments on commit e02ca38

Please sign in to comment.