The 'bar' package provides a Material Bar Chart, not a classic one. That's why it supports it.
On Friday, September 18, 2015 at 12:19:09 PM UTC-4, madebyhisto wrote: > > The classic "bar" chart support it, the combo chart also but the problem > is the combo chart doesn't step aside the other targetAxis like it done in > "bar" chart so one workaround would be : "how to move or change width for > serie of one axis ?" > > On Friday, September 18, 2015 at 12:00:36 PM UTC-4, Sergey Grabkovsky > wrote: >> >> Hi, >> >> The older Classic Charts (loaded via the 'corechart' package) don't >> support displaying multiple stacks of data. Only our newer Material Charts >> support this functionality (but they don't yet support combo charts). >> >> On Fri, Sep 18, 2015 at 11:53 AM madebyhisto <madeb...@gmail.com> wrote: >> >>> Hi, >>> >>> First of all, i want to excuse myself for my bad English. >>> >>> I want a report who have 2 columns with stacked independently and some >>> line in the same chart. I try the option "targetAxisIndex" in the serie. >>> The proble is the 2 stacks appeared one behind the other. Is there a way to >>> move the second stack or to change de width of the colum on only one serie ? >>> >>> >>> Here an example of my code : >>> >>> <html> >>> <head> >>> <script type="text/javascript" src=" >>> https://www.google.com/jsapi?autoload={'modules':[{'name':'visualization >>> ','version':'1.1','packages':['corechart']}]}"></script> >>> <script> >>> google.setOnLoadCallback(drawVisualization); >>> >>> function drawVisualization() { >>> // Some raw data (not necessarily accurate) >>> var data = google.visualization.arrayToDataTable([ >>> ['Month', 'Bolivia', 'Ecuador', 'Madagascar', 'Papua New >>> Guinea', 'Rwanda', 'Average'], >>> ['2004/05', 165, 938, 522, 998, >>> 450, 614.6], >>> ['2005/06', 135, 1120, 599, 1268, >>> 288, 682], >>> ['2006/07', 157, 1167, 587, 807, >>> 397, 623], >>> ['2007/08', 139, 1110, 615, 968, >>> 215, 609.4], >>> ['2008/09', 136, 691, 629, 1026, >>> 366, 569.6] >>> ]); >>> >>> var options = { >>> title : 'Monthly Coffee Production by Country', >>> isStacked : true, >>> vAxis: {}, >>> hAxis: {title: 'Month'}, >>> seriesType: 'bars', >>> series: { >>> 3: { targetAxisIndex: 1 }, >>> 4: { targetAxisIndex: 1 }, >>> 5: {type: 'line'}} >>> }; >>> >>> var chart = new >>> google.visualization.ComboChart(document.getElementById('chart_div')); >>> chart.draw(data, options); >>> } >>> </script> >>> </head> >>> <body> >>> <div id="chart_div" style="width: 900px; height: 500px;"></div> >>> </body> >>> </html> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Chart API" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to google-chart-a...@googlegroups.com. >>> To post to this group, send email to google-c...@googlegroups.com. >>> Visit this group at http://groups.google.com/group/google-chart-api. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-chart-api+unsubscr...@googlegroups.com. To post to this group, send email to google-chart-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-chart-api. For more options, visit https://groups.google.com/d/optout.