Home Forums Feature Requests & Feedback Doughnut slices spacer?

Doughnut slices spacer?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #10374

    Hi there, thanks for this wonderful library.

    I’m posting here, maybe this feature its already present, but I wasn’t able to find it, and to be honest, I’m a bit out of time to create this function by myself.

    I’m using mainly the doughnut chart, and I would like to show some white line spacing between the slices, like in the following picture:

    Line spacing

    As well, I would like to show some text in the doughnut center, to be honest i’m lacking of that javascript experience to code it by myself, anyway here’s another pic:

    Center text

    Any help or hints would be really appreciated. Thanks!

    #10375

    Hi,

    As of now API wise CanvasJS don’t have any feature to show line spacing between the slices. But you can show text at the centre by using subtitles property. Here is an example.

    #10376

    Thanks Sanjoy!

    I will try to implement the spacer and then if success I’ll share the code.

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

You must be logged in to reply to this topic.