can anyone tell me how can I remove the shadow behind the line chart as in the image below?
Image with the shadow Thanks in advance :)
You can do it in two ways:
var options = {
elements: {
line: {
tension: 0
}
}
};
lineTension
to 0 in datasets.var chartData = {
labels: labels,
datasets: [{
label: "Chart Data",
lineTension: 0,
data: someData,
}]
};