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