AmCharts.makeChart("chartdiv", { "type": "serial", "categoryField": "Month", "startDuration": 1, "theme": "black", "categoryAxis": { "gridPosition": "start" }, "trendLines": [], "graphs": [ { "balloonText": "[[title]] of [[Month]]:[[value]]", "bullet": "round", "id": "AmGraph-1", "title": "graph 1", "valueField": "Solved" } ], "guides": [], "valueAxes": [ { "id": "ValueAxis-1", "title": "Solves" } ], "allLabels": [], "balloon": {}, "legend": { "enabled": true, "useGraphSettings": true }, "titles": [ { "id": "Title-1", "size": 15, "text": "No. of Challenges Solved" } ], "dataProvider": [ { "Month": "Jan", "Solved": 8 }, { "Month": "Feb", "Solved": 6 }, { "Month": "Mar", "Solved": 2 }, { "Month": "Apr", "Solved": 1 }, { "Month": "May", "Solved": 2 }, { "Month": "Jun", "Solved": 3 }, { "Month": "Jul", "Solved": 6 }, { "Month": "Aug", "Solved": 2 }, { "Month": "Sep", "Solved": 3 }, { "Month": "Oct", "Solved": 4 }, { "Month": "Nov", "Solved": null }, { "Month": "Dec", "Solved": null } ] } );