No. I accidentally dropped the wrong option. Must be 1, 2, 3, etc.
The line should be on the front rather than the middle.
var data = google.visualization.arrayToDataTable([
['Month', 'Bolivia', 'Rwanda', 'Average'],
['1', 165, 450, 614.6],
['2', 135, 288, 682],
['3', 157, 397, 623],
['4', 139, 215, 609.4],
['5', 136, 366, 569.6]
]);
2013/10/21 Stepan Tkhir <[email protected]>
> No. I accidentally dropped the wrong option. Must be 1, 2, 3, etc.
>
>
> 2013/10/21 asgallant <[email protected]>
>
>> 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
>>> <http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>">
>>> <html xmlns="http://www.w3.org/1999/**xhtml <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
>>> <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.arrayToDa**taTable([
>>>
>>> ['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.ComboChar**t(document.getElementById('**chart_div'));
>>>
>>> chart.draw(data, options);
>>>
>>> }
>>> google.setOnLoadCallback(drawV**isualization);
>>>
>>> </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 a topic in the
>> Google Groups "Google Visualization API" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-visualization-api/V86q7h1vteY/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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.
>>
>
>
--
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.