When the chart width can't hold all the datatable->rows, the chart simply
cuts off. I am trying to make the chart width dynamic based on the row
number. Is there a minimum width for each bar?
Ie
<script>
....
var rows = datatable.getNumberOfRows ();
var factor= 3;
var width = Math.max (800, rows * factor);
...
combo = new google.visualization.ChartWrapper({
'chartType': 'ComboChart',
'containerId': 'chart1',
'options': {
....
width: width,
.....
</script>
how do I decide a good value of "factor"
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.