fix
This commit is contained in:
File diff suppressed because one or more lines are too long
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='lightweight_charts',
|
name='lightweight_charts',
|
||||||
version='2.2.26',
|
version='2.2.27',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
python_requires='>=3.8',
|
python_requires='>=3.8',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
|||||||
@ -285,10 +285,10 @@ export class Legend {
|
|||||||
if (!param.time) {
|
if (!param.time) {
|
||||||
this.candle.style.color = 'transparent'
|
this.candle.style.color = 'transparent'
|
||||||
this.candle.innerHTML = this.candle.innerHTML.replace(options['upColor'], '').replace(options['downColor'], '')
|
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 => {
|
this._lines.forEach(e => {
|
||||||
e.div.innerHTML = `<span style="color: ${e.solid};">▨ ${e.name} : --</span>`
|
e.row.style.display = 'none';
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user