Toggle navigation
类股票分时图,中间11:30 - 13:30 这段没有交易的间隔如何去掉?
By
7个字东方闪电
2018-11-23 02:37:01
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
option = { "title": { "left": 0, "text": "" }, "tooltip": { "trigger": "axis", "axisPointer": { "type": "cross", "triggerOn": "none", "crossStyle": { "color": "#3285ea", "type": "solid" }, "snap": true } }, "axisPointer": { "show": true, "type": "line", "triggerOn": "mousemove", "lineStyle": { "color": "#3285ea" }, "snap": true }, "grid": [{ "left": "2%", "right": "7%" }], "xAxis": { "type": "time", "left": 0, "min": 1542936300000, "max": 1542956400000, "splitNumber": 1, "boundaryGap": false, "data": ["09:29:00", "09:30:00", "09:31:00", "09:32:00", "09:33:00", "09:34:00", "09:35:00", "09:36:00", "09:37:00", "09:38:00", "09:39:00", "09:40:00", "09:41:00", "09:42:00", "09:43:00", "09:44:00", "09:45:00", "09:46:00", "09:47:00", "09:48:00", "09:49:00", "09:50:00", "09:51:00", "09:52:00", "09:53:00", "09:54:00", "09:55:00", "09:56:00", "09:57:00", "09:58:00", "09:59:00", "10:00:00", "10:01:00", "10:02:00", "10:03:00", "10:04:00", "10:05:00", "10:06:00", "10:07:00", "10:08:00", "10:09:00", "10:10:00", "10:11:00", "10:12:00"], "axisPointer": { "label": {} }, "axisLabel": { "textStyle": { "fontSize": 20, "color": "#3E454D" } } }, "yAxis": { "position": "right", "name": "分时", "axisLabel": { "textStyle": { "fontSize": 20, "color": "#3E454D" } }, "splitLine": { "lineStyle": { "color": "#1a1e24", "width": 2 } }, "splitNumber": 3, "type": "value", "boundaryGap": [0, "100%"], "min": "4430.8", "max": "4516.0" }, "series": [{ "name": "分时", "type": "line", "smooth": true, "symbol": "none", "sampling": "average", "itemStyle": { "normal": { "color": "#84b3ff" } }, "areaStyle": { "normal": { "color": { "x": 0, "y": 0, "x2": 0, "y2": 1, "type": "linear", "global": false, "colorStops": [{ "offset": 0, "color": "#2b3c59", "opacity": 0.2 }, { "offset": 1, "color": "#2b3c59", "opacity": 0.2 }] } } }, "data": [ [1542936540000, "4514.0"], [1542936600000, "4510.8"], [1542936660000, "4516.0"], [1542936720000, "4509.0"], [1542936780000, "4491.4"], [1542936840000, "4494.4"], [1542936900000, "4493.8"], [1542936960000, "4496.2"], [1542937020000, "4491.0"], [1542937080000, "4483.8"], [1542937140000, "4479.0"], [1542937200000, "4489.6"], [1542937260000, "4490.8"], [1542937320000, "4484.6"], [1542937380000, "4485.2"], [1542937440000, "4477.6"], [1542937500000, "4476.4"], [1542937560000, "4480.8"], [1542937620000, "4479.2"], [1542937680000, "4479.0"], [1542937740000, "4470.6"], [1542937800000, "4467.2"], [1542937860000, "4469.2"], [1542937920000, "4467.2"], [1542937980000, "4469.4"], [1542938040000, "4466.8"], [1542938100000, "4464.0"], [1542938160000, "4463.2"], [1542938220000, "4451.0"], [1542938280000, "4446.6"], [1542938340000, "4448.2"], [1542938400000, "4442.6"], [1542938460000, "4443.0"], [1542938520000, "4446.0"], [1542938580000, "4446.6"], [1542938640000, "4441.4"], [1542938700000, "4444.2"], [1542938760000, "4438.2"], [1542938820000, "4444.2"], [1542938880000, "4438.4"], [1542938940000, "4435.4"], [1542939000000, "4430.8"], [1542939060000, "4437.6"], [1542939120000, "4438.6"] ] }] }