FusionCharts - Gallery Example - Multi-series line 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

by Ayan Bhadury

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 mydata= {
    "chart": {
        "caption": "Website Visitors",
        "subCaption": "Last week Vs This week",
        "xAxisName": "Day",
        "yAxisName": "No. of Visitors",
        "theme": "fint",
        "showValues": "0",
        "adjustDiv": "0",
        "yAxisMaxvalue": "35000",
        "yAxisMinValue": "5000",
        "numDivLines": "9",
        "showlegend":"1"
    },
    "categories": [
        {
            "category": [
                {
                    "label": "Mon"
                },
                {
                    "label": "Tue"
                },
                {
                    "label": "Wed"
                },
                {
                    "label": "Thu"
                },
                {
                    "label": "Fri"
                },
                {
                    "label": "Sat"
                },
                {
                    "label": "Sun"
                }
            ]
        }
    ],
    "dataset": [
        {
       "visible":"0",
      
            "seriesname": "Last Week",
            "data": [
                {
                    "value": "13000"
                },
                {
                   "value": "14500"
                },
                {
                   "value": "13500"
                },
                {
                   "value": "15000"
                },
                {
                    "value": "15500"
                },
                {
                    "value": "17650"
                },
                {
                    "value": "19500"
                }
            ]
        },
        {
        		"visible":"0",
            "seriesname": "This Week",
            "data": [
                {
                    "value": "15400"
                },
                {
                    "value": "16800"
                },
                {
                    "value": "18800"
                },
  ...