This is a migrated thread and some comments may be shown as answers.

Chart - Label visuals add onclick function call inside visuals

1 Answer 343 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 27 Apr 2019, 04:28 PM

How to add onclick to inside visual HTML content? https://docs.telerik.com/kendo-ui/controls/charts/how-to/various/html-in-axes-labels

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 30 Apr 2019, 10:05 AM
Hi Michael,

The HTML content is transform to SVG element when it is rendered within the Chart, but if you want to handle the "click" event of the labels, you could use the "axisLabelClick" event:
In the following section from our documentation you could see all other click events that the Chart supports (note that they will be fired for custom visuals as well):

Regards,
Konstantin Dikov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Charts
Asked by
Michael
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or