AreaSeries with negative area

Need a new feature to LightningChart Ultimate? Post it here and perhaps it will be implemented in the next version...

Moderator: Arction_LasseP

Post Reply
jrvdboom
Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

AreaSeries with negative area

Post by jrvdboom » Thu May 21, 2015 10:18 am

I have an AreaSeries where some data points are above the BaseValue, but some data points are below the BaseValue. I expected that a "negative" area would be drawn for those points, but instead a horizontal line at the BaseValue is drawn.

Can you add the functionality to draw negative areas?

Thanks,
Joost

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

Re: AreaSeries with negative area

Post by ArctionPasi » Thu May 21, 2015 12:47 pm

HighLowSeries is intended for the usage you described. Please use that.
LightningChart Support Team, PT

jrvdboom
Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

Re: AreaSeries with negative area

Post by jrvdboom » Thu May 21, 2015 1:03 pm

I knew you were going to say that. I already tried that and it doesn't always work. It works when there's a data point exactly at the base line, like this:
correct.png
correct.png (52.91 KiB) Viewed 8727 times
But it doesn't work when the data points skip the base line:
wrong.png
wrong.png (52.98 KiB) Viewed 8727 times
A true area chart would have drawn a line crossing the base line. So that's why I added this feature request.

Thanks,
Joost

jrvdboom
Posts: 61
Joined: Thu Apr 10, 2014 1:50 pm

Re: AreaSeries with negative area

Post by jrvdboom » Tue May 26, 2015 7:25 am

As a workaround I tried using a PolygonSeries, but it doesn't get filled right when vertices cross each other. So please, can you improve the AreaSeries???

Post Reply