Fill the space under a line with a color

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

Lomp wrote at 2013-11-13 13:54:

I would like to know if it is feasible to fill the space between a line and the X axis with a color with a LineSerie.
Here is an example:
Image

Thank you.

objo wrote at 2013-11-13 14:26:

Use an AreaSeries

Lomp wrote at 2013-11-13 14:35:

Yes, I just realized that I can do that by setting the second line with 0 values for the y axis. I was trying to find a way to do it with LineSeries only, sorry to not have look into it more deeply.

My problem is that I have markers on the second line by doing that. Is it possible to hide them on the second line?

EDIT: Ok, I've been too quick to post again. For those looking at this topic, you can find the solution here.