Profile Picture

How to Show Cross hair line

Posted By shweta jain Last Year
Author
Message
shweta jain
Question Posted Last Year
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: Last Month
Posts: 16, Visits: 188
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 Last Year
View Quick Profile
Supreme Being

Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)Supreme Being (4,088 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 2,960, Visits: 3,352
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