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

Is it possible to subscribe to crosshair tracking event?

2 Answers 60 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 06 Nov 2015, 08:29 PM

We have a chart that display some metric over the time category axis. We want to correlate the metric data with another widget on the page. For this we need to be able to receive the current position of the crosshair on the time category axis. So the question is - is it possible to subscribe to the crosshair tracking (or some other event) to receive the datetime value from the time category axis when position of crosshair has changed.

Also, when we use time category axis (Date values) and set the baseUnit: "seconds" then chart still shows and plots values only on minute marks. Is there a way to make it more granular (actual seconds) over the datetime axis?

2 Answers, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 10 Nov 2015, 07:56 PM
We figured out the second part of the question, related to the scale of the category axis. But we still have not found a solution for tracking crosshair...
0
T. Tsonev
Telerik team
answered on 11 Nov 2015, 09:19 AM
Hello,

Sorry for the delay.

I couldn't think of anything better than hacking the tooltip template, but what's really needed here is a plotAreaHover event.
Should work in a similar manner to the current plotAreaClick event.

I've added it to our to-do list for the Q1 2016 release that is due in January.

I hope this helps.

Regards,
T. Tsonev
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
Peter
Top achievements
Rank 1
Answers by
Peter
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or