Here is a solution that the plugin uses to populate two datasets. Supports all line styles and fills shades between multiple lines. To populate a dataset, use the fillBetweenSet custom parameter to tell the dataset to fill the area between another dataset.
Fiddle - https://jsfiddle.net/ke5n5LnL/26/
Preview:

the code:
<html> <div> <canvas id="demo"></canvas> </div> </html> <script> var fillBetweenLinesPlugin = { afterDatasetsDraw: function (chart) { var ctx = chart.chart.ctx; var xaxis = chart.scales['x-axis-0']; var yaxis = chart.scales['y-axis-0']; var datasets = chart.data.datasets; ctx.save(); for (var d = 0; d < datasets.length; d++) { var dataset = datasets[d]; if (dataset.fillBetweenSet == undefined) { continue; } </script>
Wes
source share