I\'m working on building a simple line chart using Chart.js (the 2.0.2 beta) and I\'d like to highlight a particular range of the chart\'s background to highlight an \"accep
this code will be helpful
var bgdata = {
datasets: [
{
label: "Average Hourly Blood Glucose Reading",
fill: false,
data: [
{
"y": 213,
"x": 0,
"backgroundColor": "rgba(29, 9, 158,0.2)",
"label":"12:00 AM"
},
{
"y": 199,
"x": 1,
"backgroundColor": "rgba(29, 9, 158,0.4)",
"label":"1:00 AM"
},
{
"y": 208,
"x": 2,
"backgroundColor": "rgba(29, 9, 158,0.6)",
"label":"2:00 AM"
}
]
}
]
};