Forum Replies Created by IslandT

Viewing 4 posts - 1 through 4 (of 4 total)
  • in reply to: The slider keep shifting when shift back to new data. #30579

    @manoj-mohan,

    Ok! Thanks for the consideration.

    in reply to: The slider keep shifting when shift back to new data. #30554

    @manoj-mohan,
    I tried with slider maximum, I later thought that it may be setting only the size of the slider but it keep move back.

    As you open jsfiddle you will notice the slider is set in the far right and all the current data is continue to load as you notice with the last tick plot on the graph.

    But if you try to shift the slider a bit to the left and then get back to the original position when you open, the slider will keep moving back, and cannot observe the last tick plot of current data.

    Thanks in advance!

    in reply to: The slider keep shifting when shift back to new data. #30541

    Thanks, Manoj!
    I tried adding an interval of the xValue to the Range endValue so it keeps updating to new endValue.
    for example, using get and set

    1.Getting the existing value of range and Add the new time interval to it.
    var newInterval = new Date(chart.rangeSelector.inputFields.get(“endValue”));
    newInterval.setSeconds( new interval.getSeconds() + 2 );

    2.And set the new value again
    stockChart.rangeSelector.inputFields.set(“endValue”,(((newInterval)))),true);
    or
    chart.options.rangeSelector.inputFields.endValue =newInterval;

    But unfortunately, it didn’t work. Thanks anyway.

    in reply to: The slider keep shifting when shift back to new data. #30535

    Not really Prospect, The page doesn’t refresh, it simply after dragging the slider when I get it back to the current data position I wanted it to stay in the position as it normally when I open. I not using asp.net forms.

    I guess maybe I based on the Range setting.

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