Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to center label inside the Chart when using multiline label #26

Open
oskarsh opened this issue Dec 15, 2019 · 3 comments

Comments

@oskarsh
Copy link

oskarsh commented Dec 15, 2019

Basically if you use \n and create a new line it will not be centered instead if will be aligned to the left like the default text. Would be really great if it would be possible to center the label

@kaarens93
Copy link

Yes that would be a great feature.
@daehruoydeef Have you found a workaround for this?

@oskarsh
Copy link
Author

oskarsh commented Jan 4, 2020

@kaarens93 no not yet, a really dirty workaround would be to add whitespace before the first line but this is not a great workaround by any means. I will probably fork the library and add some more customization options.

@codedotman
Copy link

@daehruoydeef is there any workaround to style the texts differently, I'm currently using \n to create and separate the texts.

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

No branches or pull requests

3 participants