We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f59fb1c commit fc80262Copy full SHA for fc80262
modules/gpad/TAxisPainter.mjs
@@ -1266,7 +1266,7 @@ class TAxisPainter extends ObjectPainter {
1266
.style('cursor', 'crosshair');
1267
1268
if (this.vertical) {
1269
- const rw = (labelsMaxWidth || 2*labelSize) + 3;
+ const rw = Math.max(labelsMaxWidth, 2*labelSize) + 3;
1270
r.attr('x', (side > 0) ? -rw : 0).attr('y', 0)
1271
.attr('width', rw).attr('height', h);
1272
} else {
0 commit comments