In that example, it looks like you are using "2005/06" to indicate a range from 2005-2006, is that true? If so, there is no way to represent that as a continuous axis type.
On Monday, October 21, 2013 1:35:11 AM UTC-4, Stepan Tkhir wrote: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="content-type" content="text/html; charset=utf-8"/> > <title> > Google Visualization API Sample > </title> > <script type="text/javascript" > src="https://www.google.com/jsapi"></script> > <script type="text/javascript"> > google.load('visualization', '1', {packages: ['corechart']}); > </script> > <script type="text/javascript"> > function drawVisualization() { > // Some raw data (not necessarily accurate) > var data = google.visualization.arrayToDataTable([ > ['Month', 'Bolivia', 'Rwanda', 'Average'], > ['2004/05', 165, 450, 614.6], > ['2005/06', 135, 288, 682], > ['2006/07', 157, 397, 623], > ['2007/08', 139, 215, 609.4], > ['2008/09', 136, 366, 569.6] > ]); > > var options = { > title : 'Monthly Coffee Production by Country', > vAxis: {title: "Cups"}, > hAxis: {title: "Month"}, > seriesType: "bars", > series: {2: {type: "line"}} > }; > > var chart = new > google.visualization.ComboChart(document.getElementById('chart_div')); > chart.draw(data, options); > } > google.setOnLoadCallback(drawVisualization); > </script> > </head> > <body> > <div id="chart_div" style="width: 900px; height: 500px;"></div> > </body> > </html> > > How to do it, for example in this code? > > > Понеділок, 21 жовтня 2013 р. 03:55:48 UTC+3 користувач asgallant написав: >> >> Without seeing your ode, I can't be certain, but it seems likely that you >> are using a discrete (string-based) x-axis. If you switch to a continuous >> (number, date, datetime, timeofday) x-axis, that should fix the problem. >> >> On Sunday, October 20, 2013 11:44:40 AM UTC-4, Stepan Tkhir wrote: >>> >>> I have a ComboChart such as the first screenshot >>> >>> >>> <https://lh6.googleusercontent.com/-igmO7XJtYy0/UmP5sOc-HaI/AAAAAAAAANg/LaB-hPlbPo0/s1600/1.jpg> >>> How do I make the line touched the left side of the chart? >>> >>> >>> <https://lh6.googleusercontent.com/-A6ChsL4LVYE/UmP6Rsz8keI/AAAAAAAAANo/Ru9HzyOPQPE/s1600/2.jpg> >>> >>> -- 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 http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
