In order for Chart.js to obey the custom size you need to set maintainAspectRatio to false. <Bar data={data} width={100} height={50} ...
確定! 回上一頁