FusionCharts - Gallery Example - Multi-Series Area 2D Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
HTML
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.zune.js"></script>
<div id="chart-container">
FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var salesChart = new FusionCharts({
type: 'mscolumn2d',
renderAt: 'chart-container',
width: '600',
height: '400',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Installations per day",
"showvalues": "0",
"showlegend": "0",
"maxcolwidth": "11",
"adjustdiv":"0",
"numDivLines": "1",
"yaxismaxvalue": "10",
"animation": "1",
"paletteColors": "#F53D10,#68F109,#68F109,#ff9049,#09C3F1",
"divlinedashlen": "2",
"divlinedashgap": "4",
"divlineAlpha": "60",
"theme": "zune"
},
"categories": [{
"category": [{
"label": "Week 48"
}, {
"label": "Week 49"
}, {
"label": "Week 50"
}, {
"label": "Week 51"
}, {
"label": "Week 52"
}]
}],
"dataset": [{
"seriesname": "Ford",
"data": [{
"value": "7"
}, {
"value": "8"
}, {
"value": "8.4"
}, {
"value": "9"
}, {
"value": "2"
}]
}, {
"seriesname": "Volkswagen",
"alpha": "0",
"data": []
}, {
"seriesname": "Audi",
"data": [{
"value": "4"
}, {
"value": "3.7"
}, {
"value": "5"
}, {
"value": "7"
}, {
"value": "2.3"
}]
}, {
"seriesname": "Nissan",
"alpha": "0",
"data": [{}]
}, {
"seriesname": "Renault",
"data": [{
"value": "3"
}, {
"value": "1.3"
}, {
"value": "2.5"
}, {
"value": "2"
}, {
"value": "1.3"
}]
...