I am using telerik chart for silverlight. I created a custom grid line which should move as we move the mouse. Hence, I calculate the x intercept based on the x coordinate of the mouse. when I do it, there is always a gap between the cursor and the line. how do we solve this issue.
3 Answers, 1 is accepted
answered on 09 Jan 2012, 04:34 PM
You may use the approach shown in this help topic to achieve your scenario.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Then I move the grid line using the following code. I am not sure how to convert the position X to a date value. I cannot use TOaDate() as it gives some wrong date. if I use position.x -67 then I get somewhat close coordinates for the cursor but not exact. How do you solve this.