FusionCharts - Gallery Example - Multi-Series Column 2D Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
by FusionCharts
HTML
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var salesChart = new FusionCharts({
type: 'column3d',
renderAt: 'chart-container',
id: 'myChart',
width: '520',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Website Visitors WoW Growth",
"subcaption": "Last 10 weeks",
"yAxisName": "Growth",
"numberSuffix": "%",
"theme": "fusion",
"showValues": "0",
//Zero plane configuration
"showZeroPlane": "1",
"zeroPlaneColor": "#99ccff",
"zeroPlaneAlpha": "100",
"zeroPlaneThickness": "3",
"zeroPlaneShowBorder": "1",
"zeroPlaneBorderColor": "#5d62b5",
"divLineDashed": "0",
"divLineAlpha": "40"
},
"data": [{
"label": "Week 1",
"value": "14.5"
}, {
"label": "Week 2",
"value": "-6.5"
}, {
"label": "Week 3",
"value": "9.8"
}, {
"label": "Week 4",
"value": "9.2"
}, {
"label": "Week 5",
"value": "-7.45"
}, {
"label": "Week 6",
"value": "-3.19"
}, {
"label": "Week 7",
"value": "-11.78"
}, {
"label": "Week 8",
"value": "3.32"
}, {
"label": "Week 9",
"value": "8.57"
}, {
"label": "Week 10",
"value": "16.95"
}]
}
})
.render();
});