谁能告诉我如何去除折线图后面的阴影,如下图所示?
Image with the shadow 在此先感谢:)
答案 0 :(得分:0)
您可以通过两种方式进行操作:
var options = {
elements: {
line: {
tension: 0
}
}
};
lineTension
设置为0。var chartData = {
labels: labels,
datasets: [{
label: "Chart Data",
lineTension: 0,
data: someData,
}]
};