Can RGraph labels wrap automatically?

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Raja on 27th June 2014
I have a big label text and I need to wrap the text based on some width or something.
Please let me know if there's any way to achieve it.

Thanks & Regards,
Raja JP
Posted by Richard on 27th June 2014
There's no auto-wrap but you can add \r\n into your test to do explicit wraps. You could easily insert those into your labels after a certain number of characters:

obj.set('labels', ['A long\r\nlabel' ...]);


Add a reply

« Back to message list