1.页面调用:
<table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td valign="top" class="text" align="center"> <div id="chartdiv" align="center">
FusionCharts. </div>
<script type="text/javascript">
var chart = new FusionCharts("MSLine.swf", "ChartId", "500", "300", "0", "0");
chart.setDataURL("MSLine.xml");
chart.render("chartdiv");
</script> </td>
</tr>
</table>
2.xml信息
<chart subcaption='深发展A 000001' fontsize='30' lineThickness='1' showValues='0' formatNumberScale='0' anchorRadius='2' divLineAlpha='20' divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridColor='CCC' shadowAlpha='40' labelStep="2" numvdivlines='5' chartLeftMargin="10" chartRightMargin="20" chartTopMargin="5" chartBottomMargin='0' bgColor='FFFFFF' bgAngle='270' bgAlpha='10,10' canvasBorderThickness='1' baseFont='Arial' BaseFontSize ='10' baseFontColor ='000000' vDivLineColor='#000' divLineColor='#000' FontSize ='100'>
<categories>
<category label='9:30' x='0' />
<category x='10' />
<category label='10:30' x='20'/>
<category x='30'/>
<category label='13:00' x='40'/>
<category x='50'/>
<category label='14:00' x='60'/>
<category x='70'/>
<category label='15:00' x='80'/>
</categories>
<dataset color='1D8BD1' anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1' anchorRadius='0'>
<set value='13.21' />
<set value='15' />
<set value='13.11' />
<set value='15.90' />
<set value='13.4' />
<set value='12.88' />
<set value='12.01' />
<set value='10.01' />
<set value='17.01' />
<set value='11.01' />
</dataset>
<styles>
<definition>
<style name='CaptionFont' type='font' size='12' bold='0' avlign='left'/>
</definition>
<application>
<apply toObject='CAPTION' styles='CaptionFont' />
<apply toObject='SUBCAPTION' styles='CaptionFont' />
</application>
</styles>
</chart>
注:style控制 标题 字样样式