winston / google_visualr

A Ruby Gem for the Google Visualization API. Write Ruby code. Generate Javascript. Display a Google Chart.

Home Page:http://googlevisualr.heroku.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTPS support

sausheong opened this issue · comments

This might not be an issue directly with Google Visualr, but whenever I use Google Visualr, the Javascript files are returned from a http source. When I use it with a https site, it will throw up an ugly error that can be pretty scary. Otherwise the chart simply doesn't show up at all unless you disable https.

Any ideas how to make it such that Google returns the scripts through a https URL source?

I will look into it. Thanks!

Hey, how are you including the Google API? Instead of doing this <script src='http://www.google.com/jsapi'></script>, try it with https.

Let me know if it works? Thank you!

I'm actually using that already currently, doesn't make a difference.

Hmm. I did a check through my code. I don't have anything that uses http, so I am guessing that this is a problem with Google Visualization API instead. You might want to try posting to their Google Group? https://groups.google.com/forum/?fromgroups#!forum/google-visualization-api

I am going to close this for now. Thank you!