Styling bar colors in Highcharts with a gradient issue

前端 未结 2 419
感情败类
感情败类 2020-12-15 17:56

I\'m trying to color the bars in highcharts with a gradient. What I have is coloring them, but the problem is, the gradient is spreading through the other data groups rather

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-15 18:52

    Add Setoptions in chart

     Highcharts.setOptions({
                colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572',     '#FF9655',              '#FFF263', '#6AF9C4']
              });
    

    Try this in fiddle

提交回复
热议问题