Failed to create chart: can’t acquire context from the given item chartObjs[i] = new Chart(“chart-box-“+i, v); 原因:chartjs只能获取canvas,如果是div就会报错 文章导航 Error: Canvas is already in use. Chart with ID ‘0’ must be destroyed before the canvas with ID ‘chart-0’ can be reused. chartjs bar柱状图,上下撑开容器