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

Not possible to set certain properties of Legend's ItemStyle #532

Open
tepi opened this issue Aug 3, 2018 · 1 comment
Open

Not possible to set certain properties of Legend's ItemStyle #532

tepi opened this issue Aug 3, 2018 · 1 comment

Comments

@tepi
Copy link

tepi commented Aug 3, 2018

When using Legend.setItemStyle method you need to use the com.vaadin.addon.charts.model.style.Style class. This class is missing properties for "textOverflow" and "width" which are needed to make proper wrapping and/or ellipsis for the legend items.

Additionally, legend.setItemWidth seems to do absolutely nothing which is why I need the "width" attribute for the ItemStyle.

@Seb-Sch
Copy link

Seb-Sch commented Oct 30, 2018

same here! I need to set the textOverflow property.
Any workarounds?

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

2 participants