You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im implementing a lightweight charts into a pyqt5 gui, deleting an indicator doesnt seem to be removing it. like it would stop updating and reacting with price but it was still visually there and wouldnt be removed from the chart, ive tried stuff like this and it doesnt work
Code example
forindicator_name, lineinlist(self.indicators.items()):
line.delete() # Remove the line from the chartlogging.debug(f"Deleted indicator: {indicator_name}")
# Clear the indicators dictionaryself.indicators.clear()
# Force an update or re-render of the chart to reflect changesself.chart.repaint() # Trigger a repaint if availableself.chart.update() # Call update() if repaint alone is insufficient
The text was updated successfully, but these errors were encountered:
Question
im implementing a lightweight charts into a pyqt5 gui, deleting an indicator doesnt seem to be removing it. like it would stop updating and reacting with price but it was still visually there and wouldnt be removed from the chart, ive tried stuff like this and it doesnt work
Code example
The text was updated successfully, but these errors were encountered: