Can I bind the graph highlight feature to a button click?

1 Answer 5 Views
Charts
Tyler
Top achievements
Rank 1
Tyler asked on 16 Nov 2021, 01:53 PM | edited on 16 Nov 2021, 02:04 PM
I have an application that displays a donut graph with 3 sections. My goal is to highlight the proper section of the graph when the correlated button is clicked. Attached is a relevant image. If the user clicks the 'No Issue' button below, I would like the green portion of the graph to be highlighted. I'd like similar functionality for the other buttons as well. Is this possible? I've perused the docs and have come across various highlighting information, but nothing related to "turning on the highlight" on button click. 

1 Answer, 1 is accepted

Sort by
0
Georgi Denchev
Telerik team
answered on 19 Nov 2021, 10:44 AM

Hello, Tyler,

Yes, you can use the toggleHighlight method which allows you to programmatically highlight a category from the Donut chart.

Dojo example:

https://dojo.telerik.com/@gdenchev/opipeNAr 

Let me know if you have any questions.

Best Regards,
Georgi Denchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Charts
Asked by
Tyler
Top achievements
Rank 1
Answers by
Georgi Denchev
Telerik team
Share this question
or