score:0

the highcharts website has some useful articles about working with dynamic data. that is probably the best place to start.

http://www.highcharts.com/docs/working-with-data/preprocessing-live-data

http://www.highcharts.com/docs/working-with-data/preprocessing-data-from-a-database

try something out, and if you have trouble, come back here with a more specific question showing what you have tried. as it stands, your question is too broad, and will probably get closed.

an ajax request for updating data looks something like:

function requestdata() {
$.ajax({
    url: 'live-server-data.php',
    success: function(point) {
        var series = chart.series[0],
            shift = series.data.length > 20; // shift if the series is                                                  // longer than 20
        // add the point
        chart.series[0].addpoint(point, true, shift);

        // call it again after one second
        settimeout(requestdata, 1000);    
    },
    cache: false
});

}

score:2

you can try with

var options = {
        chart: {
            renderto: 'chart',
        },
        credits: {
            enabled: false
        },
        title: {
            text: 'impression/click overview',
            x: -20
        },
        xaxis: {
            categories: [{}]
        },
        tooltip: {
            formatter: function() {
                var s = '<b>'+ this.x +'</b>';

                $.each(this.points, function(i, point) {
                    s += '<br/>'+point.series.name+': '+point.y;
                });

                return s;
            },
            shared: true
        },
        series: [{},{}]
    };

    $.ajax({
        url: "json.php",
        data: 'show=impression',
        type:'post',
        datatype: "json",
        success: function(data){
            options.xaxis.categories = data.categories;
            options.series[0].name = 'impression';
            options.series[0].data = data.impression;
            options.series[1].name = 'click';
            options.series[1].data = data.clicks;
            var chart = new highcharts.chart(options);          
        }
    });

Related Query

More Query from same tag