最佳答案
所以解决方案是定义这个选项集:
{
bezierCurve:false, //remove curves from your plot
scaleShowLabels : false, //remove labels
tooltipEvents:[], //remove trigger from tooltips so they will'nt be show
pointDot : false, //remove the points markers
scaleShowGridLines: true //set to false to remove the grids background
}
& 定义图表的高度和宽度:)
关于chart.js - 有没有办法用 Chart.js 创建 "mini"(非常小的图表)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28530535/