Chart - Label visuals add onclick function call inside visuals

2 posts, 0 answers
  1. Michael
    Michael avatar
    25 posts
    Member since:
    Jun 2015

    Posted 27 Apr Link to this post

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

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2461 posts

    Posted 30 Apr Link to this post

    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.
Back to Top