This commit is contained in:
David Brazda
2024-11-15 09:35:55 +01:00
parent 3adf0b9ce3
commit ada85883c7
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
setup(
name='lightweight_charts',
version='2.2.26',
version='2.2.27',
packages=find_packages(),
python_requires='>=3.8',
install_requires=[

View File

@ -285,9 +285,9 @@ export class Legend {
if (!param.time) {
this.candle.style.color = 'transparent'
this.candle.innerHTML = this.candle.innerHTML.replace(options['upColor'], '').replace(options['downColor'], '')
// Add this to clear line indicators:
// Hide all line indicators rows
this._lines.forEach(e => {
e.div.innerHTML = `<span style="color: ${e.solid};">▨ ${e.name} : --</span>`
e.row.style.display = 'none';
});
return
}