V-trendline

Created using FusionCharts Suite XT - www.fusioncharts.com

by Vishalika

HTML

<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<!-- Multi-series 2D Single Y Combination Chart. -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var salesAnlysisChart = new FusionCharts({
        type: 'mscombi2d',
        renderAt: 'chart-container',
        width: '600',
        height: '300',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "caption": "Promotion",
                    "subcaption": "Effect-Detail",
                    "xaxisname": "Month",
                    "yaxisname": "Amount (In USD)",
                    "numberprefix": "$",
                    "showborder": "0",
                    "showvalues": "0",
                    "palettecolors": "#0075c2,#1aaf5d,#f2c500",
                    "bgcolor": "#ffffff",
                    "showcanvasborder": "0",
                    "canvasbgcolor": "#ffffff",
                    "captionfontsize": "14",
                    "subcaptionfontsize": "14",
                    "subcaptionfontbold": "0",
                    "divlinecolor": "#999999",
                    "divlinedashed": "1",
                    "divlinedashlen": "1",
                    "divlinegaplen": "1",
                    "showalternatehgridcolor": "0",
                    "useplotgradientcolor": "0",
                    "tooltipcolor": "#ffffff",
                    "tooltipborderthickness": "0",
                    "tooltipbgcolor": "#000000",
                    "tooltipbgalpha": "80",
                    "tooltipborderradius": "2",
                    "tooltippadding": "5",
                    "legendbgcolor": "#ffffff",
                    "legendborderalpha": "0",
                    "legendshadow": "0",
                    "legenditemfontsize": "10",
                "showYaxisline":"1",
                    "legenditemfontcolor": "#666666"
            },
                "categories": [{
                "category": [{
                    "label": "-12M",
                        "x": "1"
                }, {
                    "label": "-11M",
                        "x": "2"
                }, {
 ...