最新FusionCharts2D柱状图
Posted 翱翔天地
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了最新FusionCharts2D柱状图相关的知识,希望对你有一定的参考价值。
1、实现源码
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>FusionCharts最新FusionCharts2D柱状图</title>
<script type="text/javascript" src="../js/jquery-1.12.4.js" ></script>
<script type="text/javascript" src="../js/FusionCharts/fusioncharts.js" ></script>
<script>
FusionCharts.ready(function(){
var columnChart = new FusionCharts({
type:"column2d",
renderAt:"column2D",
width:"1345",
height:"620",
dataSource:{
"chart":{
"caption":"月销售量",
"xAxisName":"月份",
"yAxisName":"销售量",
"exportEnabled":"1"
},
"data":[
{
"label":"1月",
"value":"120"
},{
"label":"2月",
"value":"230"
},{
"label":"3月",
"value":"654"
},{
"label":"4月",
"value":"454"
},{
"label":"5月",
"value":"323"
},{
"label":"6月",
"value":"640"
},{
"label":"7月",
"value":"431"
},{
"label":"8月",
"value":"809"
},{
"label":"9月",
"value":"345"
},{
"label":"10月",
"value":"430"
},{
"label":"11月",
"value":"870"
},{
"label":"12月",
"value":"670"
}]
}
}).render();
});
</script>
</head>
<body>
<div id="column2D"></div>
</body>
</html>
2、实现结果
以上是关于最新FusionCharts2D柱状图的主要内容,如果未能解决你的问题,请参考以下文章