清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
<div align="center">Fusion Charts Free</div>
<div id="chartdiv1" align="center"></div>
<script>
var myChart2 = new FusionCharts("../Scripts/fusioncharts/Flash/Column3D.swf", "myChartId2", "800", "300");
myChart2.setDataURL("../Data.xml");
myChart2.render("chartdiv1");
</script>
<div id="chartdiv1" align="center"></div>
<script>
var myChart2 = new FusionCharts("../Scripts/fusioncharts/Flash/Column3D.swf", "myChartId2", "800", "300");
myChart2.setDataURL("../Data.xml");
myChart2.render("chartdiv1");
</script>
前面为视图代码,以下为xml代码:
<graph caption="每日用户登陆记录" xAxisName="时间(点)" yAxisName="登陆次数" yAxisMinValue="0" yAxisMaxValue="100" showNames="1" decimalPrecision="0" formatNumberScale="0">
<set name="1:00 " value="462" color="AFD8F8"></set>
<set name="3:00 " value="400" color="AFD8F8"></set>
<set name="5:00 " value="123" color="AFD8F8"></set>
<set name="7:00 " value="321" color="AFD8F8"></set>
<set name="9:00 " value="453" color="AFD8F8"></set>
<set name="11:00 " value="123" color="AFD8F8"></set>
<set name="13:00 " value="22" color="AFD8F8"></set>
<set name="15:00 " value="12" color="AFD8F8"></set>
<set name="17:00 " value="323" color="AFD8F8"></set>
<set name="19:00 " value="111" color="AFD8F8"></set>
<set name="21:00 " value="233" color="AFD8F8"></set>
<set name="23:00 " value="333" color="AFD8F8"></set>
</graph>
<graph caption="每日用户登陆记录" xAxisName="时间(点)" yAxisName="登陆次数" yAxisMinValue="0" yAxisMaxValue="100" showNames="1" decimalPrecision="0" formatNumberScale="0">
<set name="1:00 " value="462" color="AFD8F8"></set>
<set name="3:00 " value="400" color="AFD8F8"></set>
<set name="5:00 " value="123" color="AFD8F8"></set>
<set name="7:00 " value="321" color="AFD8F8"></set>
<set name="9:00 " value="453" color="AFD8F8"></set>
<set name="11:00 " value="123" color="AFD8F8"></set>
<set name="13:00 " value="22" color="AFD8F8"></set>
<set name="15:00 " value="12" color="AFD8F8"></set>
<set name="17:00 " value="323" color="AFD8F8"></set>
<set name="19:00 " value="111" color="AFD8F8"></set>
<set name="21:00 " value="233" color="AFD8F8"></set>
<set name="23:00 " value="333" color="AFD8F8"></set>
</graph>