plotters-rs/plotters

[BUG] Rotated labels overlap with the chart

Opened this issue · 1 comments

Describe the bug

When drawing rotated axis labels (e.g. dates and times), they should not overlap with the chart -- their origin should not be at the center but at the top

image

Version Information

0.3.5

Additional info

See https://github.com/orgs/plotters-rs/discussions/466

I have the same problem. I tried using .pos(Pos::new(HPos::Left, VPos::Top)) alongside the font transform, but it didn't do anything 😕