Pop time series data #1518
Labels
needs investigation
Needs further investigation.
proposal
This issue is a proposal, usually non-trivial change.
Milestone
Is your feature request related to a problem? Please describe.
I have implemented bar replay mode in my personal app. This is for things such as analysing price data as well as looking back at my past trades. Today, I don't believe there is a nice way to revert the latest bar(s). I have to perform a
setData()
operation on the time series, which resets the axes. This is the biggest pain point in the UX, since you often do not want the candles to be snapped back the right-hand side of the chart (especially with line titles enabled).I have created a PoC here: https://github.com/tpunt/lightweight-charts/tree/bar-pop
Describe the solution you'd like
I'd like to be able to simply remove bars from the end of the time series. This will provide a smooth UX when in replay mode.
Additional context
This is a demo of what I mean:
Screen.Recording.2024-02-13.at.09.08.33.mov
The text was updated successfully, but these errors were encountered: