Having this code snippet in Billboard.js:
var chart = bb.generate({
data: {
columns: [
["data1", 30, 200, 100, 400, 150, 250],
["data2", 130, 100, 140, 200, 150, 50]
],
type: "spline"
},
bindto: "#SplineChart"
});
it will generate this chart:
As it can be seen, the Y axis has in this case the minimum value of 0 and the maximum of 400(or somewhere there).
Is there a way to get that value and store it into a variable?