I am currently using a chartjs graph for angularjs and I am looking to customize the colors of points on the line graph based on different data ranges. Can anyone help me with changing the fillColor property?
function drawChart(placeholder, values1, labels1) {
var plot = $.plot(placeholder,
[{
data: values1,
label: label1,
lines: {
show: true,
lineWidth: 2,
fill: true,
},
points: {
show: true,
lineWidth: 3,
fill: true,
fillColor: '#fafafa'
}
},
});