reverted order method - not available in lightweight-charts v5
This commit is contained in:
@ -119,8 +119,6 @@ timeScale: {
|
|||||||
priceLineVisible: false,
|
priceLineVisible: false,
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
this.candleSeries.order(0);
|
|
||||||
|
|
||||||
this.currentPriceLine = this.candleSeries.createPriceLine({
|
this.currentPriceLine = this.candleSeries.createPriceLine({
|
||||||
price: 0,
|
price: 0,
|
||||||
color: '#26a69a',
|
color: '#26a69a',
|
||||||
|
|||||||
@ -772,7 +772,6 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li
|
|||||||
}
|
}
|
||||||
|
|
||||||
series.setData(data);
|
series.setData(data);
|
||||||
series.order(1);
|
|
||||||
indicator.series.push(series);
|
indicator.series.push(series);
|
||||||
plotsCreated++;
|
plotsCreated++;
|
||||||
console.log(`Created series for ${indicator.id}, plot=${plot.id}, total series now=${indicator.series.length}`);
|
console.log(`Created series for ${indicator.id}, plot=${plot.id}, total series now=${indicator.series.length}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user