Cursor trackpoints displaying innacurately

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Cursor trackpoints displaying innacurately

Post by greggorob64 » Wed Nov 09, 2016 9:30 pm

Hello, its been almost two weeks since i bothered you guys!

I have a chart with ~150 thousand points on it. I have a single axis visible, a single cursor, with 'tracking enabled'. I set the cursor value to be at the 'peak' of the plateau shown in the image. I have two images: one zoomed out, one zoomed in.

When I'm zoomed out, the tracking point is just not accurate. You can see in the 'zoomed out' image, the tracking point is much, much lower. Once zoomed in, its showing the correct spot.

Is there anythign I can do to put the trackpoint at the right spot? Is it because of cursor width? Is there some 'value solving' method I can modify to get the right point?

Thanks!

Image
Image

ArctionKestutis
Posts: 552
Joined: Mon Mar 14, 2016 9:22 am

Re: Cursor trackpoints displaying innacurately

Post by ArctionKestutis » Thu Nov 10, 2016 2:29 pm

Hello,

Glad to see you still active :D
If you set cursors' property

Code: Select all

SnapToPoint=true
the tracking point should be aligned to nearest value. Otherwise, there is possibility of rounding error, because of conversion to screen coordinates (type int).
If you think that there are other problems, please send application for testing to Arction's support.

All the best.

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

Re: Cursor trackpoints displaying innacurately

Post by greggorob64 » Fri Nov 11, 2016 7:16 pm

SnapToPoints=true doesn't help.
LineStyle.Width = 1 doesn't help

I'll work on an example and ship it your way.

Thanks.

Post Reply