Commit f743288c by Torkel Ödegaard

Graph: fix for legends on the side and graph dimensions adaptation

parent 61f6bd2c
......@@ -17,6 +17,7 @@ function (_, crypto) {
window_title_prefix : 'Grafana - ',
panels : {
'graph': { path: 'panels/graph' },
'stats': { path: 'panels/stats' },
'text': { path: 'panels/text' }
},
plugins : {},
......
......@@ -207,6 +207,8 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
}
if (shouldDelayDraw(panel)) {
// temp fix for legends on the side, need to render twice to get dimensions right
callPlot();
setTimeout(callPlot, 50);
legendSideLastValue = panel.legend.rightSide;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment