Fuction to return calculated value in object
From getValuePerTick() how do I access maxValue and numberOfTicks?
this.config = {
gutter: {
top: 25,
right: 100,
bottom: 50,
left: 0
},
scale: {
maxValue: 3.3,
numberOfTicks: 10,
getValuePerTick: function() {
return (maxValue / numberOfTicks);
}
}
};
No comments:
Post a Comment