日期:2014-05-20  浏览次数:20894 次

懂得FusionCharts 报表的进来,我做曲线图
我做ScrollLine2D图表
我组成的脚本如下,不知道是我写错还是数字问题不有曲线都是直线的
XML code
<chart vDivLineIsDashed='1' vDivLineDashLen='1' vDivLineDashGap='1' formatNumberScale='0' numdivlines='5' lineThickness='2' showValues='0' anchorRadius='3' anchorBgAlpha='50' showAlternateVGridColor='1' numVisiblePlot='12' animation='0' CAPTION='年号销售曲线走势图' xAxisName='年号' yAxisName='金额' numVDivLines='1'>\r\n\r\n  - <styles>\r\n    - <definition><style name='CaptionFont' type='font' size='25' /><style name='SubCaptionFont' type='font' size='15' /><style name='DataValueFont' type='font' size='15' /><style name='DataLabelFont' type='font' size='10' /><style name='LegendFont' type='font' size='15' color='639ACE' bold='1' /></definition>\r\n    - <application><apply toObject='CAPTION' styles='CaptionFont' /><apply toObject='SUBCAPTION' styles='SubCaptionFont' /><apply toObject='DataValues' styles='DataValueFont' /><apply toObject='DataLabels' styles='DataLabelFont' /><apply toObject='Legend' styles='LegendFont' /></application></styles>
<categories><category label='2010' /></categories>
<dataset seriesName='蛋鸡颗粒'><set value='1025626.92000000' /></dataset><dataset seriesName='小猪颗粒'><set value='382209.00000000' /></dataset><dataset seriesName='浓(3:1:6)'><set value='652932.00000000' /></dataset><dataset seriesName='浓(4:6)'><set value='6049998.60000000' /></dataset><dataset seriesName='中猪颗粒'><set value='838684.96600000' /></dataset><dataset seriesName='鱼'><set value='89586.00000000' /></dataset><dataset seriesName='鸡'><set value='42650322.91000000' /></dataset><dataset seriesName='肉种浓'><set value='18356.40000000' /></dataset><dataset seriesName='狗'><set value='3793.40000000' /></dataset><dataset seriesName='猪'><set value='3500404.54000000' /></dataset><dataset seriesName='肉鸡颗粒'><set value='223908.80000000' /></dataset>
<dataset seriesName='肉种'><set value='223143.90000000' /></dataset>
<dataset seriesName='精'><set value='1156462.00000000' /></dataset><dataset seriesName='大猪颗粒'><set value='369081.68100000' /></dataset>
<dataset seriesName='乳猪颗粒'><set value='309809.14975000' /></dataset>
<dataset seriesName='奶牛'><set value='4232.00000000' /></dataset>
</chart>


------解决方案--------------------
。。。。

路过。。