blob: 6057f009ec3d9c94656ec9a6b4c82bb344dd7134 [file] [log] [blame]
{
"animation": false,
"darkMode": true,
"color": [
"#4992ff",
"#7cffb2",
"#fddd60",
"#ff6e76",
"#58d9f9",
"#05c091",
"#ff8a45",
"#8d48e3",
"#dd79ff"
],
"backgroundColor": "#100C2A",
"textStyle": {
"color": "#B9B8CE",
"fontFamily": "sans-serif",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "normal"
},
"timeAxis": {
"axisLine": {
"lineStyle": {
"color": "#B9B8CE"
}
},
"splitLine": {
"lineStyle": {
"color": "#484753"
}
},
"splitArea": {
"areaStyle": {
"color": [
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.05)"
]
}
},
"minorSplitLine": {
"lineStyle": {
"color": "#20203B"
}
}
},
"logAxis": {
"axisLine": {
"lineStyle": {
"color": "#B9B8CE"
}
},
"splitLine": {
"lineStyle": {
"color": "#484753"
}
},
"splitArea": {
"areaStyle": {
"color": [
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.05)"
]
}
},
"minorSplitLine": {
"lineStyle": {
"color": "#20203B"
}
}
},
"valueAxis": {
"axisLine": {
"lineStyle": {
"color": "#B9B8CE"
}
},
"splitLine": {
"lineStyle": {
"color": "#484753"
}
},
"splitArea": {
"areaStyle": {
"color": [
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.05)"
]
}
},
"minorSplitLine": {
"lineStyle": {
"color": "#20203B"
}
}
},
"categoryAxis": {
"axisLine": {
"lineStyle": {
"color": "#B9B8CE"
}
},
"splitLine": {
"lineStyle": {
"color": "#484753"
},
"show": false
},
"splitArea": {
"areaStyle": {
"color": [
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.05)"
]
}
},
"minorSplitLine": {
"lineStyle": {
"color": "#20203B"
}
}
},
"line": {
"symbol": "circle"
},
"graph": {
"color": [
"#4992ff",
"#7cffb2",
"#fddd60",
"#ff6e76",
"#58d9f9",
"#05c091",
"#ff8a45",
"#8d48e3",
"#dd79ff"
]
},
"gauge": {
"title": {
"color": "#B9B8CE"
},
"axisLine": {
"lineStyle": {
"color": [
[
1,
"rgba(207,212,219,0.2)"
]
]
}
},
"axisLabel": {
"color": "#B9B8CE"
},
"detail": {
"color": "#EEF1FA"
}
},
"candlestick": {
"itemStyle": {
"color": "#FD1050",
"color0": "#0CF49B",
"borderColor": "#FD1050",
"borderColor0": "#0CF49B"
}
},
"gradientColor": [
"#f6efa6",
"#d88273",
"#bf444c"
],
"aria": {
"decal": {
"decals": [
{
"color": "rgba(0, 0, 0, 0.2)",
"dashArrayX": [
1,
0
],
"dashArrayY": [
2,
5
],
"symbolSize": 1,
"rotation": 0.5235987755982988
},
{
"color": "rgba(0, 0, 0, 0.2)",
"symbol": "circle",
"dashArrayX": [
[
8,
8
],
[
0,
8,
8,
0
]
],
"dashArrayY": [
6,
0
],
"symbolSize": 0.8
},
{
"color": "rgba(0, 0, 0, 0.2)",
"dashArrayX": [
1,
0
],
"dashArrayY": [
4,
3
],
"dashLineOffset": 0,
"rotation": -0.7853981633974483
},
{
"color": "rgba(0, 0, 0, 0.2)",
"dashArrayX": [
[
6,
6
],
[
0,
6,
6,
0
]
],
"dashArrayY": [
6,
0
]
},
{
"color": "rgba(0, 0, 0, 0.2)",
"dashArrayX": [
[
1,
0
],
[
1,
6
]
],
"dashArrayY": [
1,
0,
6,
0
],
"rotation": 0.7853981633974483
},
{
"color": "rgba(0, 0, 0, 0.2)",
"symbol": "triangle",
"dashArrayX": [
[
9,
9
],
[
0,
9,
9,
0
]
],
"dashArrayY": [
7,
2
],
"symbolSize": 0.75
}
]
}
},
"stateAnimation": {
"duration": 300,
"easing": "cubicOut"
},
"animationDuration": 1000,
"animationDurationUpdate": 500,
"animationEasing": "cubicInOut",
"animationEasingUpdate": "cubicInOut",
"animationThreshold": 2000,
"progressiveThreshold": 3000,
"progressive": 400,
"hoverLayerThreshold": 3000,
"useUTC": false,
"dataset": [
{
"source": [
[
28604,
77,
17096869,
"Australia",
1990
],
[
31163,
77.4,
27662440,
"Canada",
1990
],
[
1516,
68,
1154605773,
"China",
1990
],
[
13670,
74.7,
10582082,
"Cuba",
1990
],
[
28599,
75,
4986705,
"Finland",
1990
],
[
29476,
77.1,
56943299,
"France",
1990
],
[
31476,
75.4,
78958237,
"Germany",
1990
],
[
28666,
78.1,
254830,
"Iceland",
1990
],
[
1777,
57.7,
870601776,
"India",
1990
],
[
29550,
79.1,
122249285,
"Japan",
1990
],
[
2076,
67.9,
20194354,
"North Korea",
1990
],
[
12087,
72,
42972254,
"South Korea",
1990
],
[
24021,
75.4,
3397534,
"New Zealand",
1990
],
[
43296,
76.8,
4240375,
"Norway",
1990
],
[
10088,
70.8,
38195258,
"Poland",
1990
],
[
19349,
69.6,
147568552,
"Russia",
1990
],
[
10670,
67.3,
53994605,
"Turkey",
1990
],
[
26424,
75.7,
57110117,
"United Kingdom",
1990
],
[
37062,
75.4,
252847810,
"United States",
1990
],
[
44056,
81.8,
23968973,
"Australia",
2015
],
[
43294,
81.7,
35939927,
"Canada",
2015
],
[
13334,
76.9,
1376048943,
"China",
2015
],
[
21291,
78.5,
11389562,
"Cuba",
2015
],
[
38923,
80.8,
5503457,
"Finland",
2015
],
[
37599,
81.9,
64395345,
"France",
2015
],
[
44053,
81.1,
80688545,
"Germany",
2015
],
[
42182,
82.8,
329425,
"Iceland",
2015
],
[
5903,
66.8,
1311050527,
"India",
2015
],
[
36162,
83.5,
126573481,
"Japan",
2015
],
[
1390,
71.4,
25155317,
"North Korea",
2015
],
[
34644,
80.7,
50293439,
"South Korea",
2015
],
[
34186,
80.6,
4528526,
"New Zealand",
2015
],
[
64304,
81.6,
5210967,
"Norway",
2015
],
[
24787,
77.3,
38611794,
"Poland",
2015
],
[
23038,
73.13,
143456918,
"Russia",
2015
],
[
19360,
76.5,
78665830,
"Turkey",
2015
],
[
38225,
81.4,
64715810,
"United Kingdom",
2015
],
[
53354,
79.1,
321773631,
"United States",
2015
]
],
"seriesLayoutBy": "column"
},
{
"transform": {
"type": "filter",
"config": {
"dimension": 4,
"eq": 1990
},
"__ec_primitive__": true
},
"seriesLayoutBy": "column"
},
{
"transform": {
"type": "filter",
"config": {
"dimension": 4,
"eq": 2015
},
"__ec_primitive__": true
},
"seriesLayoutBy": "column"
},
{
"transform": {
"type": "ecStat:regression",
"config": {
"method": "logarithmic"
},
"__ec_primitive__": true
},
"seriesLayoutBy": "column"
}
],
"bmap": [],
"timeline": [],
"title": [
{
"text": "1990 and 2015 per capita life expectancy and GDP",
"subtext": "By ecStat.regression",
"sublink": "https://github.com/ecomfe/echarts-stat",
"left": "center",
"padding": 15,
"textStyle": {
"color": "#EEF1FA",
"fontSize": 18,
"fontWeight": "bold"
},
"subtextStyle": {
"color": "#B9B8CE",
"fontSize": 12
},
"zlevel": 0,
"z": 6,
"show": true,
"target": "blank",
"subtarget": "blank",
"top": 0,
"backgroundColor": "rgba(0,0,0,0)",
"borderColor": "#ccc",
"borderWidth": 0,
"itemGap": 10,
"right": null
}
],
"toolbox": [],
"graphic": [],
"calendar": [],
"geo": [],
"radiusAxis": [],
"angleAxis": [],
"polar": [],
"axisPointer": [
{
"lineStyle": {
"color": "#817f91",
"width": 1,
"type": "dashed"
},
"crossStyle": {
"color": "#817f91"
},
"label": {
"color": "#fff",
"show": true,
"formatter": null,
"precision": "auto",
"margin": 3,
"padding": [
5,
7,
5,
7
],
"backgroundColor": "auto",
"borderColor": null,
"borderWidth": 0,
"borderRadius": 3
},
"show": "auto",
"zlevel": 0,
"z": 50,
"type": "line",
"snap": false,
"triggerTooltip": true,
"value": null,
"status": null,
"link": [],
"animation": null,
"animationDurationUpdate": 200,
"shadowStyle": {
"color": "rgba(210,219,238,0.2)"
},
"handle": {
"show": false,
"icon": "M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",
"size": 45,
"margin": 50,
"color": "#333",
"shadowBlur": 3,
"shadowColor": "#aaa",
"shadowOffsetX": 0,
"shadowOffsetY": 2,
"throttle": 40
}
}
],
"tooltip": [
{
"trigger": "axis",
"axisPointer": {
"type": "cross",
"axis": "auto",
"animation": "auto",
"animationDurationUpdate": 200,
"animationEasingUpdate": "exponentialOut",
"crossStyle": {
"color": "#999",
"width": 1,
"type": "dashed",
"textStyle": {}
}
},
"zlevel": 0,
"z": 60,
"show": true,
"showContent": true,
"triggerOn": "mousemove|click",
"alwaysShowContent": false,
"displayMode": "single",
"renderMode": "auto",
"confine": null,
"showDelay": 0,
"hideDelay": 100,
"transitionDuration": 0.4,
"enterable": false,
"backgroundColor": "#fff",
"shadowBlur": 10,
"shadowColor": "rgba(0, 0, 0, .2)",
"shadowOffsetX": 1,
"shadowOffsetY": 2,
"borderColor": "#333",
"borderRadius": 4,
"borderWidth": 1,
"padding": null,
"extraCssText": "",
"textStyle": {
"color": "#666",
"fontSize": 14
}
}
],
"singleAxis": [],
"parallelAxis": [],
"parallel": [],
"component": [],
"radar": [],
"yAxis": [
{
"type": "value",
"splitLine": {
"lineStyle": {
"type": "dashed",
"color": "#484753",
"width": 1
},
"show": true
},
"axisLine": {
"lineStyle": {
"color": "#B9B8CE",
"width": 1,
"type": "solid"
},
"show": "auto",
"onZero": true,
"onZeroAxisIndex": null,
"symbol": [
"none",
"none"
],
"symbolSize": [
10,
15
]
},
"splitArea": {
"areaStyle": {
"color": [
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.05)"
]
},
"show": false
},
"minorSplitLine": {
"lineStyle": {
"color": "#20203B",
"width": 1
},
"show": false
},
"boundaryGap": [
0,
0
],
"axisTick": {
"show": "auto",
"inside": false,
"length": 5,
"lineStyle": {
"width": 1
}
},
"splitNumber": 5,
"minorTick": {
"show": false,
"splitNumber": 5,
"length": 3,
"lineStyle": {}
},
"show": true,
"zlevel": 0,
"z": 0,
"inverse": false,
"name": "",
"nameLocation": "end",
"nameRotate": null,
"nameTruncate": {
"maxWidth": null,
"ellipsis": "...",
"placeholder": "."
},
"nameTextStyle": {},
"nameGap": 15,
"silent": false,
"triggerEvent": false,
"tooltip": {
"show": false
},
"axisPointer": {
"status": "hide",
"value": 100
},
"axisLabel": {
"show": true,
"inside": false,
"rotate": 0,
"showMinLabel": null,
"showMaxLabel": null,
"margin": 8,
"fontSize": 12
},
"offset": 0,
"categorySortInfo": []
}
],
"xAxis": [
{
"type": "value",
"splitLine": {
"lineStyle": {
"type": "dashed",
"color": "#484753",
"width": 1
},
"show": true
},
"axisLine": {
"lineStyle": {
"color": "#B9B8CE",
"width": 1,
"type": "solid"
},
"show": "auto",
"onZero": true,
"onZeroAxisIndex": null,
"symbol": [
"none",
"none"
],
"symbolSize": [
10,
15
]
},
"splitArea": {
"areaStyle": {
"color": [
"rgba(255,255,255,0.02)",
"rgba(255,255,255,0.05)"
]
},
"show": false
},
"minorSplitLine": {
"lineStyle": {
"color": "#20203B",
"width": 1
},
"show": false
},
"boundaryGap": [
0,
0
],
"axisTick": {
"show": "auto",
"inside": false,
"length": 5,
"lineStyle": {
"width": 1
}
},
"splitNumber": 5,
"minorTick": {
"show": false,
"splitNumber": 5,
"length": 3,
"lineStyle": {}
},
"show": true,
"zlevel": 0,
"z": 0,
"inverse": false,
"name": "",
"nameLocation": "end",
"nameRotate": null,
"nameTruncate": {
"maxWidth": null,
"ellipsis": "...",
"placeholder": "."
},
"nameTextStyle": {},
"nameGap": 15,
"silent": false,
"triggerEvent": false,
"tooltip": {
"show": false
},
"axisPointer": {
"status": "hide",
"value": 70000
},
"axisLabel": {
"show": true,
"inside": false,
"rotate": 0,
"showMinLabel": null,
"showMaxLabel": null,
"margin": 8,
"fontSize": 12
},
"offset": 0,
"categorySortInfo": []
}
],
"grid": [
{
"show": false,
"zlevel": 0,
"z": 0,
"left": "10%",
"top": 60,
"right": "10%",
"bottom": 70,
"containLabel": false,
"backgroundColor": "rgba(0,0,0,0)",
"borderWidth": 1,
"borderColor": "#ccc"
}
],
"series": [
{
"name": "1990",
"type": "scatter",
"datasetIndex": 1,
"progressive": 100000,
"animation": false,
"coordinateSystem": "cartesian2d",
"zlevel": 0,
"z": 2,
"legendHoverLink": true,
"symbolSize": 10,
"large": false,
"largeThreshold": 2000,
"itemStyle": {
"opacity": 0.8
},
"emphasis": {
"scale": true,
"label": {}
},
"clip": true,
"select": {
"itemStyle": {
"borderColor": "#212121"
}
},
"label": {}
},
{
"name": "2015",
"type": "scatter",
"datasetIndex": 2,
"progressive": 100000,
"animation": false,
"coordinateSystem": "cartesian2d",
"zlevel": 0,
"z": 2,
"legendHoverLink": true,
"symbolSize": 10,
"large": false,
"largeThreshold": 2000,
"itemStyle": {
"opacity": 0.8
},
"emphasis": {
"scale": true,
"label": {}
},
"clip": true,
"select": {
"itemStyle": {
"borderColor": "#212121"
}
},
"label": {}
},
{
"name": "line",
"type": "line",
"smooth": true,
"datasetIndex": 3,
"symbolSize": 0.1,
"symbol": "circle",
"label": {
"show": true,
"fontSize": 16,
"position": "top"
},
"labelLayout": {
"dx": -20
},
"encode": {
"label": 2,
"tooltip": 1
},
"progressive": 100000,
"animation": false,
"zlevel": 0,
"z": 3,
"coordinateSystem": "cartesian2d",
"legendHoverLink": true,
"clip": true,
"endLabel": {
"show": false,
"valueAnimation": true,
"distance": 8
},
"lineStyle": {
"width": 2,
"type": "solid"
},
"emphasis": {
"scale": true,
"lineStyle": {
"width": "bolder"
},
"label": {
"show": true
}
},
"step": false,
"smoothMonotone": null,
"symbolRotate": null,
"showSymbol": true,
"showAllSymbol": "auto",
"connectNulls": false,
"sampling": "none",
"animationEasing": "linear",
"hoverLayerThreshold": null
}
],
"visualMap": [
{
"show": false,
"dimension": 2,
"min": 20000,
"max": 1500000000,
"seriesIndex": [
0,
1
],
"inRange": {
"symbolSize": [
10,
70
]
},
"textStyle": {
"color": "#B9B8CE"
},
"zlevel": 0,
"z": 4,
"left": 0,
"right": null,
"top": null,
"bottom": 0,
"itemWidth": null,
"itemHeight": null,
"inverse": false,
"orient": "vertical",
"backgroundColor": "rgba(0,0,0,0)",
"borderColor": "#ccc",
"contentColor": "#5793f3",
"inactiveColor": "#aaa",
"borderWidth": 0,
"padding": 5,
"textGap": 10,
"precision": 0,
"align": "auto",
"calculable": false,
"hoverLink": true,
"realtime": true,
"handleIcon": "path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",
"handleSize": "120%",
"handleStyle": {
"borderColor": "#fff",
"borderWidth": 1
},
"indicatorIcon": "circle",
"indicatorSize": "50%",
"indicatorStyle": {
"borderColor": "#fff",
"borderWidth": 2,
"shadowBlur": 2,
"shadowOffsetX": 1,
"shadowOffsetY": 1,
"shadowColor": "rgba(0,0,0,0.2)"
},
"target": {
"inRange": {
"symbolSize": [
10,
70
]
},
"outOfRange": {
"symbolSize": [
0,
0
]
}
},
"controller": {
"inRange": {
"symbolSize": [
6.666666666666667,
20
],
"symbol": [
"roundRect"
]
},
"outOfRange": {
"color": [
"#aaa"
],
"symbol": [
"roundRect"
],
"symbolSize": [
6.666666666666667,
20
]
}
},
"range": [
20000,
1500000000
]
}
],
"legend": [
{
"data": [
"1990",
"2015"
],
"bottom": 10,
"padding": 15,
"textStyle": {
"color": "#B9B8CE"
},
"zlevel": 0,
"z": 4,
"show": true,
"orient": "horizontal",
"left": "center",
"top": null,
"align": "auto",
"backgroundColor": "rgba(0,0,0,0)",
"borderColor": "#ccc",
"borderRadius": 0,
"borderWidth": 0,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14,
"inactiveColor": "#ccc",
"inactiveBorderColor": "#ccc",
"itemStyle": {
"borderWidth": 0
},
"selectedMode": true,
"selector": false,
"selectorLabel": {
"show": true,
"borderRadius": 10,
"padding": [
3,
5,
3,
5
],
"fontSize": 12,
"fontFamily": " sans-serif",
"color": "#666",
"borderWidth": 1,
"borderColor": "#666"
},
"emphasis": {
"selectorLabel": {
"show": true,
"color": "#eee",
"backgroundColor": "#666"
}
},
"selectorPosition": "auto",
"selectorItemGap": 7,
"selectorButtonGap": 10,
"tooltip": {
"show": false
},
"selected": {}
}
],
"markArea": [
{
"zlevel": 0,
"z": 1,
"tooltip": {
"trigger": "item"
},
"animation": false,
"label": {
"show": true,
"position": "top"
},
"itemStyle": {
"borderWidth": 0
},
"emphasis": {
"label": {
"show": true,
"position": "top"
}
}
}
],
"markLine": [
{
"zlevel": 0,
"z": 5,
"symbol": [
"circle",
"arrow"
],
"symbolSize": [
8,
16
],
"precision": 2,
"tooltip": {
"trigger": "item"
},
"label": {
"show": true,
"position": "end",
"distance": 5
},
"lineStyle": {
"type": "dashed"
},
"emphasis": {
"label": {
"show": true
},
"lineStyle": {
"width": 3
}
},
"animationEasing": "linear"
}
],
"markPoint": [
{
"zlevel": 0,
"z": 5,
"symbol": "pin",
"symbolSize": 50,
"tooltip": {
"trigger": "item"
},
"label": {
"show": true,
"position": "inside"
},
"itemStyle": {
"borderWidth": 2
},
"emphasis": {
"label": {
"show": true
}
}
}
],
"brush": [],
"dataZoom": []
}