Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to set Aspect Ratio that chart will follow when resizing? #367

Open
Depact opened this issue Jul 13, 2022 · 0 comments
Open

Comments

@Depact
Copy link

Depact commented Jul 13, 2022

Example of layout I'm trying of achieve:

What I have now, with default settings:

Next row is invisible due to height of first. So I'm looking way to set aspect ratio, so charts will follow it when page resized, not taking way too much height, and different aspect ratio of charts for mobile view.

Like chart.js have it:
https://www.chartjs.org/docs/latest/configuration/responsive.html

options: {          
   aspectRatio: 0.5, 
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant