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

Hover , click , right click data point

5 Answers 82 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sagi
Top achievements
Rank 1
Sagi asked on 16 Oct 2013, 06:07 PM
Hi ,
What is the best way to detect data point Hover , click , right click events ?
I want to be able not only to bind to the series event but to the data points themselves

thx
Sagi

5 Answers, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 17 Oct 2013, 11:54 AM
Hello Sagi,

I already replied to the same question in your other thread, however I am pasting my reply here too:

Basically you could use the Chart events (seriesHover / seriesClick) and reach the point itself through the event arguments.  

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Sagi
Top achievements
Rank 1
answered on 17 Oct 2013, 01:13 PM
Can you post a short sample ?
0
Iliana Nikolova
Telerik team
answered on 17 Oct 2013, 04:00 PM
Hello Sagi,

Please take a look at this simple jsBin example where I used chart seriesClick event to illustrate the described functionality. 

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Sagi
Top achievements
Rank 1
answered on 17 Oct 2013, 06:15 PM
What I need is to detect a data point click (and right click)
Lets say I have a line series,
I would like to present a message only if the user clicks (or right click( the point.
If the user click other parts of the line, no message should be shown
thx
Sagu
0
Iliana Nikolova
Telerik team
answered on 21 Oct 2013, 08:39 AM
Hello Sagi,

If I understand correctly you would like to get a message when a series.marker is clicked? I am afraid this is not supported as there is no a chart event which fires in this case. If you wish you could submit this idea as a feature request at Kendo UI UserVoice portal - this way the community would be able to evaluate it and if the suggestion gains popularity we will consider its implementation for future releases.  

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Sagi
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Sagi
Top achievements
Rank 1
Share this question
or