Dinamically resize charts (responsive)

Hi! 
Is there a way to dinamically resize Charts in Blazor? 
I'd like to set a maximum width for the chart and if the browser window becomes smaller, the chart should responsively resize.
Thanks for the answer.

3 Replies

SM Srihari Muthukaruppan Syncfusion Team January 6, 2021 06:01 PM UTC

Hi Kristóf, 
 
We have analyzed your query. Unfortunately, we are unable to reproduce the reported scenario. We have also attached the sample used for testing for your reference. Please find the sample below. We also suspect that the reported scenario might occur due to old .NET version. Hence we suggest you to upgrade the .NET to .NET5 version.  
 
 
Screenshot: 
 
 
If you still face this issue. kindly revert us with the following information which will be more helpful for further analysis and provide you the solution sooner.  
  
  1. Try to reproduce the reported scenario in the provided sample.  
 
Regards,   
Srihari 



KR Kristof January 6, 2021 07:06 PM UTC

Thanks for the answer. I found out that setting the width to "100%" is not working, however it's not needed too. Leaving the Width property empty automatically adjusts the chart to the parent container width.

Thanks for the sample.


SM Srihari Muthukaruppan Syncfusion Team January 7, 2021 12:07 PM UTC

Hi Kristóf, 
 
Most welcome. Kindly get in touch with us, if you requires further assistance. We are always happy in assisting you.   
   
Thanks,   
Srihari M 


Loader.
Up arrow icon