Home forums Chart Support How to set color none in pie chart


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

    `type: “pie”,
    color: “none”,
    legendText: “Northwest_Monsoon”,
    showInLegend: true,

    This is my pie chart can I set color to something none and it should show default colors of pie when I am passing none it is showing blank


    If you get have color as “none” on the pie chart it will make everything invisible.
    Try deleting the ‘color: “none”,’ line that should show default colors.



    Setting color:"none" overrides the default color of dataPoints and hence it’s blank. Instead, you set color:null, for default colors.

    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.