How can I change the colors of my highcharts piechart?

前端 未结 8 648
不知归路
不知归路 2020-12-13 17:15

I\'m using highcharts to make a piechart but I\'m having trouble loading a custom color set for my chart.

Here is my code:

     

        
8条回答
  •  遥遥无期
    2020-12-13 17:40

    I had the same problem. In highcharts.css there's a section called "Default colors". After I deleted this section, I could use custom colors. Anyway, I guess you do not need highcharts.css if you use version v5.0.4 or higher.

提交回复
热议问题