Update dgraph.js

This commit is contained in:
robbielj 2014-03-14 13:52:51 +01:00
parent c129b53b13
commit c290e3f913

View File

@ -61,7 +61,7 @@ angular
},
yaxis: {
position: "right",
ticks: function(axis) {
ticks: function(axis) {
var res = [0];
var round = Math.max(1, Math.ceil(axis.max / yTickBase));
var step = Math.max(1, Math.ceil(round / yTicks));