I have this code:
... normen is my json object ....
$.each(normen, function(item) {
chartX.push(this.feed_day)
chartY.push(this.weight)
});
createChart(chartX,chartY)
});
function createChart(chartX,chartY){
var chart = bb.generate({
bindto: "#contentarea",
data: {
columns: columns:[chartX,chartY],
names:{
chartX: 'label for X',
chartY: "label for Y"
}
},
title: {
text: "Blabla"
},
});
}
All I want are some custom labels. How can I achieve that? I tried different options but so far I get 43
and null
as legend labels