-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
I like this library very much. But in my testing with react-chartjs-2@1.3.0 and chart.js@2.3.0, the width and height do not work for me.
I set them as 300 and 200 respectively, the result was that the pie and Doughnut occupied the whole width of the page. I wonder whether something is wrong with my code or anything else in this library. Any response will be appreciated.
my code is:
<Pie
data={this.phyiscalMemory}
width={300}
height={200}
options={{
maintainAspectRatio: false
}}
/>
Metadata
Metadata
Assignees
Labels
No labels