Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Wrap Long Labels...

Open jbhorsewriter7 opened this issue 10 years ago • 3 comments

Is there any way to wrap really long labels?

jbhorsewriter7 avatar Feb 11 '16 18:02 jbhorsewriter7

@jbhorsewriter7 this is currently not possible. You would need to replace the calls to fillText with something that wraps text onto multiple lines

etimberg avatar Feb 12 '16 01:02 etimberg

@etimberg How would you do that?

jbhorsewriter7 avatar Feb 12 '16 19:02 jbhorsewriter7

I guess that another alternative would be if there was some way for me to set the minimum height of the chart itself (not including the labels). Is that possible?

jbhorsewriter7 avatar Feb 12 '16 19:02 jbhorsewriter7