Pre loader

1

All Answers » Re: How to animate candlestick series update » Comments for "Re: How to animate candlestick series update"
  • Albert Albert
    Can we update X-value for a point in a line type of chart? As we see, there is only a function related to Y-value xyDataSeries.update(0, 22); // Updates the Y-value at index 0
  • Albert Albert
    Actually, we need to make an animated transition of a point from one XY coordinates to another (update of both axes coordinates simultaneously)
  • Andrew Burnett-Thompson
    You want to update the X-value of a candle? That would move the candle, is that the desired result? Perhaps you can share the desired result in a video or similar so we can advise.
  • Albert Albert
    I’m about line types of the chart (line and mountain) Here’s a reference of the desired behavior https://www.notion.so/Line-chart-update-reference-385cf2f3c5804e9ba9a51766bdb341a0
  • Andrew Burnett-Thompson
    Hi Albert, it looks like the same principle. At the moment there are no animations in the SciChart.js API, but you can use our DoubleAnimator function to animate an update to the X,Y values in a dataseries, which will give you the desired effect. Best regards, Andrew
  • Albert Albert
    Yes, but we can’t find how to update X-value. xyDataSeries.update allows to update only Y-value.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies