Forum Replies Created by maheshbapathi

Viewing 16 post (of 16 total)
  • in reply to: Auto refresh Graph with some particular time duration #21237

    Hi Madam,
    Thanks for Your Replay..
    I tried one code but it’s draw same chart over by over
    please provide me a sample code which could be working properly
    i am using ASP.MVC and SQL

    This is my code:

    var x = i;
    var updateInterval = 1000;
    var updateChart = function () {
    for(var y=0; y < result.length; y++){
    dataPoints.push({label:result[y].Head, y:result[y].ForgingStock});
    }
    x=y;
    chart.render();
    };
    setInterval(function () { updateChart() }, updateInterval);

    Thanks & regards
    Mahesh.

Viewing 16 post (of 16 total)