Thanks Daniel. You help a lot.

The situation was my select... i was ordering the Month in the wrong 
direction.

Thanks again for the fast and detailed response. Have a great day.

On Wednesday, April 9, 2014 4:22:48 PM UTC-3, Daniel LaLiberte wrote:
>
> Actually, you probably want to use the sort() function that is referenced 
> in the doc for getSortedRows().
>
>
> On Wed, Apr 9, 2014 at 3:12 PM, Daniel LaLiberte 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi Patrike<https://plus.sandbox.google.com/u/0/104857543607718706264?prsrc=4>
>>
>> The weird lines across the chart are caused by having your rows out of 
>> order.  Your first 4 rows are:
>>
>>         [new Date(2014, 0), 19, 7],
>>         [new Date(2014, 1), 29, 4],
>>         [new Date(2014, 2), 29, 6],
>>         [new Date(2014, 3), 12, 3],
>>
>> And these dates are later than the rest.  So the line chart actually 
>> starts there (because these are the first rows), and then goes back to the 
>> earlier dates.
>>
>> You can sort the table using the getSortedRows() function on the data 
>> table:
>>
>>  getSortedRows(sortColumns) Array of numbers 
>>
>> Returns a sorted version of the table without modifying the order of the 
>> underlying data. To permanently sort the underlying data, call 
>> sort()<https://developers.google.com/chart/interactive/docs/reference#DataTable_sort>.
>>  
>> You can specify sorting in a number of ways, depending on the type you pass 
>> in to the sortColumns parameter: ...
>> See https://developers.google.com/chart/interactive/docs/reference for 
>> the docs.
>>
>>
>>
>> On Wed, Apr 9, 2014 at 2:50 PM, Khrys <[email protected] <javascript:>>wrote:
>>
>>> Hi Group : )
>>>
>>> I wonder why there is weird lines in my chart:
>>>
>>> http://jsfiddle.net/Khrys/hRpDp/
>>>
>>> Can someone point me out?
>>>
>>> And, is it possible to always show the value?
>>>
>>> Thanks.
>>>
>>> -- 
>>> 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]<javascript:>
>>> .
>>> To post to this group, send email to 
>>> [email protected]<javascript:>
>>> .
>>> Visit this group at 
>>> http://groups.google.com/group/google-visualization-api.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> 
>>  - 978-394-1058
>> [email protected] <javascript:>   5CC, Cambridge MA
>> [email protected] <javascript:> 9 Juniper Ridge Road, Acton MA
>>  
>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> 
>  - 978-394-1058
> [email protected] <javascript:>   5CC, Cambridge MA
> [email protected] <javascript:> 9 Juniper Ridge Road, Acton MA
>  

-- 
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/d/optout.

Reply via email to