Skip to content

Commit 067c752

Browse files
committed
feat: disable autoRotate by default
1 parent 5d61428 commit 067c752

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

__tests__/unit/plots/histogram/axis-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe('Histogram: axis', () => {
113113
nice: true,
114114
label: {
115115
autoHide: true,
116-
autoRotate: true,
116+
autoRotate: false,
117117
},
118118
});
119119

__tests__/unit/plots/histogram/index-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('histogram', () => {
3737
nice: true,
3838
label: {
3939
autoHide: true,
40-
autoRotate: true,
40+
autoRotate: false,
4141
},
4242
});
4343

src/core/plot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export abstract class Plot<O extends PickOptions> extends EE {
112112
xAxis: {
113113
nice: true,
114114
label: {
115-
autoRotate: true,
115+
autoRotate: false,
116116
autoHide: true,
117117
},
118118
},

0 commit comments

Comments
 (0)