jQuery UI Widgets › Forums › Chart › Can I color the area between two lines?
Tagged: chart color, charting
This topic contains 3 replies, has 2 voices, and was last updated by Peter Stoev 4 years, 5 months ago.
I have three lines on my chart. One is the line for reliability. One is the line for 95% upper bound confidence, and one is the line for 95% lower bound confidence. I’d like to color just the area between these lines, like in this picture:
I’ve tried stackedarea and some other options but it does not look like this is possible. Is there any way to do it?
There is no built-in rendering for your requirement. You can try with custom rendering functions, if you would like. Here is a demo: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxchart/custom_drawing.htm?arctic which demonstrates how to use jqxChart’s API for custom rendering.
Thank you for the response. Can I submit an enhancement request for this? Might it be included in a future release?
Actually, I was wrong in my previous post. There is something already implemented: https://www.jseditor.io/?key=chart-with-range-area-and-line
You must be logged in to reply to this topic.