DYNAMIC HEIGHT

14 views
Skip to first unread message

Luis Castillo

unread,
Apr 1, 2019, 10:46:27 AM4/1/19
to Google Visualization API
Hi everyone, Im new using Google Chart API.

I'm using the simplest bar chart, I fill it when I fetch the data from a personal api. So, the problem is that, google gives me a default height for the google chart. So, when i push the fetched data into into the chartData, and the chart is rendered, 10 bars are rendered in like, 200px height, so, I get something like:

chart.png

I want to make the height dynamic, I mean, like it gets smaller whenever i put more data into the chartData. So what I want is to change height of the chart dynamic, so, what happen in the image wont happen.


Reply all
Reply to author
Forward
0 new messages