Set price format precision to 0 (integer) and minMove to 1 for all series

This commit is contained in:
DiTus
2026-03-18 22:58:17 +01:00
parent 276ea8bdd5
commit cbba89ef0f
2 changed files with 3 additions and 3 deletions

View File

@ -906,7 +906,7 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li
if (plot.type === 'histogram') {
series = window.dashboard.chart.addSeries(LightweightCharts.HistogramSeries, {
color: plotColor,
priceFormat: { type: 'price', precision: 4, minMove: 0.0001 },
priceFormat: { type: 'price', precision: 0, minMove: 1 },
priceLineVisible: false,
lastValueVisible: false
}, paneIndex);

View File

@ -550,8 +550,8 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li
color: plotColor,
priceFormat: {
type: 'price',
precision: 4,
minMove: 0.0001
precision: 0,
minMove: 1
},
priceLineVisible: false,
lastValueVisible: false