Home forums Chart Support Adjacent wedges in a donut chart has same color

Tagged: , ,

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

    Hi,

    When using the light1 theme on a donut chart, I have a situation where I get two wedges (sections) with the same color. When I use light2 the wedges are different colors, but I prefer light1. I’ve created an example on this jsfiddle: http://jsfiddle.net/63mxdyv9/

    Thanks

    #29788

    @arthurtechninjas-co-za,

    Each theme has its own color-set and each of these color-set has a pre-defined set of colors that rotates when all of them(colors) have been used.

    You can add your own color-set to chart by using the addColorSet method. Please refer to this documentation page for more information on the same.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.