option = {
xAxis: {
type: 'category',
data: ["a", "b","c","d"]
},
yAxis: {
type: 'value',
name: 'km/s minus 299,000',
splitArea: {
show: true
}
},
series: {
name: 'boxplot',
type: 'boxplot',
data: [
[1, 2, 4, 5, 7],
[1, 2, 4, 5, 7],
{
name: "c",
value: [1,2,3,4,5]
},
[1, 2, 4, 5, 7]
]
}
};