Tk Library Source Code

View Ticket
Login
Ticket UUID: eb4101adc5c41042cb832b42416621f3542aef48
Title: Legend for right axis is not drawn correctly
Type: Bug Version:
Submitter: arjenmarkus Created on: 2023-03-19 10:03:11
Subsystem: tklib :: plotchart Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-03-19 16:13:06
Resolution: Fixed Closed By: arjenmarkus
    Closed on: 2023-03-19 16:13:06
Description:
Markus Freiberg has noted that the legend is not drawn correctly (wrong colours, symbols, sometimes nothing is added) and has provided a patch for this.
User Comments: arjenmarkus added on 2023-03-19 16:13:06:
The patch as provided was not sufficient: if you set a data series for both the ordinary plot and the right axis with the same name, the wrong text would be shown and the wrong colouring and symbols. I devised a somewhat different solution instead, encoding the left or right axis in the series itself. Otherwise the patch is pretty much his.

Attachments: