我在这里有问题示例代码:http://jsfiddle.net/pzamora/ztxPr/1/
我的系列中有不同的颜色,但我需要它们出现在图例中
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: …Run Code Online (Sandbox Code Playgroud)