配置项如下
option = {
grid: {
top: '60%',
bottom: '20%',
right: '10%'
},
xAxis: {
data: [
'',
'',
'',
'卖方并购',
'',
'',
'',
'',
'',
'大宗交易',
'',
'',
'',
'',
'投资并购',
'',
'',
'',
'',
'港股IPO',
'',
'',
'',
'',
'精品交易',
'',
'',
'',
'',
'',
'',
'股权融资'
]
},
yAxis: {
type: 'value',
scale: true,
max: 12,
min: 0,
interval: 4
},
series: [
{
type: 'candlestick',
data: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[3, 4, 2, 5],
[4, 6, 3, 7],
[7, 9, 5, 10],
[5, 8, 4, 9],
[6, 6.5, 5, 7.5],
[0, 0, 0, 0],
[6, 9, 5, 10],
[4, 6, 3, 7],
[5, 7, 4, 8],
[6, 9, 5, 10],
[6.5, 9, 5.5, 10],
[4.1, 7.8, 3.1, 8.8],
[6, 7, 5, 8],
[0, 0, 0, 0],
[4, 6.5, 3, 7.5],
[4, 6, 3, 7],
[0, 0, 0, 0],
[5, 7.5, 4, 8.5],
[6, 8.5, 5, 9.5],
[5.5, 6, 4.5, 7],
[0, 0, 0, 0],
[5, 7, 4, 8],
[5, 9.5, 4, 10.5],
[6.5, 9, 5.5, 10],
[3, 7, 2, 8],
[6, 9, 5, 10],
[3, 7, 2, 8],
[5, 9.6, 4, 10.6],
[4.5, 7.5, 3.5, 8.5],
[4, 6, 3, 7]
]
}
]
};