project-nv / night-vision

Highly customizable charting library, created for professional traders
https://nightvision.dev
MIT License
250 stars 58 forks source link

Abount fullReset flicker #79

Closed wk1210 closed 1 year ago

wk1210 commented 1 year ago

Description

When using fullReset for updating, the screen flickers, which is a problem. Currently, I can only use fullReset for updating because using chart.update("data") only updates the candles, and the x-axis does not update simultaneously.

Suggested solution

Is there any other update interface that can meet the requirements or prevent fullReset from flickering?

Alternative

No response

Additional context

No response

Validations

C451 commented 1 year ago

Yeah, this is a known problem. No solution for now (it happens because we need to wait for a response from an overlay to detect the dimensions of the pane. But it takes one tick, so you see the result of the adjustment)

wk1210 commented 1 year ago

Sure, I understand. If Night Vision fixes this issue in the future, please include a mention of it in the version update notes. Thank you again for your response.