The code for the attached chart is shown below.....as you can see the 
customer names under the bars do not fit. I added the code for "SlantText" 
and it doesn't seem to work. What am I doing wrong?


function drawVisualization10() {
    var chartdata = {dialog.object}._data;
      
    var data = google.visualization.arrayToDataTable(chartdata);
var options = {
          
          series: {
            0: { axis: 'Price' },
            1: { axis: 'Tons' } 
          },
          
          hAxis: { slantedText:'true', slantedTextAngle:90 },
          
          axes: {
            y: {
              Price: {label: 'Dollars'}, // Left y-axis.
              Tons: {side: 'right', label: 'Tons'} // Right y-axis.
            }
          
          }
        };
        
      var chart = new 
google.charts.Bar(document.getElementById('visualization'));
      chart.draw(data, google.charts.Bar.convertOptions(options));
   
    };
   

-- 
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 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/1f7743ec-c130-4b45-ab35-6df8c3cdd3a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to