score:20

Accepted answer

Call chart.addSeries to add the whole series in one go instead of adding just the point array to the initial empty series:

function requestData() {
    $.ajax({
        url: 'api/v1/dashboard/month_mention_graphic',
        type: "GET",
        dataType: "json",
        data : {username : "demo"},
        success: function(data) {
            chart.addSeries({
              name: "mentions",
              data: data.month_mentions_graphic
            });
        },
        cache: false
    });
}

Related Query

More Query from same tag