Hiya,
I was trying to get the x&y value of a scatter chart while dragging a point. I was able to get the x&y value using the plotAreaClick event but could not do the same in the drag and also on the dragStart and dragEnd events. Can you show me a way to achieve this?
Best regards,
Ruby
5 Answers, 1 is accepted
Generally speaking, you could get the x / y values of named axes in the drag / dragStart / dragEnd events via the e.axisRange event data. However, there is an issue in the dragEnd event and this information is missing - we have logged it for further investigation and fixing.
Regards,
Iliana Nikolova
Telerik
Hi Iliana,
Thanks for your reply. I was able to see that e.axisRange for both the Horizontal and Vertical Axes (min & max values) but couldn't see the corresponding X & Y values of the point with respect to these axes. How can I achieve this?
Regards,
Byang
I am not quite sure if I understand correctly the current requirement - when panning / zooming all points are moved, not a particular point only (short screencast caputre). Could you please elaborate a bit more?
Regards,
Iliana Nikolova
Telerik
Hi Iliana,
Sure. I was trying to drag a point in a Scatter series. I want to get the X & Y value of that point on dragStart, drag, and dragEnd so I can update the values of my data source based on the returned values of these events.
Please let me know if you want more information.
Regards, Ruby
This scenario is not supported by Kendo UI Chart. As I mentioned, when panning / zooming all points are moved, not a particular point only.
Regards,
Iliana Nikolova
Telerik