Chart not moving fluently when adding value to two lines on interval

前端 未结 2 989
孤城傲影
孤城傲影 2021-01-26 20:21

I\'m using an updating spline chart to show a line that changes each second. The changing is set in chartinfo.chart.events.load. Below is the code I\'m using in my actual progra

2条回答
  •  迷失自我
    2021-01-26 20:28

    In addition to series.addPoint([x, y], false, true); series2.addPoint([x, y2], true, true);

    also write chart.redraw(); after series2.addPoint([x, y2], true, true); This makes it work for me in webapp

提交回复
热议问题