Skip to content

Commit 90c3097

Browse files
committed
adjust position on bar_multiline_labels mock
1 parent 5f252f5 commit 90c3097

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/plots/cartesian/axes.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -2658,11 +2658,10 @@ axes.makeLabelFns = function(ax, shift, angle) {
26582658
if(insideTickLabels) {
26592659
ff += MID_SHIFT;
26602660
} else {
2661-
if(
2662-
(tickangle === -90 && side === 'bottom') ||
2663-
(tickangle === 90 && side === 'top')
2664-
) {
2661+
if(tickangle === -90 && side === 'bottom') {
26652662
ff = CAP_SHIFT;
2663+
} else if(tickangle === 90 && side === 'top') {
2664+
ff = MID_SHIFT;
26662665
} else {
26672666
ff = 0.5;
26682667
}
98 Bytes
Loading

0 commit comments

Comments
 (0)