I have this problem with my chart being cut off. My label is not showing and the numbering is cut off.
function Combine_Column1() {
var data = google.visualization.arrayToDataTable([
['Month', 'East', 'West'],
<?php
while( $row = sqlsrv_fetch_array($combine1)) {
echo "['".$row["Month"]."', ".$row["East"].", ".$row["West"]."],";
}
?>
]);
var options = {
chart: {
title: '',
},
bars: 'vertical',
vAxis: {format: 'decimal', title: 'Level', viewWindow: {
max:1630,
min:1626
}
},
height: 500,
legend : {position: 'top', maxLines: 2},
colors: ['#00B1EA', '#003863', '#7570b3']
};
var chart = new google.charts.Bar(document.getElementById('column_combine1'));
chart.draw(data, google.charts.Bar.convertOptions(options));
}