Configuring Charts - Using and configuration divisional lines for y-axis

Created using FusionCharts Suite XT - www.fusioncharts.com

by Moonmi Sonowal

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!-- Div lines break up the y-axis into smaller units helping in better visual data interpretation.

Attributes :
    1. divlineAlpha
    2. divlineColor
    3. divlineThickness
    4. divLineIsDashed
    5. divLineDashLen
    6. divLineGapLen

Note: All the above attributes are defined in 'fint' theme file, which the chart in this fiddle uses. Only divLineIsDashed and divlineAlpha attributes are overwritten to make the divlines more prominent.
 -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var vstrChart = new FusionCharts({
        type: 'msline',
        renderAt: 'chart-container',
        width: '550',
        height: '300',
        dataFormat: 'json',
        dataSource: {
    "chart": {
        "caption": "Sales - 2012 v 2013",
        "numberprefix": "$",
        "plotgradientcolor": "",
        "bgcolor": "FFFFFF",
        "showalternatehgridcolor": "0",
        "divlinecolor": "CCCCCC",
        "showvalues": "0",
        "showcanvasborder": "1",
        "canvasborderalpha": "100",
        "canvasbordercolor": "CCCCCC",
        "canvasborderthickness": "1",
        "yaxismaxvalue": "30000",
        "captionpadding": "30",
        "chartRightMargin":"65",
        "canvasPadding":"10",
        "linethickness": "3",
        "yaxisvaluespadding": "15",
        "labelPosition":"1",
        "legendborderalpha": "0",
        "palettecolors": "#f8bd19,#008ee4,#33bdda,#e44a00,#6baa01,#583e78",
        "showborder": "0"
    },
              "annotations": {
         "groups": [
            {
               "id": "infobar",
               "items": [
               
                  {
                     "id": "label",
                     "type": "text",
                     "text": "Population",
                     "fillcolor": "#E6B800",
                     "rotate": "90",
                     "x": "514",
                     "y": "$dataset.0.set.2.y - 38"
                  },
                    {
                     "id": "label",
                     "type": "text",
                     "text": "Death Rate",
                     "fillcolor": "#1975FF",
                     "rotate": "90",
                     "x": "516",
                     "y":"$dataset.1.set.2.y - 28"
                  }
               ]
            }
         ]
      },
            
    "categories": [
        {
            "category": [
                {
                    "label": "Jan"
                },
                {
         ...