Home Forums Chart Support Shifting not completlty working

Shifting not completlty working

Viewing 2 posts - 1 through 2 (of 2 total)
  • #10138


    I’m trying to shift away some data as soon as there are more than 10 datapoints. My update functions looks like:

    `var updateChart = function (data) {
    var dt = new Date();

    x: xVal,
    y: parseInt(data[‘value’]),
    toolTipContent: ‘Date: ‘ + dt + ‘<br />’ + ‘Value: {y}’

    if (dps.length > 10) {

    It works, but not completly. The data is shifted, but the x-axis is not shifted. So, I keep seeing 0, 1, 3, … . The line is shifted, so I only see the last 10 records. Any suggestions?



    We are unable to reproduce the issue. Kindly create a fiddle so that we can help you out. Hope this link helps you for more information on creating dynamic charts.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.