A Work-around |
||||||||||||||||||
Many blogs hosts do not allow <script> blocks to be posted as blog content - but allow <IFRAMES>. This section applies to you if you're hosted on such a blog provider. If your blog doesn't support either (IFRAME or SCRIPT), you can still use FusionCharts Google Gadget, as explained in the section "Showing External Link". This work-around is achieved by tweaking a part of Google Gadget code. Though it is undocumented by Google, it's currently working well and fine. |
||||||||||||||||||
To use the work-around, you'll need to modify the chart's code (that is auto generated by FusionCharts Google Gadget). Shown below is an example. This is the code that is auto-generated by the Syndication Page. We've arranged it in blocks for better interpretation. |
||||||||||||||||||
| <script src="http://gmodules.com/ig/ifr?url=http://fusioncharts.googlecode.com/svn/trunk/fusioncharts.xml &up_ct=Column3D&up_c=Weekly%20Sales&up_sc=Current%20Month&up_xt=Week& up_yt=Sales&up_sn=%20&up_l=Week%201%3BWeek%202%3BWeek%203%3BWeek%204& up_v=40800%3B31400%3B26700%3B55400&up_t=&up_bA=1&up_bSLb=1&up_bSV=0& up_bSLm=1&up_bSLg=1&up_bRL=0&up_bFN=1&up_bFS=1&up_bTT=1&up_np=%24& up_ns=&up_d=0&up_cbg=FFFFFF&up_ccbg=DCDCDC&up_ccbr=808080& up_f=Arial&up_fs=9&up_fc=2F4F4F&up_fOC=Verdana&up_fOCs=9& up_fOCc=191970&up_dl=3&up_dlc=808080&up_bSA=1&up_as=10& up_ar=3&up_lt=1&up_bP=1&up_bPL=0&up_yMax=&up_yMin=& up_debug=0&synd=open&w=320&h=280& title=&nocache=NaN& border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"> </script> |
||||||||||||||||||
| The portions in bold are what you'll need to change, as under: | ||||||||||||||||||
|
||||||||||||||||||
| The final code should look as under: | ||||||||||||||||||
| <iframe src="http://gmodules.com/ig/ifr?url=http://fusioncharts.googlecode.com/svn/trunk/fusioncharts.xml &up_ct=Column3D&up_c=Weekly%20Sales&up_sc=Current%20Month&up_xt=Week& up_yt=Sales&up_sn=%20&up_l=Week%201%3BWeek%202%3BWeek%203%3BWeek%204& up_v=40800%3B31400%3B26700%3B55400&up_t=&up_bA=1&up_bSLb=1&up_bSV=0& up_bSLm=1&up_bSLg=1&up_bRL=0&up_bFN=1&up_bFS=1&up_bTT=1&up_np=%24& up_ns=&up_d=0&up_cbg=FFFFFF&up_ccbg=DCDCDC&up_ccbr=808080& up_f=Arial&up_fs=9&up_fc=2F4F4F&up_fOC=Verdana&up_fOCs=9& up_fOCc=191970&up_dl=3&up_dlc=808080&up_bSA=1&up_as=10& up_ar=3&up_lt=1&up_bP=1&up_bPL=0&up_yMax=&up_yMin=& up_debug=0&synd=open&w=320&h=280& title=&nocache=NaN& border=%23ffffff%7C3px%2C1px+solid+%23999999&output=html" width="320" height="280"> </iframe> |
||||||||||||||||||
| (Please do not copy the above code from this documentation. It contains various formatting and the chart will not show if you use this.) | ||||||||||||||||||
| Copy and paste the edited code to your blog post. The chart will now show up as under: | ||||||||||||||||||
![]() |
||||||||||||||||||
|
||||||||||||||||||
|
Iframe Attributes (for better technical knowhow on iframe please click here)
|
||||||||||||||||||