option = {
xAxis: {},
yAxis: {},
color: ['#000', '#111', '#222'],
dataZoom: {
xAxisIndex: 0,
startValue: 45
},
series: [
{
id: 'k2',
type: 'scatter',
data: [
[10, 7],
[20, 7],
[30, 7],
[40, 7],
{
value: [50, 222],
itemStyle: {
normal: {
color: '#ff0'
}
}
}
],
itemStyle: {
normal: {
color: '#000'
}
}
}
]
}