Home › forums › Using CanvasJS › \n in valueFormatString
This topic contains 1 reply, has 2 voices, and was last updated by Sunil Urs 5 years ago.
So my valueFormatString is currently “hh TT DD MMM” . It looks lengthy, if i try valueFormatString: “hh TT \n DD MMM” the \n dont work. It still shows in one line. html br tag doesn’t work either.
In order to wrap long labels you need to set labelMaxWidth as shown here.
You must be logged in to reply to this topic.