Line Chart responsive option


Topic: Line Chart responsive option

ozgehan asked a week ago

Hello, When I am using line chart. But it won't be responsive. Is there any solution of that?How can I fixed this problem?


Hello,

To make chart responsive just set responsive key to true inside lineChartOptions. Also, remember to remove :width and :height properties from the element and make the wrapper element responsive via css/scss.

Best regards


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Vue
  • MDB Version: 6.7.1
  • Device: Computer
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No