You didn't get rid of all of the extra brackets:

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 Wednesday, September 11, 2013 11:42:30 AM UTC-4, fekri elfarhani wrote:
>
>
> this is now the output 
>
> 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]]
>  
>
>  ]); 
>
> but there's an error message on screen :
>
> Data column(s) for axis #0 cannot be of type stringĂ—
>
>

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