Presenting a Single Point in a PointLineSeries as as a Line

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

plotter
Posts: 41
Joined: Thu Apr 06, 2017 2:29 am

Presenting a Single Point in a PointLineSeries as as a Line

Post by plotter » Sat Apr 08, 2017 5:05 pm

I have 15 series of data, some have thousands of data points, others have 1 (like alarm limits for instance)
I need to present the 1 point series as a high or low alarm (a plot line that extends from beginning of data to end)
Currently I am detecting 1 point series, then copying it to create a 'beginning' and 'ending' point, to make the series line present properly.
Is there a better way to do this ?, as I am technically contaminating the data by adding to additional points that were not originally there, and it feels like a dirty solution.

Thanks,

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

Re: Presenting a Single Point in a PointLineSeries as as a L

Post by ArctionPasi » Mon Apr 10, 2017 7:02 pm

Hi,

to show horizontal line going from left edge to right edge at specific Y value, simply use a ConstantLine (in ViewXY.ConstantLines).
LightningChart Support Team, PT