How can I shade a region between two lines in flot?

Posted by Oren on Stack Overflow See other posts from Stack Overflow or by Oren
Published on 2010-06-01T20:57:25Z Indexed on 2010/06/01 21:04 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I have had a lot of success creating graphs with Flot. However, I can not seem to figure out how one would go about shading in a region between two lines using the library. My goal is to be able to create shaded regions as illustrated below:

Graph1 Graph2

I found this plugin, but it appears that it can only shade a range of values of a line, as demonstrated here.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript