Mouse coordinates to calculate the x axis values

Not familiar with licensing? Need help in installing LightningChart Ultimate SDK? User's manual is missing? Post general questions here.

Moderator: Arction_LasseP

Post Reply
clamp1981
Posts: 4
Joined: Thu Mar 06, 2014 5:05 am

Mouse coordinates to calculate the x axis values

Post by clamp1981 » Fri May 09, 2014 6:20 am

Hi,

Part of the question, leaving the questions.
Mouse coordinates to calculate the value of the x axis I would like to
Real time graphs and can update data.
ViewXY of the Active View.

I also sample and the reference method?

User avatar
ArctionPasi
Posts: 1362
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Mouse coordinates to calculate the x axis values

Post by ArctionPasi » Fri May 09, 2014 10:46 am

Hi,

You can use axis.CoordToValue to convert screen coordinate (mouse coordinate) to axis value.

And axis.ValueToCoord to convert from axis value to screen coordinate.

This applies both X and Y axes.
LightningChart Support Team, PT

Post Reply