Skip to content

Commit 00c3e53

Browse files
author
Jim Hague
committed
Increase left margin size to allow space for an 8 character label.
I guess we really should be somehow measuring the x and y tick label size and using that in the calculation. For now, though...
1 parent d0346e4 commit 00c3e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ class PlotlyPanelCtrl extends MetricsPanelCtrl {
400400

401401
const isDate = layout.xaxis.type === 'date';
402402
layout.margin = {
403-
l: layout.yaxis.title ? 50 : 35,
403+
l: layout.yaxis.title ? 70 : 55,
404404
r: 5,
405405
t: 0,
406406
b: layout.xaxis.title ? 65 : isDate ? 40 : 30,

0 commit comments

Comments
 (0)