diff --git a/src/api/dashboard/static/js/ui/indicators-panel-new.js b/src/api/dashboard/static/js/ui/indicators-panel-new.js index 33a85e6..81266c2 100644 --- a/src/api/dashboard/static/js/ui/indicators-panel-new.js +++ b/src/api/dashboard/static/js/ui/indicators-panel-new.js @@ -290,7 +290,7 @@ return `
- + ${indicator.params._lineWidth || 2}
@@ -695,7 +695,7 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li topFillColor2: '#00000000', bottomFillColor1: '#00000000', bottomColor: plot.bottomColor || '#00000000', - lineWidth: plot.width !== undefined ? plot.width : lineWidth, + lineWidth: indicator.params._lineWidth || plot.width || lineWidth, lineStyle: plotLineStyle, title: plot.title || '', priceLineVisible: false, @@ -704,7 +704,7 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li } else { series = window.dashboard.chart.addSeries(LightweightCharts.LineSeries, { color: plotColor, - lineWidth: plot.width !== undefined ? plot.width : lineWidth, + lineWidth: indicator.params._lineWidth || plot.width || lineWidth, lineStyle: plotLineStyle, title: plot.title || '', priceLineVisible: false,