设置了y轴min以及max为dataMin、dataMax
但是当我缩小到不能缩放的时候,y轴最小值变成为0
而没有根据可视区域内的最高点以及最低点来设置y轴的最小值以及最大值
配置项如下
option = {
"title": {
"show": false,
"text": "",
"left": 0
},
"tooltip": {
"trigger": "none",
"axisPointer": {
"type": "cross"
}
},
"axisPointer": {
"label": {
"backgroundColor": "#cccccc",
"textStyle": {
"color": "#333333",
"fontSize": 12
}
},
"link": {
"xAxisIndex": "all"
}
},
"grid": [{
"left": "0",
"right": "13%",
"bottom": "0%",
"top": "5%",
"height": "75%"
}, {
"left": "5%",
"right": "13%",
"top": "90%",
"bottom": "0",
"height": "10%"
}],
"xAxis": [{
"type": "category",
"gridIndex": 0,
"data": ["12-17-2015", "12-18-2015", "12-21-2015", "12-22-2015", "12-23-2015", "12-24-2015", "12-28-2015", "12-29-2015", "12-30-2015", "12-31-2015", "01-04-2016", "01-05-2016", "01-06-2016", "01-07-2016", "01-08-2016", "01-11-2016", "01-12-2016", "01-13-2016", "01-14-2016", "01-15-2016", "01-19-2016", "01-20-2016", "01-21-2016", "01-22-2016", "01-25-2016", "01-26-2016", "01-27-2016", "01-28-2016", "01-29-2016", "02-01-2016", "02-03-2016", "02-04-2016", "02-05-2016", "02-08-2016", "02-09-2016", "02-10-2016", "02-11-2016", "02-12-2016", "02-16-2016", "02-17-2016", "02-18-2016", "02-19-2016", "02-22-2016", "02-23-2016", "02-24-2016", "02-25-2016", "02-26-2016", "02-29-2016", "03-01-2016", "03-02-2016", "03-03-2016", "03-04-2016", "03-07-2016", "03-08-2016", "03-09-2016", "03-11-2016", "03-14-2016", "03-15-2016", "03-16-2016", "03-17-2016", "03-18-2016", "03-21-2016", "03-22-2016", "03-23-2016", "03-28-2016", "03-29-2016", "03-30-2016", "04-01-2016", "04-04-2016", "04-05-2016", "04-06-2016", "04-07-2016", "04-08-2016", "04-11-2016", "04-12-2016", "04-13-2016", "04-14-2016", "04-15-2016", "04-18-2016", "04-19-2016", "04-20-2016", "04-21-2016", "04-25-2016", "04-26-2016", "04-27-2016", "04-28-2016", "04-29-2016", "05-02-2016", "05-03-2016", "05-04-2016", "05-05-2016", "05-06-2016", "05-09-2016", "05-10-2016", "05-12-2016", "05-13-2016", "05-16-2016", "05-17-2016", "05-18-2016", "05-19-2016", "05-20-2016", "05-23-2016", "05-24-2016", "05-25-2016", "05-26-2016", "05-27-2016", "05-31-2016", "06-01-2016", "06-02-2016", "06-03-2016", "06-06-2016", "06-07-2016", "06-08-2016", "06-09-2016", "06-10-2016", "06-13-2016", "06-14-2016", "06-15-2016", "06-16-2016", "06-17-2016", "06-20-2016", "06-21-2016", "06-22-2016", "06-23-2016", "06-24-2016", "06-27-2016", "06-28-2016", "06-29-2016", "06-30-2016", "07-05-2016", "07-06-2016", "07-07-2016", "07-08-2016", "07-11-2016", "07-12-2016", "07-13-2016", "07-14-2016", "07-15-2016", "07-18-2016", "07-19-2016", "07-20-2016", "07-21-2016", "07-22-2016", "07-25-2016", "07-26-2016", "07-27-2016", "07-28-2016", "07-29-2016", "08-01-2016", "08-02-2016", "08-04-2016", "08-05-2016", "08-08-2016", "08-09-2016", "08-10-2016", "08-11-2016", "08-12-2016", "08-15-2016", "08-16-2016", "08-17-2016", "08-19-2016", "08-22-2016", "08-23-2016", "08-24-2016", "08-25-2016", "08-26-2016", "08-29-2016", "08-31-2016", "09-01-2016", "09-02-2016", "09-06-2016", "09-07-2016", "09-08-2016", "09-09-2016", "09-12-2016", "09-13-2016", "09-14-2016", "09-15-2016", "09-16-2016", "09-19-2016", "09-20-2016", "09-21-2016", "09-22-2016", "09-23-2016", "09-26-2016", "09-27-2016", "09-28-2016", "09-29-2016", "09-30-2016", "10-03-2016", "10-04-2016", "10-05-2016", "10-07-2016", "10-10-2016", "10-11-2016", "10-12-2016", "10-13-2016", "10-14-2016", "10-17-2016", "10-18-2016", "10-19-2016", "10-20-2016", "10-21-2016", "10-24-2016", "10-25-2016", "10-26-2016", "10-27-2016", "10-28-2016", "10-31-2016", "11-01-2016", "11-02-2016", "11-03-2016", "11-04-2016", "11-07-2016", "11-08-2016", "11-09-2016", "11-10-2016", "11-11-2016", "11-15-2016", "11-16-2016", "11-17-2016", "11-18-2016", "11-21-2016", "11-22-2016", "11-23-2016", "11-25-2016", "11-28-2016", "11-29-2016", "11-30-2016", "12-01-2016", "12-02-2016", "12-05-2016", "12-06-2016", "12-07-2016", "12-08-2016", "12-09-2016", "12-12-2016", "12-13-2016", "12-14-2016", "12-15-2016", "12-16-2016", "12-19-2016", "12-20-2016", "12-21-2016", "12-22-2016", "12-23-2016", "12-27-2016", "12-28-2016", "12-29-2016", "12-30-2016", "01-03-2017", "01-04-2017", "01-05-2017", "01-06-2017", "01-09-2017", "01-10-2017", "01-11-2017", "01-13-2017", "01-18-2017", "01-19-2017", "01-20-2017", "01-23-2017", "01-24-2017", "01-25-2017", "01-26-2017", "01-27-2017", "01-30-2017", "01-31-2017", "02-01-2017", "02-02-2017", "02-03-2017", "02-06-2017", "02-07-2017", "02-08-2017", "02-09-2017", "02-10-2017", "02-13-2017", "02-14-2017", "02-15-2017", "02-16-2017", "02-17-2017", "02-21-2017", "02-22-2017", "02-23-2017", "02-24-2017", "02-27-2017", "02-28-2017", "03-01-2017", "03-02-2017", "03-03-2017", "03-06-2017", "03-07-2017", "03-08-2017", "03-09-2017", "03-10-2017", "03-13-2017", "03-14-2017", "03-15-2017", "03-16-2017", "03-17-2017", "03-20-2017", "03-21-2017", "03-22-2017", "03-23-2017", "03-24-2017", "03-27-2017", "03-28-2017", "03-29-2017", "03-30-2017", "03-31-2017", "04-03-2017", "04-04-2017", "04-05-2017", "04-06-2017", "04-07-2017", "04-10-2017", "04-11-2017", "04-12-2017", "04-13-2017", "04-17-2017", "04-18-2017", "04-19-2017", "04-20-2017", "04-21-2017", "04-24-2017", "04-25-2017", "04-26-2017", "04-28-2017", "05-01-2017", "05-02-2017", "05-03-2017", "05-04-2017", "05-08-2017", "05-09-2017", "05-10-2017", "05-11-2017", "05-12-2017", "05-15-2017", "05-16-2017", "05-17-2017", "05-18-2017", "05-19-2017", "05-22-2017", "05-23-2017", "05-24-2017", "05-25-2017", "05-26-2017", "05-30-2017", "05-31-2017", "06-01-2017", "06-02-2017", "06-05-2017", "06-06-2017", "06-07-2017", "06-08-2017", "06-09-2017", "06-12-2017", "06-13-2017", "06-14-2017", "06-15-2017", "06-16-2017", "06-19-2017", "06-20-2017", "06-21-2017", "06-22-2017", "06-23-2017", "06-26-2017", "06-27-2017", "06-28-2017", "06-29-2017", "06-30-2017", "07-03-2017", "07-05-2017", "07-06-2017", "07-07-2017", "07-10-2017", "07-11-2017", "07-12-2017", "07-13-2017", "07-14-2017", "07-17-2017", "07-18-2017", "07-19-2017", "07-21-2017", "07-24-2017", "07-25-2017", "07-26-2017", "07-27-2017", "07-28-2017", "07-31-2017", "08-01-2017", "08-02-2017", "08-03-2017", "08-04-2017", "08-07-2017", "08-08-2017", "08-09-2017", "08-10-2017", "08-11-2017", "08-14-2017"],
"scale": true,
"boundaryGap": true,
"axisLine": {
"show": false
},
"axisTick": {
"show": false
},
"splitLine": {
"show": false
},
"axisLabel": {
"textStyle": {
"color": "#999999",
"fontSize": 12
}
},
"min": "dataMin",
"max": "dataMax",
"axisPointer": {
"z": 100
}
}, {
"type": "category",
"gridIndex": 1,
"data": ["12-17-2015", "12-18-2015", "12-21-2015", "12-22-2015", "12-23-2015", "12-24-2015", "12-28-2015", "12-29-2015", "12-30-2015", "12-31-2015", "01-04-2016", "01-05-2016", "01-06-2016", "01-07-2016", "01-08-2016", "01-11-2016", "01-12-2016", "01-13-2016", "01-14-2016", "01-15-2016", "01-19-2016", "01-20-2016", "01-21-2016", "01-22-2016", "01-25-2016", "01-26-2016", "01-27-2016", "01-28-2016", "01-29-2016", "02-01-2016", "02-03-2016", "02-04-2016", "02-05-2016", "02-08-2016", "02-09-2016", "02-10-2016", "02-11-2016", "02-12-2016", "02-16-2016", "02-17-2016", "02-18-2016", "02-19-2016", "02-22-2016", "02-23-2016", "02-24-2016", "02-25-2016", "02-26-2016", "02-29-2016", "03-01-2016", "03-02-2016", "03-03-2016", "03-04-2016", "03-07-2016", "03-08-2016", "03-09-2016", "03-11-2016", "03-14-2016", "03-15-2016", "03-16-2016", "03-17-2016", "03-18-2016", "03-21-2016", "03-22-2016", "03-23-2016", "03-28-2016", "03-29-2016", "03-30-2016", "04-01-2016", "04-04-2016", "04-05-2016", "04-06-2016", "04-07-2016", "04-08-2016", "04-11-2016", "04-12-2016", "04-13-2016", "04-14-2016", "04-15-2016", "04-18-2016", "04-19-2016", "04-20-2016", "04-21-2016", "04-25-2016", "04-26-2016", "04-27-2016", "04-28-2016", "04-29-2016", "05-02-2016", "05-03-2016", "05-04-2016", "05-05-2016", "05-06-2016", "05-09-2016", "05-10-2016", "05-12-2016", "05-13-2016", "05-16-2016", "05-17-2016", "05-18-2016", "05-19-2016", "05-20-2016", "05-23-2016", "05-24-2016", "05-25-2016", "05-26-2016", "05-27-2016", "05-31-2016", "06-01-2016", "06-02-2016", "06-03-2016", "06-06-2016", "06-07-2016", "06-08-2016", "06-09-2016", "06-10-2016", "06-13-2016", "06-14-2016", "06-15-2016", "06-16-2016", "06-17-2016", "06-20-2016", "06-21-2016", "06-22-2016", "06-23-2016", "06-24-2016", "06-27-2016", "06-28-2016", "06-29-2016", "06-30-2016", "07-05-2016", "07-06-2016", "07-07-2016", "07-08-2016", "07-11-2016", "07-12-2016", "07-13-2016", "07-14-2016", "07-15-2016", "07-18-2016", "07-19-2016", "07-20-2016", "07-21-2016", "07-22-2016", "07-25-2016", "07-26-2016", "07-27-2016", "07-28-2016", "07-29-2016", "08-01-2016", "08-02-2016", "08-04-2016", "08-05-2016", "08-08-2016", "08-09-2016", "08-10-2016", "08-11-2016", "08-12-2016", "08-15-2016", "08-16-2016", "08-17-2016", "08-19-2016", "08-22-2016", "08-23-2016", "08-24-2016", "08-25-2016", "08-26-2016", "08-29-2016", "08-31-2016", "09-01-2016", "09-02-2016", "09-06-2016", "09-07-2016", "09-08-2016", "09-09-2016", "09-12-2016", "09-13-2016", "09-14-2016", "09-15-2016", "09-16-2016", "09-19-2016", "09-20-2016", "09-21-2016", "09-22-2016", "09-23-2016", "09-26-2016", "09-27-2016", "09-28-2016", "09-29-2016", "09-30-2016", "10-03-2016", "10-04-2016", "10-05-2016", "10-07-2016", "10-10-2016", "10-11-2016", "10-12-2016", "10-13-2016", "10-14-2016", "10-17-2016", "10-18-2016", "10-19-2016", "10-20-2016", "10-21-2016", "10-24-2016", "10-25-2016", "10-26-2016", "10-27-2016", "10-28-2016", "10-31-2016", "11-01-2016", "11-02-2016", "11-03-2016", "11-04-2016", "11-07-2016", "11-08-2016", "11-09-2016", "11-10-2016", "11-11-2016", "11-15-2016", "11-16-2016", "11-17-2016", "11-18-2016", "11-21-2016", "11-22-2016", "11-23-2016", "11-25-2016", "11-28-2016", "11-29-2016", "11-30-2016", "12-01-2016", "12-02-2016", "12-05-2016", "12-06-2016", "12-07-2016", "12-08-2016", "12-09-2016", "12-12-2016", "12-13-2016", "12-14-2016", "12-15-2016", "12-16-2016", "12-19-2016", "12-20-2016", "12-21-2016", "12-22-2016", "12-23-2016", "12-27-2016", "12-28-2016", "12-29-2016", "12-30-2016", "01-03-2017", "01-04-2017", "01-05-2017", "01-06-2017", "01-09-2017", "01-10-2017", "01-11-2017", "01-13-2017", "01-18-2017", "01-19-2017", "01-20-2017", "01-23-2017", "01-24-2017", "01-25-2017", "01-26-2017", "01-27-2017", "01-30-2017", "01-31-2017", "02-01-2017", "02-02-2017", "02-03-2017", "02-06-2017", "02-07-2017", "02-08-2017", "02-09-2017", "02-10-2017", "02-13-2017", "02-14-2017", "02-15-2017", "02-16-2017", "02-17-2017", "02-21-2017", "02-22-2017", "02-23-2017", "02-24-2017", "02-27-2017", "02-28-2017", "03-01-2017", "03-02-2017", "03-03-2017", "03-06-2017", "03-07-2017", "03-08-2017", "03-09-2017", "03-10-2017", "03-13-2017", "03-14-2017", "03-15-2017", "03-16-2017", "03-17-2017", "03-20-2017", "03-21-2017", "03-22-2017", "03-23-2017", "03-24-2017", "03-27-2017", "03-28-2017", "03-29-2017", "03-30-2017", "03-31-2017", "04-03-2017", "04-04-2017", "04-05-2017", "04-06-2017", "04-07-2017", "04-10-2017", "04-11-2017", "04-12-2017", "04-13-2017", "04-17-2017", "04-18-2017", "04-19-2017", "04-20-2017", "04-21-2017", "04-24-2017", "04-25-2017", "04-26-2017", "04-28-2017", "05-01-2017", "05-02-2017", "05-03-2017", "05-04-2017", "05-08-2017", "05-09-2017", "05-10-2017", "05-11-2017", "05-12-2017", "05-15-2017", "05-16-2017", "05-17-2017", "05-18-2017", "05-19-2017", "05-22-2017", "05-23-2017", "05-24-2017", "05-25-2017", "05-26-2017", "05-30-2017", "05-31-2017", "06-01-2017", "06-02-2017", "06-05-2017", "06-06-2017", "06-07-2017", "06-08-2017", "06-09-2017", "06-12-2017", "06-13-2017", "06-14-2017", "06-15-2017", "06-16-2017", "06-19-2017", "06-20-2017", "06-21-2017", "06-22-2017", "06-23-2017", "06-26-2017", "06-27-2017", "06-28-2017", "06-29-2017", "06-30-2017", "07-03-2017", "07-05-2017", "07-06-2017", "07-07-2017", "07-10-2017", "07-11-2017", "07-12-2017", "07-13-2017", "07-14-2017", "07-17-2017", "07-18-2017", "07-19-2017", "07-21-2017", "07-24-2017", "07-25-2017", "07-26-2017", "07-27-2017", "07-28-2017", "07-31-2017", "08-01-2017", "08-02-2017", "08-03-2017", "08-04-2017", "08-07-2017", "08-08-2017", "08-09-2017", "08-10-2017", "08-11-2017", "08-14-2017"],
"scale": true,
"boundaryGap": true,
"axisLine": {
"onZero": false,
"lineStyle": {
"color": "#dddddd"
}
},
"axisTick": {
"show": false,
"interval": 1
},
"splitLine": {
"show": false,
"lineStyle": {
"color": ["#f5f5f5"]
}
},
"splitNumber": 20,
"axisLabel": {
"show": false,
"textStyle": {
"color": "#999",
"fontSize": 10
}
},
"min": "dataMin",
"max": "dataMax",
"axisPointer": {
"label": {}
}
}],
"yAxis": [{
"scale": true,
"gridIndex": 0,
"splitArea": {
"show": false
},
"axisLabel": {
"textStyle": {
"color": "#999",
"fontSize": 12
}
},
"axisLine": {
"lineStyle": {
"color": "#dddddd"
}
},
"min": "dataMin",
"max": "dataMax",
"position": "right"
}, {
"scale": true,
"gridIndex": 1,
"axisLabel": {
"show": false,
"textStyle": {
"color": "#999",
"fontSize": 12
}
},
"axisLine": {
"show": false,
"lineStyle": {
"color": "#dddddd"
}
},
"axisTick": {
"show": false,
"lineStyle": {}
},
"splitLine": {
"show": false
},
"axisPointer": {
"label": {}
},
"min": "0",
"max": "dataMax",
"position": "right",
"interval": 104374
}],
"dataZoom": [{
"type": "inside",
"xAxisIndex": [0, 1],
"startValue": 362,
"endValue": 399
}],
"series": [{
"name": "日K",
"type": "candlestick",
"data": [
[9.01, 9.05, 9, 9.05],
[9.05, 8.94, 8.94, 9.16],
[9.17, 9.1, 9.1, 9.17],
[9.11, 9.12, 9.11, 9.12],
[9.23, 9.28, 9.23, 9.28],
[9.3, 9.33, 9.3, 9.33],
[9.21, 9.4, 9.2, 9.4],
[9.2, 9.2, 9.07, 9.2],
[9.03, 9.13, 9.03, 9.13],
[9.11, 9.1, 8.95, 9.12],
[8.95, 8.89, 8.78, 8.95],
[8.89, 8.88, 8.86, 8.89],
[8.77, 8.77, 8.77, 8.79],
[8.59, 8.6, 8.57, 8.67],
[8.54, 8.53, 8.5, 8.54],
[8.45, 8.51, 8.38, 8.51],
[8.62, 8.56, 8.46, 8.62],
[8.56, 8.42, 8.4, 8.73],
[8.53, 8.44, 8.32, 8.53],
[8.31, 8.35, 8.31, 8.36],
[8.37, 8.31, 8.31, 8.37],
[8.2, 8.08, 8.01, 8.25],
[8.29, 8.19, 8.02, 8.29],
[8.21, 8.46, 8.21, 8.46],
[8.31, 8.26, 8.26, 8.32],
[8.47, 8.48, 8.24, 8.57],
[8.35, 8.53, 8.35, 8.53],
[8.5, 8.46, 8.46, 8.56],
[8.7, 8.76, 8.64, 8.76],
[8.73, 8.7, 8.56, 9.02],
[8.63, 8.53, 8.44, 8.63],
[8.43, 8.37, 8.37, 8.8],
[8.46, 8.29, 8.29, 8.59],
[8.2, 8.21, 8.18, 8.29],
[8.09, 8.13, 8.09, 8.2],
[8.09, 8.09, 8.09, 8.09],
[8.03, 7.94, 7.93, 8.03],
[7.97, 8.08, 7.96, 8.08],
[7.86, 8.2, 7.86, 8.24],
[8.3, 8.32, 8.23, 8.37],
[8.31, 8.25, 8.25, 8.38],
[8.32, 8.33, 8.32, 8.33],
[8.35, 8.34, 8.34, 8.38],
[8.23, 8.23, 8.23, 8.23],
[8.21, 8.21, 8.21, 8.21],
[8.19, 8.2, 8.09, 8.2],
[8.22, 8.22, 8.2, 8.39],
[8.11, 8.3, 8.07, 8.3],
[8.42, 8.51, 8.42, 8.54],
[8.64, 8.67, 8.64, 8.67],
[8.81, 8.77, 8.77, 8.81],
[8.77, 8.94, 8.77, 8.95],
[8.96, 8.95, 8.95, 8.97],
[8.78, 8.86, 8.74, 8.91],
[8.91, 8.92, 8.91, 8.93],
[9.04, 9.05, 9.04, 9.05],
[8.96, 9, 8.96, 9],
[8.91, 8.9, 8.88, 8.95],
[8.9, 9.03, 8.87, 9.03],
[9.12, 9.14, 9.11, 9.14],
[9.15, 9.12, 9.11, 9.19],
[9.11, 9.13, 9.09, 9.16],
[9.01, 9.14, 9.01, 9.34],
[9.06, 9.04, 9, 9.1],
[8.9, 8.88, 8.84, 9.03],
[8.95, 8.98, 8.95, 8.98],
[9.19, 9.17, 9.09, 9.33],
[9.01, 9.13, 8.98, 9.13],
[9.09, 9.06, 8.96, 9.13],
[8.92, 8.92, 8.92, 8.92],
[8.96, 8.93, 8.72, 8.96],
[8.92, 8.84, 8.82, 8.92],
[8.88, 8.9, 8.87, 8.9],
[8.99, 8.98, 8.98, 9.01],
[8.94, 9.1, 8.94, 9.1],
[9.18, 9.23, 9.18, 9.28],
[9.28, 9.28, 9.25, 9.28],
[9.06, 9.3, 8.91, 9.3],
[9.27, 9.34, 9.27, 9.34],
[9.36, 9.44, 9.36, 9.48],
[9.44, 9.43, 9.4, 9.44],
[9.41, 9.43, 9.41, 9.46],
[9.36, 9.37, 9.36, 9.43],
[9.34, 9.4, 9.33, 9.4],
[9.32, 9.38, 9.32, 9.46],
[9.34, 9.35, 9.34, 9.44],
[9.33, 9.24, 9.04, 9.33],
[9.27, 9.2, 9.19, 9.27],
[9.12, 9.09, 9.08, 9.13],
[9.02, 8.98, 8.95, 9.02],
[9.04, 8.95, 8.95, 9.08],
[8.95, 8.96, 8.95, 8.96],
[8.99, 8.85, 8.85, 8.99],
[9, 9, 9, 9],
[9, 9, 9, 9],
[8.96, 8.9, 8.88, 8.96],
[8.83, 8.92, 8.83, 8.93],
[8.93, 8.95, 8.93, 8.99],
[8.9, 8.92, 8.9, 8.92],
[8.89, 8.81, 8.76, 8.89],
[8.8, 8.87, 8.8, 8.92],
[8.87, 8.87, 8.87, 8.89],
[8.86, 8.95, 8.86, 8.95],
[8.99, 9.01, 8.98, 9.05],
[9.05, 9.06, 9.04, 9.08],
[9.11, 9.11, 9.11, 9.11],
[9.14, 9.14, 9.12, 9.14],
[9.05, 9.13, 9.05, 9.14],
[9.18, 9.18, 9.18, 9.18],
[9.21, 9.32, 9.21, 9.32],
[9.46, 9.42, 9.39, 9.46],
[9.48, 9.48, 9.46, 9.52],
[9.5, 9.5, 9.48, 9.53],
[9.41, 9.43, 9.41, 9.43],
[9.33, 9.29, 9.25, 9.33],
[9.23, 9.17, 9.17, 9.23],
[9.11, 9.13, 9.07, 9.13],
[9.17, 9.17, 9.13, 9.17],
[9.13, 9.09, 9.09, 9.36],
[9.16, 9.14, 9.09, 9.16],
[9.34, 9.28, 9.28, 9.62],
[9.34, 9.34, 9.31, 9.34],
[9.41, 9.41, 9.41, 9.41],
[9.51, 9.49, 9.48, 9.54],
[9.18, 9.14, 9.14, 9.24],
[9.01, 9.04, 8.99, 9.04],
[9.18, 9.24, 9.18, 9.24],
[9.31, 9.43, 9.31, 9.43],
[9.48, 9.56, 9.46, 9.56],
[9.52, 9.54, 9.49, 9.54],
[9.49, 9.43, 9.4, 9.49],
[9.47, 9.4, 9.4, 9.49],
[9.53, 9.56, 9.53, 9.56],
[9.65, 9.67, 9.65, 9.67],
[9.72, 9.75, 9.7, 9.78],
[9.75, 9.78, 9.75, 9.78],
[9.8, 9.86, 9.8, 9.87],
[9.75, 9.8, 9.63, 9.84],
[9.81, 9.81, 9.81, 9.82],
[9.68, 9.49, 9.39, 9.68],
[9.49, 9.59, 9.49, 9.59],
[9.64, 9.61, 9.56, 9.65],
[9.62, 9.62, 9.62, 9.62],
[9.66, 9.66, 9.6, 9.68],
[9.72, 9.67, 9.67, 9.72],
[9.72, 9.77, 9.69, 9.77],
[9.86, 9.7, 9.7, 9.86],
[9.83, 9.74, 9.68, 9.83],
[9.77, 9.77, 9.77, 9.77],
[9.68, 9.68, 9.68, 9.68],
[9.69, 9.69, 9.69, 9.69],
[9.77, 9.77, 9.77, 9.77],
[9.78, 9.83, 9.78, 9.85],
[9.82, 9.93, 9.82, 9.93],
[9.9, 9.91, 9.9, 9.91],
[9.9, 9.99, 9.9, 9.99],
[9.97, 9.99, 9.97, 10],
[10, 10.04, 10, 10.04],
[9.99, 9.96, 9.96, 9.99],
[9.87, 9.88, 9.87, 9.9],
[9.94, 9.92, 9.92, 9.95],
[9.88, 9.9, 9.86, 9.93],
[9.99, 9.91, 9.91, 10],
[9.91, 9.93, 9.91, 9.95],
[9.94, 9.98, 9.94, 9.98],
[9.97, 9.9, 9.9, 10.03],
[9.81, 9.89, 9.81, 9.9],
[9.86, 9.89, 9.86, 9.9],
[9.9, 9.91, 9.9, 9.92],
[10.03, 10.07, 10.03, 10.07],
[10.16, 10.23, 10.16, 10.23],
[10.18, 10.18, 10.18, 10.18],
[10.2, 10.24, 10.15, 10.24],
[10.13, 10.13, 10.1, 10.16],
[10.03, 10.09, 10.03, 10.09],
[9.98, 9.9, 9.9, 9.98],
[9.9, 9.94, 9.9, 9.94],
[9.97, 10.04, 9.93, 10.27],
[10.03, 9.99, 9.99, 10.03],
[10, 10, 10, 10.03],
[9.93, 9.96, 9.92, 9.96],
[9.98, 10.07, 9.96, 10.07],
[10.11, 10.14, 10.11, 10.15],
[10.11, 10.1, 10.1, 10.11],
[10.07, 10.05, 10.03, 10.07],
[10.04, 10.09, 10.04, 10.11],
[10.13, 10.12, 10.04, 10.14],
[9.99, 10.08, 9.99, 10.1],
[10.04, 10.05, 10.02, 10.07],
[10.05, 10.09, 10.05, 10.09],
[10.1, 10.1, 10.07, 10.11],
[10.14, 10.15, 10.1, 10.21],
[10.14, 10.12, 10.12, 10.14],
[10.2, 10.17, 10.15, 10.2],
[10.06, 10.05, 9.97, 10.06],
[10.04, 9.96, 9.93, 10.04],
[9.87, 9.85, 9.82, 9.87],
[9.89, 9.81, 9.81, 9.9],
[9.75, 9.77, 9.75, 9.8],
[9.85, 9.85, 9.85, 9.85],
[9.86, 9.84, 9.84, 9.91],
[9.77, 9.84, 9.77, 9.89],
[9.79, 9.78, 9.78, 9.79],
[9.83, 9.82, 9.75, 9.92],
[9.82, 9.82, 9.82, 9.82],
[9.83, 9.83, 9.83, 9.83],
[9.72, 9.73, 9.71, 9.73],
[9.7, 9.7, 9.7, 9.7],
[9.7, 9.74, 9.67, 9.74],
[9.72, 9.72, 9.72, 9.72],
[9.66, 9.68, 9.65, 9.7],
[9.69, 9.65, 9.65, 9.69],
[9.65, 9.61, 9.58, 9.65],
[9.67, 9.68, 9.43, 9.9],
[9.72, 9.7, 9.69, 9.72],
[9.58, 9.57, 9.53, 9.6],
[9.51, 9.45, 9.45, 9.59],
[9.39, 9.38, 9.34, 9.39],
[9.38, 9.31, 9.23, 9.38],
[9.26, 9.18, 9.18, 9.26],
[9.19, 9.19, 9.19, 9.2],
[9.14, 9.14, 9.14, 9.14],
[9.23, 9.15, 9.11, 9.23],
[9.22, 9.23, 9.21, 9.31],
[9.18, 9.23, 9.18, 9.3],
[9.29, 9.5, 9.29, 9.5],
[9.46, 9.37, 9.32, 9.46],
[9.33, 9.35, 9.3, 9.35],
[9.3, 9.3, 9.3, 9.32],
[9.3, 9.28, 9.28, 9.31],
[9.27, 9.27, 9.27, 9.33],
[9.24, 9.37, 9.24, 9.44],
[9.37, 9.4, 9.37, 9.4],
[9.4, 9.44, 9.39, 9.44],
[9.5, 9.46, 9.42, 9.5],
[9.44, 9.42, 9.4, 9.45],
[9.37, 9.33, 9.33, 9.39],
[9.3, 9.3, 9.2, 9.38],
[9.3, 9.32, 9.3, 9.32],
[9.32, 9.26, 9.14, 9.32],
[9.18, 9.13, 9.13, 9.2],
[9.07, 9.15, 9.07, 9.19],
[9.15, 9.15, 9.13, 9.17],
[9.11, 9.1, 9.1, 9.13],
[9.06, 9.05, 9.05, 9.09],
[9.05, 9.02, 9.02, 9.05],
[8.94, 9.03, 8.94, 9.03],
[9.04, 9.07, 9.04, 9.07],
[9.08, 9.1, 9.08, 9.1],
[9.13, 9.16, 9.12, 9.2],
[9.2, 9.24, 9.2, 9.28],
[9.26, 9.32, 9.26, 9.32],
[9.35, 9.44, 9.35, 9.44],
[9.41, 9.4, 9.38, 9.42],
[9.43, 9.51, 9.43, 9.51],
[9.5, 9.5, 9.5, 9.57],
[9.53, 9.57, 9.53, 9.57],
[9.57, 9.57, 9.57, 9.57],
[9.52, 9.53, 9.52, 9.58],
[9.55, 9.55, 9.55, 9.55],
[9.53, 9.52, 9.52, 9.53],
[9.6, 9.64, 9.59, 9.89],
[9.79, 9.75, 9.75, 9.79],
[9.82, 9.81, 9.75, 9.82],
[9.82, 9.82, 9.8, 9.89],
[9.92, 9.86, 9.85, 9.92],
[9.82, 9.82, 9.81, 9.84],
[9.82, 9.85, 9.82, 9.85],
[9.87, 9.96, 9.87, 9.96],
[9.89, 9.98, 9.89, 9.98],
[10.05, 10.01, 10.01, 10.05],
[10.03, 9.98, 9.98, 10.03],
[10.01, 9.97, 9.94, 10.01],
[10, 10.06, 10, 10.08],
[10.03, 10.12, 10.03, 10.12],
[10.16, 10.18, 10.15, 10.19],
[10.18, 10.18, 10.17, 10.18],
[10.15, 10.17, 10.15, 10.18],
[10.17, 10.18, 9.86, 10.18],
[10.05, 10.14, 9.98, 10.14],
[10.14, 10.1, 10.07, 10.14],
[10.02, 10.14, 10.02, 10.16],
[10.14, 10.21, 10.14, 10.23],
[10.12, 10.15, 10.12, 10.2],
[10.03, 10.12, 10.03, 10.12],
[10.1, 10.15, 10.1, 10.15],
[10.01, 10.06, 10.01, 10.14],
[10.05, 10.19, 10.05, 10.21],
[10.08, 10.08, 10.08, 10.12],
[10.1, 10.11, 10.07, 10.11],
[10.09, 10.09, 10.09, 10.09],
[10.11, 10.15, 10.11, 10.19],
[10.18, 10.21, 10.17, 10.23],
[10.2, 10.18, 10.12, 10.22],
[10.24, 10.26, 10.24, 10.26],
[10.38, 10.38, 10.38, 10.38],
[10.3, 10.34, 10.3, 10.34],
[10.39, 10.48, 10.38, 10.48],
[10.51, 10.51, 10.51, 10.51],
[10.56, 10.62, 10.55, 10.62],
[10.58, 10.62, 10.58, 10.66],
[10.63, 10.65, 10.62, 10.72],
[10.51, 10.63, 10.5, 10.66],
[10.63, 10.76, 10.63, 10.84],
[10.73, 10.79, 10.71, 10.79],
[10.73, 10.89, 10.65, 10.97],
[10.84, 11.03, 10.84, 11.09],
[11.03, 11.15, 11.03, 11.25],
[11.4, 11.37, 11.15, 11.4],
[11.27, 11.29, 11.27, 11.39],
[11.3, 11.37, 11.3, 11.41],
[11.36, 11.34, 11.26, 11.39],
[11.39, 11.42, 11.38, 11.5],
[11.41, 11.35, 11.35, 11.41],
[11.42, 11.37, 11.37, 11.42],
[11.37, 11.37, 11.37, 11.37],
[11.35, 11.37, 11.34, 11.37],
[11.37, 11.47, 11.37, 11.47],
[11.42, 11.42, 11.42, 11.42],
[11.43, 11.35, 11.35, 11.46],
[11.32, 11.13, 11.04, 11.32],
[11.18, 11.18, 11.14, 11.19],
[11.21, 11.33, 11.21, 11.33],
[11.23, 11.3, 11.12, 11.3],
[11.36, 11.4, 11.36, 11.4],
[11.4, 11.48, 11.39, 11.49],
[11.5, 11.56, 11.45, 11.58],
[11.69, 11.59, 11.56, 11.74],
[11.55, 11.69, 11.55, 11.69],
[11.68, 11.66, 11.66, 11.69],
[11.65, 11.71, 11.65, 11.71],
[11.85, 11.75, 11.66, 11.85],
[11.7, 11.65, 11.65, 11.75],
[11.63, 11.69, 11.63, 11.74],
[11.69, 11.7, 11.69, 11.7],
[11.74, 11.95, 11.7, 11.97],
[11.8, 11.91, 11.8, 11.94],
[11.96, 12, 11.95, 12],
[12.02, 12.06, 12.02, 12.06],
[12.01, 12.06, 12, 12.09],
[11.89, 12.01, 11.89, 12.01],
[12.08, 12.11, 11.93, 12.11],
[12.07, 12.11, 11.98, 12.11],
[12.06, 12.12, 12.03, 12.12],
[12.19, 12.09, 12.06, 12.2],
[12.05, 12.13, 12.05, 12.13],
[12.11, 12.19, 12.06, 12.19],
[12.15, 12.17, 12.15, 12.17],
[12.18, 12.09, 12.09, 12.18],
[12.19, 12.18, 12.11, 12.19],
[12.2, 12.35, 12.2, 12.35],
[12.37, 12.55, 12.36, 12.73],
[12.54, 12.7, 12.54, 12.91],
[12.7, 12.69, 12.66, 12.72],
[12.65, 12.45, 12.44, 12.65],
[12.32, 12.32, 12.23, 12.5],
[12.3, 12.13, 12.07, 12.48],
[12.2, 11.98, 11.83, 12.39],
[12.1, 12.2, 11.82, 12.2],
[12.25, 12.24, 12.21, 12.26],
[12.28, 12.23, 12.23, 12.28],
[12.15, 12.26, 12.15, 12.28],
[12.24, 12.1, 12.1, 12.27],
[12.03, 12.13, 11.87, 12.15],
[12.17, 12.15, 12.15, 12.2],
[12.14, 12.14, 12.14, 12.14],
[12.27, 12.26, 12.23, 12.28],
[12.35, 12.21, 12.21, 12.35],
[12.08, 12.11, 12.08, 12.16],
[12.11, 12.11, 12.1, 12.17],
[11.99, 11.89, 11.89, 12.2],
[12.01, 11.89, 11.89, 12.11],
[11.97, 12.08, 11.95, 12.11],
[12.02, 12, 12, 12.17],
[12.01, 12.06, 12.01, 12.1],
[12.17, 12.17, 12.17, 12.17],
[12.15, 12.15, 12.15, 12.15],
[12.14, 12.3, 12.14, 12.3],
[12.21, 12.3, 12.21, 12.3],
[12.25, 12.31, 12.24, 12.36],
[12.17, 12.23, 12.17, 12.23],
[12.18, 12.31, 12.18, 12.33],
[12.32, 12.68, 12.31, 12.68],
[12.76, 12.88, 12.76, 12.89],
[12.78, 12.6, 12.6, 12.78],
[12.27, 12.44, 12.27, 12.71],
[12.85, 12.85, 12.65, 12.85],
[12.78, 12.79, 12.75, 12.79],
[12.78, 12.78, 12.6, 12.78],
[12.79, 12.79, 12.79, 12.79],
[12.82, 12.6, 12.6, 12.82],
[12.5, 12.48, 12.48, 12.5],
[12.79, 12.78, 12.55, 12.81],
[12.77, 12.58, 12.57, 12.77],
[12.55, 12.55, 12.55, 12.55],
[12.43, 12.43, 12.43, 12.43],
[12.28, 12.28, 12.28, 12.28],
[12.27, 12.27, 12.27, 12.35],
[12.9, 12.9, 12.9, 12.9],
[12.67, 12.67, 12.67, 12.67]
],
"itemStyle": {
"normal": {
"color": "#00ab00",
"color0": "#e93030",
"borderColor": "#00ab00",
"borderColor0": "#e93030"
}
},
"markArea": {
"silent": true,
"itemStyle": {
"normal": {
"color": "#f2dbdb",
"borderWidth": 1,
"borderType": "dashed",
"borderColor": "#f2dbdb"
}
},
"data": []
},
"markLine": {
"symbol": ["none", "none"],
"lineStyle": {
"normal": {
"color": "#da9be8",
"width": 2
},
"emphasis": {
"color": "#da9be8",
"width": 2
}
},
"data": []
}
}, {
"name": "Volumn",
"type": "bar",
"xAxisIndex": 1,
"yAxisIndex": 1,
"data": [5621, 3378, 1700, 1428, 13938, 4260, 15564, 5980, 417, 8795, 3113, 1716, 3599, 21586, 5174, 4237, 4422, 5913, 3547, 11533, 1459, 16852, 4243, 1017, 2827, 10405, 1096, 1649, 1000, 8746, 11121, 3200, 9512, 43088, 1581, 100, 3400, 3872, 2002, 1328, 3084, 600, 4139, 200, 200, 756, 29411, 18861, 2150, 2013, 500, 1634, 1118, 3847, 1500, 1201, 6789, 1144, 4376, 477, 3221, 3853, 7574, 6804, 8773, 861, 2689, 5819, 8806, 200, 12542, 8910, 1254, 2077, 549, 2846, 1700, 12100, 2253, 8002, 3300, 10102, 4738, 6320, 3748, 2116, 4162, 3547, 2533, 3596, 7502, 200, 3800, 300, 1984, 3599, 2685, 2748, 1349, 3928, 5439, 1700, 3041, 10025, 1368, 1203, 1800, 1985, 500, 5050, 1300, 4444, 6306, 578, 4996, 2000, 1930, 4400, 2014, 4800, 3975, 1833, 200, 9570, 2833, 1322, 6489, 2838, 8318, 23092, 3172, 1763, 2200, 1141, 1810, 4755, 7808, 3251, 2799, 38650, 900, 3510, 104374, 1126, 907, 1314, 2017, 6489, 231, 2760, 100, 1500, 3306, 2821, 2134, 5027, 5326, 18696, 21460, 1945, 13720, 6003, 3984, 10236, 438, 2600, 3400, 25319, 500, 12099, 3460, 336, 6213, 14576, 297, 2158, 1000, 2276, 1380, 3476, 800, 4307, 3122, 745, 5569, 4263, 7125, 1469, 8856, 4155, 15371, 38596, 1191, 4296, 7165, 534, 1677, 2101, 3003, 700, 1216, 4631, 775, 3162, 112, 111, 2308, 537, 940, 301, 8257, 1829, 3431, 10208, 5691, 5753, 4528, 1840, 10125, 1698, 1729, 406, 10200, 3816, 1210, 409, 12065, 600, 2404, 1413, 1417, 4708, 1500, 1445, 2255, 991, 3584, 17117, 2748, 8396, 11640, 5728, 3376, 2996, 2235, 2724, 10326, 1758, 2859, 4599, 1305, 5386, 3454, 1997, 1384, 5964, 2535, 241, 2590, 2600, 1197, 3259, 500, 22275, 15469, 2107, 1800, 1580, 200, 357, 1750, 500, 1433, 1550, 10739, 1447, 2085, 2608, 13411, 1647, 1482, 4317, 5814, 5600, 1402, 13062, 1881, 7771, 2260, 5611, 1196, 7754, 16466, 19335, 1875, 4705, 5384, 17065, 400, 945, 1100, 17769, 15567, 3180, 2500, 3738, 2129, 7574, 4338, 4968, 7119, 2922, 7600, 2854, 1649, 500, 10264, 300, 1000, 5286, 3550, 13486, 700, 4368, 1647, 6373, 11498, 1328, 3900, 2500, 1000, 2480, 1650, 7232, 225, 3006, 1440, 2511, 401, 14095, 5664, 2680, 4429, 5298, 7550, 1500, 4000, 8002, 1391, 2700, 2337, 12104, 11214, 2583, 2950, 1699, 3910, 3631, 15342, 2228, 5670, 1952, 13890, 4881, 4391, 505, 14260, 1800, 2787, 2295, 2250, 900, 8870, 9314, 1093, 165, 200, 4595, 2252, 2487, 1498, 2237, 8000, 1495, 500, 2377, 1092, 480, 759, 335, 1224, 1451, 5631, 834, 1000, 163, 200, 1523, 200, 829],
"itemStyle": {
"normal": {}
}
}, {
"type": "custom",
"name": "area",
"xAxisIndex": 0,
"yAxisIndex": 0,
"label": {
"normal": {
"show": false,
"position": "top"
}
},
"dimensions": [],
"encode": {
"x": [0, 1],
"y": [2, 3],
"tooltip": [0, 1, 2, 3],
"itemName": [2]
},
"data": [{
"name": "CandleStickArea",
"value": [0, 0, 0, 0],
"itemStyle": {
"normal": {
"color": "",
"borderWidth": 0,
"borderType": "dotted",
"borderColor": ""
}
}
}]
},{
"type": "custom",
"name": "supportline",
"xAxisIndex": 0,
"yAxisIndex": 0,
"label": {
"normal": {
"show": false,
"position": "top"
}
},
"dimensions": [],
"encode": {
"x": [0, 1],
"y": [2, 3],
"tooltip": [0, 1, 2, 3],
"itemName": [2]
},
renderItem(params, api) {
const start = api.coord([api.value(0), api.value(2)]);
const end = api.coord([api.value(1), api.value(3)]);
const style = api.style();
return {
type: 'line',
shape: {
x1: start[0],
y1: start[1],
x2: end[0],
y2: end[1]
},
style
};
},
"data": [{
"name": "CandleStickSupportLine",
"value": [367, 396, 11.638499999999999, 12.65495],
"itemStyle": {
"normal": {
"color": "#da9be8",
"borderWidth": 2,
"borderType": "dotted",
"borderColor": "#da9be8"
}
}
}]
}, {
"type": "custom",
"name": "resistanceline",
"xAxisIndex": 0,
"yAxisIndex": 0,
"label": {
"normal": {
"show": false,
"position": "top"
}
},
"dimensions": [],
"encode": {
"x": [0, 1],
"y": [2, 3],
"tooltip": [0, 1, 2, 3],
"itemName": [2]
},
renderItem(params, api) {
const start = api.coord([api.value(0), api.value(2)]);
const end = api.coord([api.value(1), api.value(3)]);
const style = api.style();
return {
type: 'line',
shape: {
x1: start[0],
y1: start[1],
x2: end[0],
y2: end[1]
},
style
};
},
"data": [{
"name": "CandleStickResistanceLine",
"value": [367, 396, 13.05, 12.760000000000002],
"itemStyle": {
"normal": {
"color": "#da9be8",
"borderWidth": 2,
"borderType": "dotted",
"borderColor": "#da9be8"
}
}
}]
}],
"backgroundColor": "rgba(255,255,255,1)"
}