I'd like to add another dimension to a Chart.js line chart, similar to the chart below, or this Highcharts example. I'm having difficulty understanding where I'd be able to implement such a feature, given Chart.js' myriad extension options.
Ideally, I'd be able to provide a dataset with a field similar to data
specifying the width of the line at a certain point.
You can create new chart type from the line chart type to do this
Preview
Script
and then
Fiddle - http://jsfiddle.net/u20cfpcd/
Note: There seems to be an intermittent problem with the bands not appearing. Commmenting out
if (!this.rendered && ease !== 1) return
seems to fix this. Thanks @ClaudeBrisson for identifying the problem and solution!