Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Web UI: Replace plotly.js with echarts #1240

Merged
merged 7 commits into from
Feb 19, 2018

Conversation

defkev
Copy link
Contributor

@defkev defkev commented Jan 28, 2018

After a couple of days uptime the dashboard takes minutes to load, possibly even freezing the whole browser for a few seconds.
I have no idea why plotly.js is struggling so hard with just a few thousand datapoints and i don't even want to know what happens once we reach 10k...i suppose they have a serious memory leak somewhere.

Functionality is pretty much the same, just another library.

After running it for over a week i can indeed confirm it performs a lot better compared to plotly.

dashboard

@evseevnn-zz
Copy link
Contributor

Look strange)) Can we use just japanese candle?

@defkev defkev force-pushed the pr-webui-echarts branch 2 times, most recently from c8c1aa7 to 486c05a Compare February 8, 2018 16:35
@defkev defkev closed this Feb 9, 2018
This should drastically improve loading and response time of the dashboard with many datapoints.
* Limit initial zoom to 100 trades
* Move candle to the back
* Add plot for my_trades
* increase dataZoom startValue to 500 trades
* reduce left/right margin
* hide Chinese tooltips
@defkev defkev reopened this Feb 9, 2018
@DeviaVir DeviaVir merged commit 05fdc75 into DeviaVir:unstable Feb 19, 2018
@defkev defkev deleted the pr-webui-echarts branch February 19, 2018 09:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants