Reputation: 3250
How do I achieve this with highcharts? I need to have one column in green, and 1 stacked column with red and orange.
No other series. Just one with these 2 columns.
Here is a picture of what I mean:
Upvotes: 0
Views: 30
Reputation: 5826
You can simply use individual color for every point:
series: [{
data: [{
y: 1,
color: 'green'
}, {
y: 2,
color: 'red'
}]
}, {
data: [{
y: 3,
color: 'orange'
}]
}]
Live demo: http://jsfiddle.net/kkulig/cdfyo3y1/
API reference: https://api.highcharts.com/highcharts/series.column.data.color
Upvotes: 1