It isn't supported, but you can sort-of work around it, if conditions are 
right: given series A and B, if B should be behind A, then you can make this 
work.  Fill in your dataTable object, but set series B values = B-A, set the 
formatted values for series B to the (string) value of B, and draw the chart 
as a stacked chart.  Ex:

function drawChart() {
   var data = new google.visualization.DataTable();
   data.addColumn("string", "Foobar");
   data.addColumn("number", "A");
   data.addColumn("number", "B");
   data.addRows([
      ["foo", 5, {v: 1, f: '6'}],
      ["bar", 6, {v: 3, f: '9'}],
      ["baz", 5, {v: 2, f: '7'}]
   ]);

   var chart = new 
google.visualization.BarChart(document.getElementById("chart"));
   chart.draw(data, {
      width:600,
      height:400,
      isStacked: true
   });
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/VsuWwZdD-3gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to