Toggle navigation
折线图折线小白点的疏密度
By
紫色的召唤
2018-06-24 10:25:27
脚本
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 = { backgroundColor: '#212427', "tooltip": { "trigger": "axis" }, "color": ["#D96D32", "#54A0BC", "#484B75", "#74404A"], "legend": { "bottom": "35px", "left": "center", "data": [{ "name": "保险", "icon": "circle" }, { "name": "国债", "icon": "circle" }], "textStyle": { "color": "#fff" }, "top": "10px" }, "grid": { "top": "35px", "left": "45px", "right": "35px", "bottom": "65px" }, "dataZoom": [{ "show": true, "realtime": true, "textStyle": { "color": "#fff" }, "start": 0, "end": 100, "dataBackground": { "areaStyle": { "color": "#fff" }, "lineStyle": { "color": "#fff" } } }, { "type": "inside", "realtime": true, "start": 0, "end": 100 }], "xAxis": { "type": "category", "boundaryGap": false, "data": ["2014-02-07", "2014-02-14", "2014-02-21", "2014-02-28", "2014-03-07", "2014-03-14", "2014-03-21", "2014-03-28", "2014-04-04", "2014-04-11", "2014-04-18", "2014-04-25", "2014-05-09", "2014-05-16", "2014-05-23", "2014-05-30", "2014-06-06", "2014-06-13", "2014-06-20", "2014-06-27", "2014-07-04", "2014-07-11", "2014-07-18", "2014-07-25", "2014-08-01", "2014-08-08", "2014-08-15", "2014-08-22", "2014-08-29", "2014-09-05", "2014-09-12", "2014-09-19", "2014-09-26", "2014-10-10", "2014-10-17", "2014-10-24", "2014-10-31", "2014-11-07", "2014-11-14", "2014-11-21", "2014-11-28", "2014-12-05", "2014-12-12", "2014-12-19", "2014-12-26", "2015-01-09", "2015-01-16", "2015-01-23", "2015-01-30", "2015-02-06", "2015-02-13", "2015-02-27", "2015-03-06", "2015-03-13", "2015-03-20", "2015-03-27", "2015-04-03", "2015-04-10", "2015-04-17", "2015-04-24", "2015-05-08", "2015-05-15", "2015-05-22", "2015-05-29", "2015-06-05", "2015-06-12", "2015-06-19", "2015-06-26", "2015-07-03", "2015-07-10", "2015-07-17", "2015-07-24", "2015-07-31", "2015-08-07", "2015-08-14", "2015-08-21", "2015-08-28", "2015-09-11", "2015-09-18", "2015-09-25", "2015-10-09", "2015-10-16", "2015-10-23", "2015-10-30", "2015-11-06", "2015-11-13", "2015-11-20", "2015-11-27", "2015-12-04", "2015-12-11", "2015-12-18", "2015-12-25", "2016-01-08", "2016-01-15", "2016-01-22", "2016-01-29", "2016-02-05", "2016-02-19", "2016-02-26", "2016-03-04", "2016-03-11", "2016-03-18", "2016-03-25", "2016-04-01", "2016-04-08", "2016-04-15", "2016-04-22", "2016-04-29", "2016-05-06", "2016-05-13", "2016-05-20", "2016-05-27", "2016-06-03", "2016-06-17", "2016-06-24", "2016-07-01", "2016-07-08", "2016-07-15", "2016-07-22", "2016-07-29", "2016-08-05", "2016-08-12", "2016-08-19", "2016-08-26", "2016-09-02", "2016-09-09", "2016-09-23", "2016-09-30", "2016-10-14"], "axisLine": { "lineStyle": { "color": "#fff" } } }, "yAxis": [{ "type": "value", "axisLine": { "lineStyle": { "color": "#fff" } }, "splitLine": { "lineStyle": { "color": ["#666"], "opacity": 0.5, "type": "dashed" } }, "scale": true }], "series": [{ "name": "保险", "type": "line", "data": ["1.000", "1.012", "1.017", "1.069", "1.053", "1.055", "1.077", "1.061", "1.056", "1.073", "1.076", "1.061", "1.061", "1.058", "1.072", "1.064", "1.081", "1.085", "1.094", "1.080", "1.058", "1.066", "1.064", "1.086", "1.098", "1.077", "1.069", "1.057", "1.044", "1.113", "1.122", "1.116", "1.169", "1.159", "1.141", "1.138", "1.153", "1.154", "1.136", "1.150", "1.177", "1.211", "1.212", "1.194", "1.207", "1.253", "1.248", "1.272", "1.223", "1.179", "1.170", "1.181", "1.178", "1.156", "1.176", "1.174", "1.204", "1.209", "1.220", "1.200", "1.173", "1.185", "1.289", "1.369", "1.490", "1.488", "1.470", "1.536", "1.534", "1.517", "1.545", "1.554", "1.513", "1.515", "1.521", "1.526", "1.533", "1.477", "1.469", "1.468", "1.469", "1.477", "1.481", "1.476", "1.478", "1.487", "1.512", "1.458", "1.460", "1.451", "1.436", "1.434", "1.408", "1.386", "1.395", "1.387", "1.396", "1.403", "1.411", "1.420", "1.428", "1.440", "1.430", "1.449", "1.448", "1.450", "1.503", "1.480", "1.462", "1.483", "1.495", "1.501", "1.515", "1.508", "1.512", "1.558", "1.568", "1.598", "1.595", "1.578", "1.594", "1.602", "1.609", "1.602", "1.604", "1.605", "1.597", "1.602", "1.606"], "smooth": true }, { "name": "国债", "type": "line", "data": ["1.019", "1.032", "1.030", "1.018", "1.020", "1.014", "1.016", "1.008", "1.012", "1.022", "1.020", "1.007", "1.003", "1.003", "1.007", "1.012", "1.012", "1.019", "1.014", "1.021", "1.028", "1.026", "1.026", "1.031", "1.040", "1.046", "1.053", "1.059", "1.055", "1.072", "1.077", "1.076", "1.082", "1.090", "1.085", "1.081", "1.095", "1.096", "1.094", "1.100", "1.120", "1.138", "1.143", "1.147", "1.146", "1.155", "1.166", "1.171", "1.166", "1.162", "1.176", "1.189", "1.191", "1.204", "1.230", "1.243", "1.268", "1.279", "1.282", "1.295", "1.297", "1.315", "1.350", "1.358", "1.388", "1.397", "1.360", "1.343", "1.311", "1.310", "1.324", "1.334", "1.318", "1.323", "1.332", "1.313", "1.306", "1.303", "1.297", "1.297", "1.306", "1.319", "1.322", "1.322", "1.334", "1.337", "1.344", "1.334", "1.340", "1.337", "1.349", "1.354", "1.320", "1.303", "1.305", "1.296", "1.301", "1.308", "1.301", "1.302", "1.301", "1.313", "1.316", "1.318", "1.319", "1.327", "1.319", "1.319", "1.318", "1.313", "1.312", "1.313", "1.323", "1.323", "1.322", "1.331", "1.337", "1.342", "1.339", "1.336", "1.336", "1.340", "1.345", "1.344", "1.343", "1.347", "1.345", "1.344", "1.350"], "smooth": true } ] }