mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
This commit is contained in:
parent
e86f4f94ef
commit
6c0f3d701f
@ -249,8 +249,8 @@ function (angular, $, kbn, moment, _) {
|
|||||||
var defaults = {
|
var defaults = {
|
||||||
position: 'left',
|
position: 'left',
|
||||||
show: scope.panel['y-axis'],
|
show: scope.panel['y-axis'],
|
||||||
min: null,
|
min: scope.panel.grid.min,
|
||||||
max: null,
|
max: scope.panel.percentage && scope.panel.stack ? 100 : scope.panel.grid.max,
|
||||||
};
|
};
|
||||||
|
|
||||||
options.yaxes.push(defaults);
|
options.yaxes.push(defaults);
|
||||||
|
Loading…
Reference in New Issue
Block a user