How do I format data being shown on a kendo ui bar chart?
I need some money values to be shown for example as "£5k" rather than "£5000".
valueAxis: {
labels: {
format: "£{0}K"
},
title: {
text: "Cover note premium"
}
},
I don't know how to divide the value being put into this graph.
Finally found out how to divide a number on a label.
xAxis: {
min: 8,
max: 18,
title: {
text: "Hour of day"
},
labels: {
template: "#= kendo.format('{0}',value/60) #"
}
},