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

Created using FusionCharts Suite XT - www.fusioncharts.com

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>
<!-- Multi-series Area chart -->

<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var visitChart = new FusionCharts({
    type: 'msarea',
    renderAt: 'chart-container',
    width: '600',
    height: '500',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "theme": "fusion",
        "caption": "Number of visitors last week",
        "subCaption": "Bakersfield Central vs Los Angeles Topanga",
        "xAxisName": "Day",
        showPlotBorder: 1,
        plotBorderThickness: 2,
        drawFullAreaBorder: 0,
        usePlotGradientColor: 1,
        drawAnchors:"1"
      },
      "categories": [{
        "category": [{
          "label": "Mon"
        }, {
          "label": "Tue"
        }, {
          "label": "Wed"
        }, {
          "vline": "true",
          "lineposition": "0",
          "color": "#62B58F",
          "labelHAlign": "center",
          "labelPosition": "0",
          "label": "National holiday",
          "dashed": "1"
        }, {
          "label": "Thu"
        }, {
          "label": "Fri"
        }, {
          "label": "Sat"
        }, {
          "label": "Sun"
        }]
      }],
      "dataset": [{
        "seriesname": "Bakersfield Central",
        color: 'ff0000',
        "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": "19800"
        }, {
          "value": "21800"
        }]
      }],
      "trendlines": [{
        "line": [{
          "startvalue": "17022",
          "color": "#62B58F",
          "valueOnRight": "1",
         ...