diff --git a/src/app/components/settings.js b/src/app/components/settings.js index 01f40c2e761..38313aeb198 100644 --- a/src/app/components/settings.js +++ b/src/app/components/settings.js @@ -17,6 +17,7 @@ function (_, crypto) { window_title_prefix : 'Grafana - ', panels : { 'graph': { path: 'panels/graph' }, + 'stats': { path: 'panels/stats' }, 'text': { path: 'panels/text' } }, plugins : {}, diff --git a/src/app/directives/grafanaGraph.js b/src/app/directives/grafanaGraph.js index bf7264cc16f..374d5e34eab 100755 --- a/src/app/directives/grafanaGraph.js +++ b/src/app/directives/grafanaGraph.js @@ -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; }