google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.8k stars 1.2k forks source link

adaptability of charts on different screens #613

Open kalkabekov opened 3 years ago

kalkabekov commented 3 years ago

Hi, i'm using this chart, in js script i have these parameters:

options: {      responsive: true,
      maintainAspectRatio: true,

in html:

<div class="card-body" style="height: 100%; width: 100%;">          <canvas id="barChart"></canvas><br>
          <canvas id="barChart2"></canvas><br>

If you look at the iPad screen, the graphs stand up straight, and already on the computer the graph is too large. How to solve? (Already changed the values in different situations from true to false, played with the given sizes) on Ipad: image on computer: image

Damilare-alesh99 commented 3 years ago

I am having same issue please did you find a solution