Update dgraph.js
This commit is contained in:
parent
c129b53b13
commit
c290e3f913
|
@ -61,7 +61,7 @@ angular
|
||||||
},
|
},
|
||||||
yaxis: {
|
yaxis: {
|
||||||
position: "right",
|
position: "right",
|
||||||
ticks: function(axis) {
|
ticks: function(axis) {
|
||||||
var res = [0];
|
var res = [0];
|
||||||
var round = Math.max(1, Math.ceil(axis.max / yTickBase));
|
var round = Math.max(1, Math.ceil(axis.max / yTickBase));
|
||||||
var step = Math.max(1, Math.ceil(round / yTicks));
|
var step = Math.max(1, Math.ceil(round / yTicks));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user