View Full Version : Charts: Fill between two lines

28 Jul 2012, 6:50 PM
Using the Area chart or the "fill" property it is possible to create an area chart that fills to the horizontal axis.

However, is it possible to specify another series as the lower boundary of the fill instead of the horizontal axis. In effect, is is possible to create an area chart where the area is defined by an upper and lower boundary line?

29 Jul 2012, 9:46 PM
Any chance of an illustration of what you are looking for?


30 Jul 2012, 5:58 AM
Something sort of like this.


A fill area specified by an upper and lower bound. The current fill option just fills to an x-axis. It would be nice if you could pass a boundary to the fill config option (in this case the upper and lower lines would need to be styled the same unlike in the picture, which would be fine for my needs).


30 Jul 2012, 6:42 AM
You could probably do this with a 2 area series where the top series was white. In looking at the following example, you can get the idea:

Where the blue is your region and the greed would be white.

You would then need to add the line series to each set of peaks.


30 Jul 2012, 7:13 AM
You're right, that's a good idea.

I'll give that a try.