股票k线图基础知识及k线图图解
苡璇
阅读:447
2024-05-17 16:17:18
评论:0
```html
Highcharts.stockChart('container', {
rangeSelector: {
selected: 1
},
title: {
text: '股票K线图实例'
},
series: [{
type: 'candlestick',
name: 'AAPL Stock Price',
data: [
[1483814400000, 116.15, 116.5, 115.59, 116.02],
[1483900800000, 115.85, 116.51, 115.75, 116.5],
[1484160000000, 116.74, 117.0, 115.8, 116.23],
// 在此添加更多数据点
],
tooltip: {
valueDecimals: 2
}
}]
});