The problem is that you are still wrapping the data in an extra array 
(highlighted in orange):

var data22 = google.visualization.arrayToDataTable([
[['date', 'pet 2l', 'pet 1,5', 'pet 1l', 'pet 50cl', 'pet 33cl', 'can 
33cl', 'can 25cl', 'Rb 25cl', 'Rb 35cl']], 
[
['2013-04-01',2352,235,23523,3523,235,235,23,235,235],['2013-06-02',23525,252,2352,235,23523,2352,2352,2352,23],['2013-07-01',0,0,0,0,0,0,0,0,0],['2013-08-06',345,343,34,4543,435,3453,345,345,435],['2013-09-01',100,4,6,33,11,36,37,38,16]
]
 ]);

should be:

var data22 = google.visualization.arrayToDataTable([ 
['date', 'pet 2l', 'pet 1,5', 'pet 1l', 'pet 50cl', 'pet 33cl', 'can 33cl', 
'can 25cl', 'Rb 25cl', 'Rb 35cl'], 
['2013-04-01',2352,235,23523,3523,235,235,23,235,235],['2013-06-02',23525,252,2352,235,23523,2352,2352,2352,23],['2013-07-01',0,0,0,0,0,0,0,0,0],['2013-08-06',345,343,34,4543,435,3453,345,345,435],['2013-09-01',100,4,6,33,11,36,37,38,16]
 ]); 



On Tuesday, September 10, 2013 7:09:00 PM UTC-4, fekri elfarhani wrote:
>
> thank you for your remarks  , this is the output now , but still no chart 
>>> on screen .!
>>>
>>
> var data22 = google.visualization.arrayToDataTable([ 
> [['date', 'pet 2l', 'pet 1,5', 'pet 1l', 'pet 50cl', 'pet 33cl', 'can 
> 33cl', 'can 25cl', 'Rb 25cl', 'Rb 35cl']], 
> [['2013-04-01',2352,235,23523,3523,235,235,23,235,235],['2013-06-02',23525,252,2352,235,23523,2352,2352,2352,23],['2013-07-01',0,0,0,0,0,0,0,0,0],['2013-08-06',345,343,34,4543,435,3453,345,345,435],['2013-09-01',100,4,6,33,11,36,37,38,16]]
>  
>
>  ]); 
>  
>

-- 
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.

Reply via email to