Home › forums › Using CanvasJS › How to set color none in pie chart
Tagged: pie chart
This topic contains 2 replies, has 3 voices, and was last updated by Priyanka M S 1 year, 1 month ago.
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
You must be logged in to reply to this topic.