Skip to content

Align legend labels to right/end #8661

Description

@Sergiobop

Hey, I'm working with doughnut charts, with a legend in the right section of the canvas (position: 'right').
I'm trying to achieve something like this:
Captura de pantalla 2021-03-18 a las 9 01 56

I'm trying to align the legend labels (the text with the % value, not the box) to the right, but i can't make it.
I tried position: 'right', align: 'right', in the legend configuration, but the text does not align to the 'right'.

Is this a bug or am i doing something wrong?

Captura de pantalla 2021-03-18 a las 9 02 56

Chart.js version ^3.0.0-beta.14

Thanks

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions