Home forums Using CanvasJS doughnut canvas

This topic contains 3 replies, has 2 voices, and was last updated by  Suyash Singh 3 weeks, 2 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17657

    Alexander
    Member

    Hi,

    I want to create doughnut canvas ,
    with text inside,
    how can I do that?

    #17658

    Suyash Singh
    Moderator

    Alexander,

    You can place title inside Doughnut chart by using verticalAlign. Please have a look at this jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

    #17688

    Alexander
    Member

    Thanks,
    but my problem is that I have legend in my canvas,
    so, the center not fail into the chart

    #17699

    Suyash Singh
    Moderator

    Alexander,

    You can place the title in the center by setting the following properties within in the title object: dockInsidePlotArea to true & verticalAlign to "center".
    Please have a look at this updated jsfiddle.

    ___
    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.