Tk Library Source Code

View Ticket
Login
2025-05-22
13:57 New ticket [5c3ef04594] Allow rotated horizontal axis labels. artifact: 235316dfd7 user: AlanGrunwald

Ticket UUID: 5c3ef045947ecc6bc3d18064a2127ed84068f221
Title: Allow rotated horizontal axis labels
Type: RFE Version: 2.7.0
Submitter: AlanGrunwald Created on: 2025-05-22 13:57:54
Subsystem: tklib :: plotchart Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2025-05-22 13:57:54
Resolution: None Closed By: nobody
    Closed on:
Description:
It often happens - particularly with TX plots - that the horizontal axis labels are unreadable because they overlap each other. An attractive solution to this would be to allow the user to specify (somehow) an angle through which the labels should be rotated, such as the -angle <rotationDegrees> option used for canvas text items.

As an attempted workaround, I've tried to create a  TXPlot and then rotate all text items with the tag taxis, via $c itemconfigure $item -angle -270 but this makes the canvas slightly higher than it was and leaves it with a grey stripe at the bottom, while the rest of the canvas has a whit background.

[Discussed on c.l.t, 11-May-2025]