Hi Gurpreet,

It appears the string Date() notation is not supported when you read in
data via csv.  At best, you will have to first convert the result of
reading the csv into an Array of Arrays and feed that to
google.visualization.arrayToDataTable() where it will be digested as
expected.

On Mon, Feb 11, 2019 at 5:45 PM gurpreet bajwa <[email protected]>
wrote:

> Hi,
>
> I am reading a csv and trying to plot a calendar graph.
>
> The csv format is as follows,
>
> Date,Count
> 'Date(934875)',38024
>
>
> and the data's options have been set to =>   options['csvColumns'] =
> ['datetime', 'number'];
>
> I have also tried 'timeofday', but even that doesn't work for me.
>
> Please suggest, thank you!
>
> --
> 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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/97ad8c57-54f6-40d8-9704-1b4030591f9a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/97ad8c57-54f6-40d8-9704-1b4030591f9a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   Cambridge 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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMx2AkTEG%3DHq%2Bzary6A9zmT9H2%3D_5sFVcZMdLBOHEjjTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to