FusionCharts - Gallery Example - Multi-series line 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.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: '550',
height: '350',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Number of visitors last week",
"subCaption": "Bakersfield Central vs Los Angeles Topanga",
"paletteColors": "#0075c2,#1aaf5d",
"labelDisplay":"ROTATE",
"slantLabels":"1",
"showValues": "0",
"canvasPadding":"10"
},
"categories": [
{
"category": [
{ "label": "Monnnnnnnnnnnnnnnnn" },
{ "label": "Tueeeeeeee" },
{ "label": "Weddddddddd" },
{ "label": "Thuuuuuuuuuuuuu" },
{ "label": "Friiiiiiiiiiii" },
{ "label": "Sattttttttttt" },
{ "label": "Sunnnnnnnnnn" }
]
}
],
"dataset": [
{
"seriesname": "Bakersfield Central",
"data": [
{ "value": "15123" },
{ "value": "14233" },
{ "value": "25507" },
{ "value": "9110" },
{ "value": "15529" },
{ "value": "20803" },
{ "value": "19202" }
]
},
{
"seriesname": "Los Angeles Topanga",
"data": [
{ "value": "13400" },
{ "value": "12800" },
{ "value": "22800" },
{ "value": "12400" },
{ "value": "15800" },
{ "value":...