Fix syntax error and add price format selector listener
This commit is contained in:
@ -319,6 +319,10 @@ constructor() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
handleScroll: {
|
handleScroll: {
|
||||||
|
vertTouchDrag: false,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
// Setup price format selector change handler
|
// Setup price format selector change handler
|
||||||
const priceSelect = document.getElementById("priceFormatSelect");
|
const priceSelect = document.getElementById("priceFormatSelect");
|
||||||
if (priceSelect) {
|
if (priceSelect) {
|
||||||
@ -329,9 +333,6 @@ constructor() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
vertTouchDrag: false,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
this.candleSeries = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
|
this.candleSeries = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
|
||||||
upColor: '#ff9800',
|
upColor: '#ff9800',
|
||||||
|
|||||||
Reference in New Issue
Block a user