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

Getting clicked-on chart element

2 Answers 112 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 28 Mar 2012, 02:13 AM
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 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 28 Mar 2012, 01:34 PM
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!
0
Chris
Top achievements
Rank 1
answered on 30 May 2012, 11:54 PM
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.
Tags
Charts
Asked by
Andrew
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Chris
Top achievements
Rank 1
Share this question
or