forked from DeviaVir/zenbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web UI: Replace plotly.js with echarts (DeviaVir#1240)
* Web UI: Replace plotly.js with echarts This should drastically improve loading and response time of the dashboard with many datapoints. * Web UI: More * Limit initial zoom to 100 trades * Move candle to the back * Add plot for my_trades * Web UI: Move Volume behind candle * Web UI: Chart * increase dataZoom startValue to 500 trades * reduce left/right margin * hide Chinese tooltips * Web UI: Fix candlestick data order * Web UI: Fix profit not printed if 0
- Loading branch information
Showing
5 changed files
with
172 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
var echarts = require('echarts/lib/echarts'); | ||
|
||
require('echarts/lib/chart/line'); | ||
require('echarts/lib/chart/bar'); | ||
require('echarts/lib/chart/candlestick'); | ||
require('echarts/lib/chart/scatter'); | ||
require('echarts/lib/component/tooltip'); | ||
require('echarts/lib/component/dataZoom'); | ||
require('echarts/lib/component/markPoint'); | ||
require('echarts/lib/component/toolbox'); | ||
|
||
module.exports = echarts; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters