Page 1 of 1

AreaSeries with negative area

Posted: Thu May 21, 2015 10:18 am
by jrvdboom
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

Re: AreaSeries with negative area

Posted: Thu May 21, 2015 12:47 pm
by ArctionPasi
HighLowSeries is intended for the usage you described. Please use that.

Re: AreaSeries with negative area

Posted: Thu May 21, 2015 1:03 pm
by jrvdboom
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 19524 times
But it doesn't work when the data points skip the base line:
wrong.png
wrong.png (52.98 KiB) Viewed 19524 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

Re: AreaSeries with negative area

Posted: Tue May 26, 2015 7:25 am
by jrvdboom
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???