Skip to content

Title and Legends don't center to chart area #4657

Description

@ChaseLewis

If you make a legend with a long horizontal Title and legend it becomes really obvious everything is not centered to the same point as the axes. I was able to fix this by having the draw methods of the legend & title plugin reassign their left & right to match the chart areas so they become properly centered aligned. However, i'd think this should be the default functionality of the library for the sake of making high quality graphs.

It also becomes egregiously obvious when you have a left & right y-axis of significantly differing lengths that it is not centered to the chart area.

This is in 2.6.0 which I thinks is the newest release, but felt it was worth reporting since I had a possible fix for it and having properly layed out text does a lot for the visual quality of the library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions