Cursor SnapToPoints by different sampled series

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
Igor
Posts: 67
Joined: Mon Sep 28, 2015 1:14 pm

Cursor SnapToPoints by different sampled series

Post by Igor » Mon Feb 29, 2016 11:16 am

Hi there,

in my example I have two PointLineSeries. The green series is sampled with 100Hz and the red series with 10Hz.
The added cursor can now only snap into the red series with lower sampling frequency.

Is it possible to change this behaviour so that the cursor can snap into the points of both series?
The cursor property "SnapToPoints" is set to "true".

thank you very much
Igor
Cursor_Snap_1.png
Cursor_Snap_1.png (16.06 KiB) Viewed 4633 times
=> Move cursor => Snap into next datapoint on red lineSeries
Cursor_Snap_2.png
Cursor_Snap_2.png (16.14 KiB) Viewed 4633 times

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

Re: Cursor SnapToPoints by different sampled series

Post by ArctionPasi » Mon Feb 29, 2016 4:07 pm

The snapping feature is intended to be used with one series only, or series with similar X values. There was some changes though in the latest assembly packs. By quickly experimenting with it 6.5.7, it snaps to several series too. LineSeriesCursor Style should be set to VerticalNoTracking, otherwise the nearest data point tracking behavior is not very nice. (Please don't ask us to change that :roll: because it's been under rework so many times already and every different approach has its side effects).
LightningChart Support Team, PT

Post Reply