PointLineSeries: Draw clipped lines in visible area

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Queue Moderators

Post Reply
frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

PointLineSeries: Draw clipped lines in visible area

Post by frank » Mon Nov 09, 2015 10:39 am

Hi,

is there an easy way in LightningChart, to draw an over-/ undershoot of the visible area to the visible top/bottom of this area?
Attachments
DrawClippedSeries.png
DrawClippedSeries.png (5.98 KiB) Viewed 9271 times

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

Re: PointLineSeries: Draw clipped lines in visible area

Post by ArctionPasi » Mon Nov 09, 2015 7:39 pm

I think you could go through your data by code, analyze which parts are outside valid Y range and use LineCollections to show the overshoot/undershoot regions.
LightningChart Support Team, PT

frank
Posts: 51
Joined: Tue Mar 25, 2014 9:04 am

Re: PointLineSeries: Draw clipped lines in visible area

Post by frank » Tue Nov 10, 2015 7:53 am

Hi Pasi,

thanks for fast reply. That was also one of my ideas. But with 18 Million Points in my Series this takes up some time. So I was hoping there was an inbuild method I could use.
I'll try LineCollections.

Best regards,
Frank

Post Reply