File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ const depth = 'depth'
15
15
const history = 'history'
16
16
const volume = 'volume'
17
17
const aggregatedKey = 'aggregated'
18
- const binance = 'binance'
19
18
const anHour = '1h'
20
19
const minuteMap = {
21
20
'30m' : 30 ,
@@ -582,7 +581,7 @@ export default class extends Controller {
582
581
settings . chart = depth
583
582
}
584
583
if ( settings . xc == null ) {
585
- settings . xc = binance
584
+ settings . xc = usesOrderbook ( settings . chart ) ? aggregatedKey : ' binance'
586
585
}
587
586
if ( settings . stack ) {
588
587
settings . stack = parseInt ( settings . stack )
Original file line number Diff line number Diff line change 147
147
data-target="market.chartSelect"
148
148
data-action="change->market#changeGraph"
149
149
>
150
- <option value="depth" data-target="market.depthOnly">Depth Chart</option>
150
+ <option value="depth" data-target="market.depthOnly" selected >Depth Chart</option>
151
151
<option value="orders" data-target="market.depthOnly">Order Book</option>
152
152
<option value="candlestick" data-target="market.sticksOnly">Candlesticks</option>
153
- <option value="history" data-target="market.sticksOnly" selected >Market History</option>
153
+ <option value="history" data-target="market.sticksOnly">Market History</option>
154
154
<option value="volume" data-target="market.sticksOnly">Volume</option>
155
155
156
156
</select>
You can’t perform that action at this time.
0 commit comments