diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index a7f5c57317..0ecf092e23 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -328,11 +328,10 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark, // the X axis show negative part instead to // show the axis only the positive part. if (maxvalue == 0) { - options['xaxes'][0]['min'] = 0; - + options['yaxis']['min'] = 0; // Fixed the values with a lot of decimals in the situation // with all 0 values. - options['xaxes'][0]['tickDecimals'] = 0; + options['yaxis']['tickDecimals'] = 0; }