I have sample code for question here: http://jsfiddle.net/pzamora/ztxPr/1/
I have different colors in my series, however I need them to appear in the legend
series: [{ name: 'V Genes',
data:
[
{
count: 18320.0,
y: 0.92,
color: '#3D96AE'
},
{
count: 1337.0,
y: 0.17,
color: '#3D96AE'
},
{
count: 33970.0,
y: 1.71,
color: '#4572A7'
},
{
count: 1221.0,
y: 1.06,
color: '#3D96AE'
},
{
count: 22073.0,
y: 1.11,
color: '#4572A7'
},
{
count: 8331.0,
y: 0.42,
color: '#3D96AE'
},
{
count: 64974.0,
y: 3.27,
color: '#4572A7'
},
{
count: 9532.0,
y: 0.48,
color: '#3D96AE'
},
{
count: 18106.0,
y: 0.91,
color: '#4572A7'
}
]
}]
..I matched x values with the category position but I am not getting all my data displayed on the chart
@jsfiddle: http://jsfiddle.net/pzamora/phrP7/4/
You could do the following:
colorfor the legend in each seriesAdd
xparameter to each value so they don’t overlapAdd
stacking: 'normalto theplotOptionsso that the values are in the middle of each column.