Line Chart responsive option


Topic: Line Chart responsive option

ozgehan pro premium asked 4 years 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?


Mikołaj Smoleński staff answered 4 years ago

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.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

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