FusionCharts - Gallery Example - Bar 2D Chart

Created using FusionCharts Suite XT - www.fusioncharts.com

HTML

<script src="https://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="https://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<!-- Simple implementation of the Bar 2D chart -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function () {
    var visitChart = new FusionCharts({
        type: 'column3d',
        renderAt: 'chart-container',
        width: '400',
        height: '300',
        dataFormat: 'json',
        dataSource: {
            "chart": {
                "theme": "fint",
                "caption": "Bakersfield Central - Total footfalls",
                "subCaption": "Last week",
                "xAxisName": "Day",
                "yAxisName": "No. of Visitors",
                "showValues": "0"
            },
           
            "annotations": {
                
                "groups": [
                    {                       
                        "id" : "infobar",
                        "showbelow": "0",

                        "items": [
                            {
                                "id": "high-line",
                                "type": "line",
                                "x": "$canvasStartX",
                                "y": "$dataset.0.set.2.y",
                                "tox": "$canvasEndX",
                                "toy": "$dataset.0.set.2.y",
                                "color": "#6baa01",
                                "dashed": "1",
                                "thickness": "3"
                            },
                            {
                                "id": "label",
                                "type": "text",
                                "text": "Highest footfall 25.5K",
                                "fillcolor": "#6baa01",
                                "rotate": "90",
                                "x": "$canvasEndX - 60",
                                "y": "$dataset.0.set.2.y - 10"
                            }
                        ]
                        
                    }
                ]
            },
            "data": [
                {
                    "label": "Mon",
                    "value": "15123"
               ...