Hi,
I´ve a pie chart with two data,
I need just one of the data labels in the center of the chart,
I´m trying to using the visual property with kendo.drawing.Text
labels: {
visual:
function
(e)
{
var
x = 0;
var
y = 0;
return
new
kendo.drawing.Text(
"65.99 %"
, [x, y], { font:
"4em 'Open Sans', sans-serif"
, fill: { color:
"red"
} });
}
}
but I don´t know how I can calculate the center of the char, because I need the size of the main div.
Thanks,
Jose