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') { if (plot.type === 'histogram') {
series = window.dashboard.chart.addSeries(LightweightCharts.HistogramSeries, { series = window.dashboard.chart.addSeries(LightweightCharts.HistogramSeries, {
color: plotColor, color: plotColor,
priceFormat: { type: 'price', precision: 4, minMove: 0.0001 }, priceFormat: { type: 'price', precision: 0, minMove: 1 },
priceLineVisible: false, priceLineVisible: false,
lastValueVisible: false lastValueVisible: false
}, paneIndex); }, paneIndex);

View File

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