Compare commits

...

2 Commits

2 changed files with 8 additions and 8 deletions

View File

@ -929,7 +929,7 @@ function renderIndicatorOnPane(indicator, meta, instance, candles, paneIndex, li
color: plotColor, color: plotColor,
lineWidth: plot.width || indicator.params._lineWidth || lineWidth, lineWidth: plot.width || indicator.params._lineWidth || lineWidth,
lineStyle: plotLineStyle, lineStyle: plotLineStyle,
title: plot.title || '', title: '',
priceLineVisible: false, priceLineVisible: false,
lastValueVisible: plot.lastValueVisible !== false lastValueVisible: plot.lastValueVisible !== false
}, paneIndex); }, paneIndex);

View File

@ -653,7 +653,7 @@ export function updateChartLegend() {
<div class="legend-item ${dimmed ? 'legend-dimmed' : ''} ${ind.id === configuringId ? 'legend-selected' : ''}" <div class="legend-item ${dimmed ? 'legend-dimmed' : ''} ${ind.id === configuringId ? 'legend-selected' : ''}"
data-id="${ind.id}"> data-id="${ind.id}">
<span class="legend-dot" style="background: ${firstColor};"></span> <span class="legend-dot" style="background: ${firstColor};"></span>
<span class="legend-label">${label}</span> <span class="legend-label"></span>
<span class="legend-close" data-id="${ind.id}" title="Remove">&times;</span> <span class="legend-close" data-id="${ind.id}" title="Remove">&times;</span>
</div> </div>
`; `;