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

Support for multiline labels #129

Open
eerojala opened this issue Nov 9, 2021 · 0 comments
Open

Support for multiline labels #129

eerojala opened this issue Nov 9, 2021 · 0 comments
Labels
enhancement New feature or request will accept PR

Comments

@eerojala
Copy link

eerojala commented Nov 9, 2021

Hello. I would like to know if it is currently possible to split long labels into multiple lines. If this is not currently possible it is a feature I would like very much to have. In the mean time I am setting the rotation to 0 and then setting trimming as enabled, but would prefer to be able to use multiple lines for a single label.

In the original ApexCharts one is able to do this by separating the label at desired breaks and then giving the words as a sub-array as seen here.

I have tried using \n and <br /> within the labels and also using a css file with word-break: break-all, word-wrap:break-word and overflow-wrap: break-word, but none of them have worked.

@eerojala eerojala added the enhancement New feature or request label Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request will accept PR
Projects
None yet
Development

No branches or pull requests

2 participants