Home forums Using CanvasJS Text inside Doughnut Chart

This topic contains 1 reply, has 2 voices, and was last updated by  Naveen Venugopal 1 year, 3 months ago.

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

    tomthomas
    Member

    I am using CanvasJS default percent Doughnut Chart. I am not knowing how to add text inside the Doughtnut as Multiline.
    Also, it will be good if the doughnut size increases slightly based on the text inside. Otherwise, the chart would look crammed. This requirement is optional, but nice to have.

    #9269

    tomthomas,

    You can make it multiline using indexLabelWrap & indexLabelMaxWidth properties. Here is an example.


    Naveen

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

You must be logged in to reply to this topic.