Hi Guys,

I have this problem with my chart being cut off. My label is not showing 
and the numbering is cut off. 

Does anyone know what the problem can be?

Here is my code: 
google.charts.setOnLoadCallback(Combine_Column1);


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));
      }


<div id="column_combine1" style="padding: 20px;"></div>

P.s my data is coming from a MS SQL Database

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/2faa7cfc-2dce-4e72-bb9a-e5be5e606c6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to