fusioncharts是一个简单好看的柱状统计图,本文中的统计图是由PHP动态生成,要是你想用js生成该柱状图,右击鼠标查看网页源代码。
标准图表
<div id="chart-1" style='width:800px;height:380px‘></div>
fusioncharts在线生成柱状图
include("includes/fusioncharts.php");
$columnChart = new FusionCharts("column2d", "ex1", "100%", 400, "chart-1", "json", '{
"chart":{
"caption":"柱状图",
"subCaption":"fusioncharts多皮肤数据图表",
"numberPrefix":"$",
"theme":"ocean"
},
"data":[
{
"label":"Bakersfield Central",
"value":"880000"
},
{
"label":"Garden Groove harbour",
"value":"730000"
},
{
"label":"Los Angeles Topanga",
"value":"590000"
},
{
"label":"Compton-Rancho Dom",
"value":"520000"
},
{
"label":"Daly City Serramonte",
"value":"330000"
}
]
}');
// Render the chart
$columnChart->render();
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791