FusionCharts - Gallery Example - Multi-series line 2D Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
HTML
<script src="https://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="https://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!-- Multi-series line chart -->
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var visitChart = new FusionCharts({
type: 'msline',
renderAt: 'chart-container',
width: '100%',
height: '350',
dataFormat: 'json',
dataSource: {
"chart": {
"captionFontSize": "14",
"subcaptionFontSize": "14",
"subcaptionFontBold": "0",
"paletteColors": "#da2128,#339966,#c6ecd9,#ff6666,#e60000,#99ddff,#005580,#ff99dd,#a3a3c2",
"bgcolor": "#ffffff",
"showBorder": "0",
"showShadow": "0",
"showCanvasBorder": "0",
"usePlotGradientColor": "0",
"legendBorderAlpha": "0",
"legendShadow": "0",
"showAxisLines": "0",
"showAlternateHGridColor": "0",
"divlineThickness": "0",
"divLineIsDashed": "0",
"divLineDashLen": "0",
"divLineGapLen": "0",
"showValues": "0",
"anchorRadius": "3",
"legendPosition": "right"
},
"categories": [{
"category": [{
"label": "7 Apr"
}, {
"label": "14-Apr"
}, {
"label": "21-Apr"
}, {
"label": "28-Apr"
}, {
"label": "05-May"
}, {
"label": "12-May"
}, {
"label": "19-May"
}]
}],
"dataset": [{
"seriesname": "0-30 Days",
"anchorBgColor":"#da2128",
"data": [{
"value": "15123"
}, {
"value": "14233"
}, {
"value": "15507"
}, {
"value": "16110"
}, {
"value": "15529"
}, {
"value": "20803"
}, {
"value": "19202"
}]
}, {
"seriesname": "31-60 Days",
"anchorBgColor":"#339966",
"data": [{
"value": "13400"
}, {
"value": "12800"
}, {
"value": "12800"
}, {
"value": "12400"
}, {
...