Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coord/single/Single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Single implements CoordinateSystem, CoordinateSystemMaster {

const isHorizontal = axis.isHorizontal();
const extent = isHorizontal ? [0, rect.width] : [0, rect.height];
const idx = axis.reverse ? 1 : 0;
const idx = axis.inverse ? 1 : 0;

axis.setExtent(extent[idx], extent[1 - idx]);

Expand Down
2 changes: 0 additions & 2 deletions src/coord/single/SingleAxis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ class SingleAxis extends Axis {

orient: LayoutOrient;

reverse: boolean;

coordinateSystem: Single;

model: SingleAxisModel;
Expand Down