How to Show Cross hair line


Author
Message
shweta jain
shweta jain
Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)
Group: Forum Members
Posts: 16, Visits: 192
Hello,

I want to show cross hair line with label on mouse move.
for this  I have used Axis cursor like attached image. but How can I show axis position on it.
questions -
 - How can I show axis position on axis cursor line?
- How can I change color of axis cursor line ?
- Is Nevron chart support finger touch interactivity?
- How can I show cursor line on axis according to finger move/tab?

Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Shweta,

- How can I show axis position on axis cursor line?
Currently, this is not supported.

- How can I change color of axis cursor line ?
cursor.StrokeStyle.Color = Color.Red;

- Is Nevron chart support finger touch interactivity?
No, the control does not currently support touch events.

- How can I show cursor line on axis according to finger move/tab?
You need to intercept the touch event and then set the value of the cursor in response to that. You can convert from view to chart coordinates using the following code:

NViewToScale2DTransformation transform = new NViewToScale2DTransformation(chart, (int)StandardAxis.PrimaryX, (int)StandardAxis.PrimaryY);

NVector3DF scaleCoordinates = NVector3DF.Zero;
transform.Transform(pointInViewSpace, ref scaleCoordinates);

We hope this helps - let us know if you have any questions.



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search