Hi all,
I have tried to use the samples shown in this post ( https://www.telerik.com/forums/determine-column-series-color ) but cannot get it to apply for a pie chart. I have several dark & light coloured pie segments (eg: black & yellow) and cannot set a single colour across the board.
My current function looks like this:
function Chart1SeriesHover(e) {
setTimeout(function () {
switch (e.category) {
case'Not Done':
$telerik.$('.k-tooltip')[0].style.color = "white"; //black pie segment
break;
default:
break;
}
}, 10);
}
but I keep getting the following error in DevTools:
Uncaught TypeError: Cannot read properties of undefined (reading 'style')
Any help would be greatly appreciated.