Skip to content

add appropriate space for X tick labels with newlines#214

Merged
epezent merged 1 commit into
epezent:masterfrom
thejh:multi-line-x-tick-labels
Apr 10, 2021
Merged

add appropriate space for X tick labels with newlines#214
epezent merged 1 commit into
epezent:masterfrom
thejh:multi-line-x-tick-labels

Conversation

@thejh
Copy link
Copy Markdown
Contributor

@thejh thejh commented Apr 10, 2021

When painting a graph with densely labeled ticks on the X axis, it may be
necessary to add newlines in the labels to avoid label text overlap.

Reserve appropriate padding space for that.

Before this change:
newline-x-tick-orig
After this change:
newline-x-tick-fixed

When painting a graph with densely labeled ticks on the X axis, it may be
necessary to add newlines in the labels to avoid label text overlap.

Reserve appropriate padding space for that.
@epezent epezent merged commit 555ff68 into epezent:master Apr 10, 2021
@thejh thejh deleted the multi-line-x-tick-labels branch April 10, 2021 17:59
Ben1138 pushed a commit to Ben1138/implot that referenced this pull request Oct 2, 2024
When painting a graph with densely labeled ticks on the X axis, it may be
necessary to add newlines in the labels to avoid label text overlap.

Reserve appropriate padding space for that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants