I need some help with coloring my chart. I would like to use a particular color for a particular data segment. In other words, if I have a chunk of data called "Win", I always want this to be "green". Reordering the data is not an option for me. I use styled mode. I went through some discussions here for similar issues, however I cannot find a complete solution.
For example:
Code: Select all
{
series: [{ data: [{ name: 'Win', y: 10, className: 'highcharts-color-2' }, { name: 'Loss', y: 5, className: 'highcharts-color-1' }] }]
}
I hope someone could help with this. I find it really hard to make such a simple thing works.
Thanks in advance.