i follow this way to update an exist candle
stockPrices.update(stockPrices.getCount() – 1, priceBar.getOpen(), priceBar.getHigh(), priceBar.getLow(), priceBar.getClose());
it work well but not so smooth, SciChart have any other way or trick to do this ?
Thank you
- tran hai asked 4 years ago
- last edited 4 years ago
-
What do you mean by “smooth” update? I’m not quite sure what this means. Can you explain? Thanks in advance
-
like this https://youtu.be/tposBXe2VYs?t=268
- You must login to post comments
Hi there,
We don’t support this behavior out of the box, but you can implement this effect by using ValueAnimator ( or something like this ) to animate Y values of last point in data series. Is this suitable for your needs?
Best regards,
Yura
- Yura Khariton answered 4 years ago
-
ok will try this, thank you
- You must login to post comments
Please login first to submit.