slider.o.range changed to slider.D.range in last nights release?

24 views
Skip to first unread message

Simon Fairey

unread,
Aug 18, 2015, 10:10:15 AM8/18/15
to Google Visualization API

Hi

 

Since the last release we started getting the following error:

 

    Uncaught TypeError: Cannot read property 'range' of undefined

 

After some fiddling we found the property is now slider.D.range rather than slider.o.range

 

Was this intentional and where should I have noticed this in the release notes if it was the case, just so I don't miss something next time :-)

 

Thanks

 

Simon

Daniel LaLiberte

unread,
Aug 18, 2015, 11:14:06 AM8/18/15
to Google Visualization API
Simon,

The error message you are getting suggests you are accessing internal properties of the Google Charts API.  This is strongly discouraged, since you will get such errors every time there is a new release because the internal property names will change.  Attempting to use a frozen version won't help you either. Only the public documented API names are preserved.

I don't know what slider or range you are using, but perhaps you should post enough of your code, or create a jsfiddle example, so we can maybe help you find an approved way to do it.


--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/7c03d2a0-1773-46b2-b53c-7ccbb9249753%40googlegroups.com.
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

Simon Fairey

unread,
Aug 18, 2015, 11:43:04 AM8/18/15
to Google Visualization API
Daniel,

Thanks for the response, I will get onto the developers and see if I can either get them to fix it or provide a suitable example, if I read the other threads correctly I assume we're at risk again on the 24th Aug with the next release?

Cheers

Si

Daniel LaLiberte

unread,
Aug 18, 2015, 11:48:47 AM8/18/15
to Google Visualization API
Yes, you can temporarily switch to loading "1.0" but it would break again on the 24th unless you fix it properly.

--
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.
Reply all
Reply to author
Forward
0 new messages