Hi,
I see that snap mode has three options; None, AllClosePoints, ClosestPoint. However I was wondering if it is possible to snap to a given series only? For example series 1 has 300 data points but series 2 only has 100 (both can be plotted on the same chart). I would like the TrackBallInfo to only snap to data points in series 2 (but show data for 1 and 2)
Thanks for your help!
I see that snap mode has three options; None, AllClosePoints, ClosestPoint. However I was wondering if it is possible to snap to a given series only? For example series 1 has 300 data points but series 2 only has 100 (both can be plotted on the same chart). I would like the TrackBallInfo to only snap to data points in series 2 (but show data for 1 and 2)
Thanks for your help!
4 Answers, 1 is accepted
0
Hi James,
You should be able to achieve this by utilizing the TrackBallInfoChanged event of the behavior. You can remove the unneeded DataPointInfos from the context (check the event args).
Regards,
Petar Marchev
Telerik
You should be able to achieve this by utilizing the TrackBallInfoChanged event of the behavior. You can remove the unneeded DataPointInfos from the context (check the event args).
Regards,
Petar Marchev
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
James
Top achievements
Rank 1
answered on 17 Jul 2014, 10:10 AM
Hi Petar,
Thanks for your reply, although I'm not sure I was clear enough in my first post. I know how to prevent data from displaying on the TrackBallInfo. What I'm trying to achieve is preventing the "candle stick" from snapping to a given series.
For example series A has 100 points and series B only has 50. I want to TrackBallInfo to only snap to series B.
Thanks,
James
Thanks for your reply, although I'm not sure I was clear enough in my first post. I know how to prevent data from displaying on the TrackBallInfo. What I'm trying to achieve is preventing the "candle stick" from snapping to a given series.
For example series A has 100 points and series B only has 50. I want to TrackBallInfo to only snap to series B.
Thanks,
James
0
Hello James,
Are you perhaps talking about a bug in the control (logged and described here) - the line is snapped to a point that was actually removed from the datapointinfos? If this is the case, you can vote for the bug and track its status. Let us know if this is what you mean and if you have any other questions.
Regards,
Petar Marchev
Telerik
Are you perhaps talking about a bug in the control (logged and described here) - the line is snapped to a point that was actually removed from the datapointinfos? If this is the case, you can vote for the bug and track its status. Let us know if this is what you mean and if you have any other questions.
Regards,
Petar Marchev
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
James
Top achievements
Rank 1
answered on 17 Jul 2014, 04:27 PM
Yep that's it! Argh and my subscription has just run out so I'll never get the fix!
Thanks anyway
Thanks anyway