Profile Picture

How to Show Cross hair line

Posted By shweta jain 4 Years Ago
Author
Message
shweta jain
Question Posted 4 Years Ago
View Quick Profile
Junior Member

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
Last Active: 3 Years Ago
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
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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





Similar Topics


Reading This Topic