Hello,
I have been trying to resize charts using the height prop and also using the style prop but I haven't been able to succeed. Can someone help me out?
Reisze Charts
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
PrimeReact Chart component uses a third party API which name is Chartjs; http://www.chartjs.org
I think you can use responsive option of Chartjs; http://www.chartjs.org/docs/latest/gene ... nsive.html
<Chart options={{'responsive': true}} ... />
I think you can use responsive option of Chartjs; http://www.chartjs.org/docs/latest/gene ... nsive.html
<Chart options={{'responsive': true}} ... />
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests