Timeline not working with Morzilla Firefox

736 views
Skip to first unread message

Avinash Kumar

unread,
Dec 13, 2014, 8:07:30 AM12/13/14
to google-visua...@googlegroups.com
we are creating a timeline from Google Visualization it is working correctly with chrome but there is a problem with Firefox it will display error:Dygraph.TICK_PLACEMENT[a] is undefined
 

Daniel LaLiberte

unread,
Dec 16, 2014, 2:16:21 PM12/16/14
to google-visua...@googlegroups.com
Hi Avinash,

Can you point to a page demonstrating the problem you see in Firefox, or post an example here?  It seems to be working fine for me, but the particular options you are using and perhaps the data as well could make a difference.

On Sat, Dec 13, 2014 at 8:07 AM, Avinash Kumar <vikrama...@gmail.com> wrote:
we are creating a timeline from Google Visualization it is working correctly with chrome but there is a problem with Firefox it will display error:Dygraph.TICK_PLACEMENT[a] is undefined
 

--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Ricardo Schmidt

unread,
Sep 23, 2015, 12:54:04 PM9/23/15
to Google Visualization API
I'm having the same issue. 
Check this issue here http://52.88.42.143/test.php 


Em terça-feira, 16 de dezembro de 2014 17:16:21 UTC-2, Daniel LaLiberte escreveu:
Hi Avinash,

Can you point to a page demonstrating the problem you see in Firefox, or post an example here?  It seems to be working fine for me, but the particular options you are using and perhaps the data as well could make a difference.

On Sat, Dec 13, 2014 at 8:07 AM, Avinash Kumar <vikrama...@gmail.com> wrote:
we are creating a timeline from Google Visualization it is working correctly with chrome but there is a problem with Firefox it will display error:Dygraph.TICK_PLACEMENT[a] is undefined
 

--




--
dlali...@Google.com   5CC, Cambridge MA
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA

Daniel LaLiberte

unread,
Sep 23, 2015, 1:47:42 PM9/23/15
to Google Visualization API
Ricardo,

It appears your data format is the problem because Firefox doesn't want to parse dates in that format.  new Date('2015-09-23 17:24:40 UTC') results in  Date {Invalid Date}
fdfd
Also, Date.parse('2015-09-23 17:24:40 UTC') results in a NaN.  Date parsing is, in general, not well defined in browsers, so you should probably avoid it entirely if you can.  Specify the date like this instead: new Date(2015, 8, 23, 17, 24, 40).  Notice that the month numbers start at 0, so September is month number 8.


--
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 http://groups.google.com/group/google-visualization-api.

For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Ricardo Schmidt

unread,
Sep 24, 2015, 7:51:00 PM9/24/15
to Google Visualization API
Daniel, thank you for the detailed help and fast answer. I will change my code to deliver the data in a cross-browser way.

Em quarta-feira, 23 de setembro de 2015 14:47:42 UTC-3, Daniel LaLiberte escreveu:
Ricardo,

It appears your data format is the problem because Firefox doesn't want to parse dates in that format.  new Date('2015-09-23 17:24:40 UTC') results in  Date {Invalid Date}
fdfd
Also, Date.parse('2015-09-23 17:24:40 UTC') results in a NaN.  Date parsing is, in general, not well defined in browsers, so you should probably avoid it entirely if you can.  Specify the date like this instead: new Date(2015, 8, 23, 17, 24, 40).  Notice that the month numbers start at 0, so September is month number 8.

On Wed, Sep 23, 2015 at 12:54 PM, Ricardo Schmidt <3es...@gmail.com> wrote:
I'm having the same issue. 
Check this issue here http://52.88.42.143/test.php 

Em terça-feira, 16 de dezembro de 2014 17:16:21 UTC-2, Daniel LaLiberte escreveu:
Hi Avinash,

Can you point to a page demonstrating the problem you see in Firefox, or post an example here?  It seems to be working fine for me, but the particular options you are using and perhaps the data as well could make a difference.

On Sat, Dec 13, 2014 at 8:07 AM, Avinash Kumar <vikrama...@gmail.com> wrote:
we are creating a timeline from Google Visualization it is working correctly with chrome but there is a problem with Firefox it will display error:Dygraph.TICK_PLACEMENT[a] is undefined
 

--




--
dlali...@Google.com   5CC, Cambridge MA
daniel.l...@GMail.com 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 google-visualization-api+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
Reply all
Reply to author
Forward
0 new messages