FusionCharts - Gallery Example - Scroll Combination 2D Chart in JavaScript

Created using FusionCharts Suite XT - www.fusioncharts.com

by ideazgeni

HTML

<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<!-- Scroll Combination 2D Chart with Column, Line and Area data series
-->
<div id="chart-container">FusionCharts will render here</div>Charts

JavaScript

FusionCharts.ready(function () {
    var revenueCompChart = new FusionCharts({
        type: 'mscolumn2d',
        renderAt: 'chart-container',
        width: '550',
        height: '400',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "caption": "Actual Revenue, Targeted Revenues & Profits",
                "subCaption": "FY 2012 - FY 2013",
                "xAxisname": "Month",
                "yAxisName": "Amount (In USD)",
                "numberPrefix": "$",
                "numVisiblePlot" : "2",
                
                //Cosmetics
                "paletteColors" : "#0075c2,#1aaf5d,#f2c500",
                "baseFontColor" : "#333333",
                "baseFont" : "Helvetica Neue,Arial",
                "captionFontSize" : "14",
                "subcaptionFontSize" : "14",
                "subcaptionFontBold" : "0",
                "showBorder" : "0",
                "bgColor" : "#ffffff",
                "showShadow" : "0",
                "canvasBgColor" : "#ffffff",
                "canvasBorderAlpha" : "0",
                "showValues" : "0",
                "divlineAlpha" : "100",
                "divlineColor" : "#999999",
                "divlineThickness" : "1",
                "divLineIsDashed" : "1",
                "divLineDashLen" : "1",
                "divLineGapLen" : "1",
                "usePlotGradientColor" : "0",
                "showplotborder" : "0",
                "showXAxisLine" : "1",
                "xAxisLineThickness" : "1",
                "xAxisLineColor" : "#999999",
                "showAlternateHGridColor" : "0",
                "showAlternateVGridColor" : "0",
                "legendBgAlpha" : "0",
                "legendBorderAlpha" : "0",
                "legendShadow" : "0",
                "legendItemFontSize" : "10",
                "legendItemFontColor" : "#666666",
                "scrollheight" : "10",
                "flatScrollBars" : "1",
               ...