Timeline Error: a.Cf is null

21 views
Skip to first unread message

Mathias

unread,
Jan 26, 2016, 9:20:26 AM1/26/16
to Google Visualization API
hey,
i have tested the timeline for while now and stumbled over an error...
there have to be a maximum amount of entries in one group if the range of the x-axis is kind of big.
see here:
http://jsfiddle.net/AMGD5/6/

if you change the "PERHOUR" to a value of 2 it shows the timeline...
with a value of 3 it crashes...

but it would work with a little change of the "extra row":
with dates like "new Date(2016,0,26,2,0,0,0), new Date(2016,0,26,13,0,0,0)]);" it even works with higher "PERHOUR" values.

change the 13 to 14 it gives you again the error: "a.Cf is null"  -> "new Date(2016,0,26,2,0,0,0), new Date(2016,0,26,14,0,0,0)]);"

is there an explanation or solution to this error ?


best regards,
mathias

Sergey Grabkovsky

unread,
Jan 26, 2016, 9:49:47 AM1/26/16
to Google Visualization API
Hi Mathias,

The issue is that you are giving null values for the text. Here is a version that works (that also uses the latest release): http://jsfiddle.net/tukLpo47/

--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
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/5ec99114-6559-440c-aa15-086d4673409f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


Mathias

unread,
Jan 26, 2016, 10:27:55 AM1/26/16
to Google Visualization API
thanks, that worked! :)
Reply all
Reply to author
Forward
0 new messages