chart does not load in colorbox or superbox

100 views
Skip to first unread message

tanay

unread,
Sep 7, 2011, 6:55:25 AM9/7/11
to Google Visualization API
Dear all,,


I have copy and paste example code from below url and create a
graph.html file.

URL : http://code.google.com/apis/chart/interactive/docs/examples.html

i have run file in browser http://localhost/rnd/graph.html it is given
me a correct output. but i was try to load file in colorbox and
superbox but graph is not loaded. I have check in firebug and found
that request is going perfect.
I can not figure out what is the problem??

I think it is never worked with colorbox and superbox..

Please give me reply as soon as possible.





asgallant

unread,
Sep 7, 2011, 11:36:33 AM9/7/11
to google-visua...@googlegroups.com
Charts will not draw on hidden content.  Make sure the charts don't draw until the lightbox is opened.

Arun Kumar

unread,
Oct 6, 2015, 9:05:00 AM10/6/15
to Google Visualization API
Hi,

In Colorbox there is a option to show the content in iframe by adding like this,

<a class="colorbox-load" href=[PATH]?iframe=true&width=WIDTH&height=HEIGHT> Click </a>

try the code its work for me.


Reply all
Reply to author
Forward
0 new messages