Skip to content

Commit

Permalink
Change alignment of chart legend to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
trots committed Oct 23, 2024
1 parent 0a3297c commit d7e09d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(self, model: ResultTableModel):
self.addSeries(self._series)
self._last_pen = None
self._last_brush = None
self.legend().setAlignment(Qt.AlignmentFlag.AlignLeft)

def rebuild(self):
self._series.clear()
Expand Down

0 comments on commit d7e09d6

Please sign in to comment.