Google chart getImageURI() - blurred out labels in chrome

158 views
Skip to first unread message

Alexander Hafstad Larsen

unread,
Nov 24, 2015, 5:24:31 AM11/24/15
to Google Visualization API

I'm having problems by making my google charts pretty on print in chrome using getImageURI() to generate an image of the chart. I tried out following guide which works perfectly in for example safari but on chrome the labels are getting blurred out? (see screenshot) 


Guide used: https://developers.google.com/chart/interactive/docs/printing

Generated image in chrome looks as follows. (I'm on a mac and using chrome version 46 stable) 




Does some of you know whats wrong and how to fix this? 

I've also tried using the exact same code as the guide above and that generates blurred out labels to. 

Sergey Grabkovsky

unread,
Nov 24, 2015, 9:47:53 AM11/24/15
to Google Visualization API
I truly can't imagine how this would even happen. I'm guessing that it's a chrome bug, but it appears to be fixed in the version I'm using (47.0.2526.69 on Mac). Here's an example that works for me: http://jsfiddle.net/nkx1zgoe/
I presume it's broken on your machine?

--
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/f5f0c0f4-332e-446f-ac74-ebd19e24af37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com

Reply all
Reply to author
Forward
0 new messages