All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
I used a pie chart and when click different series would call seriesClick event. How to get color of the series I click? The pie color is default and I did not set color for the chart. Thank you.
Hi Yu,
In order to get the series color on seriesClick event in the Kendo UI Pie Chart, check the options value of the Series Point. For example:
public seriesClick(e) { console.log(e.point.options.color); }
In this StackBlitz example, you can get the default series color on seriesClick event in the Pie Chart.
I hope this information helps.
Regards, Hetali Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.