Home forums Using CanvasJS \n in valueFormatString

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 2 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5597

    sarim
    Participant

    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.

    #5607

    Sunil Urs
    Keymaster

    Sarim,

    In order to wrap long labels you need to set labelMaxWidth as shown here.


    Sunil

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.