首先你需要下载react-chartjs-2 和chartjs npm install --save react-chartjs-2 chart.js. (使用时只要传入对应的alarms数组即可:下面是API).
確定! 回上一頁