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, 2 months ago.

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


    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.



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


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

You must be logged in to reply to this topic.