Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

How to turn on panning automatically right after extendTraces?

I have a candlestick chart and want to make it dynamic, so new items will be added from a stream.
This is an example with dynamic update.

The issue with this example is that it’s trying to fit all items within the chart viewport, so oldest candles are not shifting to the left and chart is trying to scale down all of them.
Is it possible to pan them to the left automatically on every update, instead of scaling them?
Also, I need the whole history of all candles, so I don’t want to remove any of the old ones, I want to shift them.
Thanks.