new Chart這個方法是chart.js寫好的,不是js原生的語法,如果你沒有引入CDN就會無法使用! let chart = new Chart(要放在哪個容器, { type: 'pie', //圖表 ...
確定! 回上一頁