Chart.js defaults can be set by importing the defaults object: import { defaults } from 'react-chartjs-2'; // Disable animating charts by default.
確定! 回上一頁