open_flash_chart 通过js画饼图问题

我最近要做报表 发现open_flash_chart 挺好用,但是画饼图的时候发现饼图周围显示不了信息
js代码:

var so = new SWFObject("../actionscript/open-flash-chart.swf", "ofc", "500", "200", "9", "#FFFFFF"); //so.addVariable("data", "../data-files/data-20.txt"); so.addVariable("variables","true"); so.addVariable("title","中文,{font-size:30px; color:#000000}"); so.addVariable("pie","60,#9933CC,#000000"); so.addVariable("values","15,25,60"); so.addVariable("colours","#d01f3c,#356aa0,#C79810"); //so.addVariable("links","javascript:alert('15%25'),javascript:alert('25%25'),javascript:alert('60%25')"); so.addVariable("pie_labels","April,May,June"); //so.addVariable("tool_tip","#x_label#<br>Value: #val#%25"); so.addParam("allowScriptAccess", "always" );//"sameDomain"); so.write("my_chart");

下面是显示的图片

查看全部
cheng12010053008
cheng12010053008
2015/06/23 08:49
  • javascript
  • open
  • flash
  • 点赞
  • 收藏
  • 回答
    私信

0个回复