Commit 6c0f3d70 by Torkel Ödegaard

Fixes #80, stacked percentage and min/max bug, Fixes #81 (grid y min/max not working)

parent e86f4f94
......@@ -249,8 +249,8 @@ function (angular, $, kbn, moment, _) {
var defaults = {
position: 'left',
show: scope.panel['y-axis'],
min: null,
max: null,
min: scope.panel.grid.min,
max: scope.panel.percentage && scope.panel.stack ? 100 : scope.panel.grid.max,
};
options.yaxes.push(defaults);
......
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