Rgraph label wrap

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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
Hi,
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' ...]);





Richard

Add a reply




« Back to message list