New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repeated callback alters Candlestick/OHLC data #241
Comments
I'm facing a similar issue, except the main difference is that I have a "Next" button that's designed to let me iterate bar-by-bar through some market data. I have the data loaded into a database, and i'm iterating through the documents/rows of the dbase one-by-one and trying to display. I'm using plotly.graph_objs.Candlestick. I'm also using collections.queue to limit the number of candlesticks I want to display. I'm basically seeing the same exact issue as you when I click "Next". But I did observe that if I click "Autoscale" then it fixes everything and I get exactly what I wanted. I've search all over the web and played with both the Graph.animate and Layout.autorange settings. But nothing seems to automatically "Autoscale" the Grape. I'm wondering if you click "Autoscale" (upper right hand corner) does that solve the issue for you? If so, then I'm wondering if there's some sort of Autoscale bug here? |
Fixed by plotly/dash-core-components#184, upgrade with:
|
Fix display of ConfirmDialogProvider if not used in a callback.
When candlestick and ohlc chart types are repeatedly updated, data is wrongly transformed.
For example,
(1) select AAPL from dropdown
(2) select AAPL again and data transforms
(3) select AAPL again and data transforms again
(4) ... so on
Run below script and repeatedly select ticker options.
The text was updated successfully, but these errors were encountered: