首页 新闻 会员 周边

fusioncharts自适应窗口,x轴系列名被截断

0
悬赏园豆:50 [已关闭问题] 关闭于 2013-02-25 11:18

Data.xml如下:

<graph caption='' xAxisName='' yAxisName='' decimalPrecision='0' formatNumberScale='0' baseFont='宋体' baseFontSize='18' bgColor='#F1F1F1' borderColor='#F1F1F1' labelDisplay='wrap' >

<set label='John' value='420' />

<set label='Mary' value='295' />

<set label='国人万岁FusionCharts/FusionCharts/万岁哐哐哐才' value='523' />

</graph>

 

 

引用页面如下

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";;;>

<html xmlns="http://www.w3.org/1999/xhtml";;;><head runat="server"> <title></title> <script language="javascript" src="FusionCharts.js"></script> <script language="javascript" type="text/javascript"> function Render() { var chart1 = new FusionCharts("FusionCharts/Column2D.swf", "ChId1", "80%", '50%', "0", "0", "FFFFFF", "exactFit");chart1.setDataURL("Data.xml");chart1.render("chart1div"); } </script></head><body onload="Render()" > <div id="chart1div">This text is replaced by the chart</div></body></html>

hyj_simple的主页 hyj_simple | 菜鸟二级 | 园豆:202
提问于:2012-10-16 15:51
< >
分享
所有回答(1)
0

网上有教程,里面有示例代码,对照下看看呢:Flash图表控件FusionCharts使用教程:自定义图表y轴最大/最小值

树上的鸟儿 | 园豆:204 (菜鸟二级) | 2013-09-02 15:47
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册