Hi,
can anyone show me how to use a template for the labels in a chart legend in Kendo for MVC? The fluent api allows for controlling font, color, position, etc, but the labels template is nowhere to be found.
Below is a piece of code taken from the DataViz demo, to illustrate what I mean.
Any help is greatly appreciated.
Regards,
Erwin
can anyone show me how to use a template for the labels in a chart legend in Kendo for MVC? The fluent api allows for controlling font, color, position, etc, but the labels template is nowhere to be found.
Below is a piece of code taken from the DataViz demo, to illustrate what I mean.
$(
"#chart"
).kendoChart({
theme: $(document).data(
"kendoSkin"
) ||
"default"
,
title: {
text:
"Break-up of Spain Electricity Production for 2008"
},
legend: {
position:
"bottom"
,
labels: {
template:
"#= text # (#= value #%)"
}
},
Any help is greatly appreciated.
Regards,
Erwin