Getting clicked-on chart element

3 posts, 0 answers
  1. Andrew
    Andrew avatar
    2 posts
    Member since:
    Feb 2012

    Posted 27 Mar 2012 Link to this post

    Hi there,

    Your chart documentation refers to the ability to get the DOM element associated with the series element just clicked on in the seriesClick event. However, in the example of a bar chart, it seems that the element you get is the SVG highlight element rather than the underlying bar element. I want to be able to change the style of the selected bar in the master chart in a master/detail chart scenario so is there any other way of accessing the actual bar element?

    Cheers, Andrew.  
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 28 Mar 2012 Link to this post

    Hello Andrew,


    Currently it is not possible to modify a particular bar element in Kendo UI Charts and there is no suitable workaround. I've escalated this issue to our Dev team and we will definitely discuss its implementation for a future version of the widget.


    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Chris
    Chris avatar
    6 posts
    Member since:
    Jul 2010

    Posted 30 May 2012 Link to this post

    I too would be interested in this functionality.  I've managed to make it work on the pie chart using the "explode" property to separate the selected pie slice from the rest of the chart.
Back to Top