Chartjs Line Color Between Two Points
问题 Is there any way to set line color of specific sections in between two points in chart.js? I would like to color the section 00-07 gray, 07-15 red, and 15-23 blue. Here is what I am passing as the data attribute in the options object to initialize the chart: var chartData = { labels: [/* a single dimensional array of strings */], datasets: [ { label: '', data: [/* a single dimensional array of totals */], fill: false, backgroundColor: '#e7eaeb', borderColor: red } ] }; I think this is where I