316 lines
9.0 KiB
Plaintext
316 lines
9.0 KiB
Plaintext
{
|
||
"animation": true,
|
||
"animationThreshold": 2000,
|
||
"animationDuration": 1000,
|
||
"animationEasing": "cubicOut",
|
||
"animationDelay": 0,
|
||
"animationDurationUpdate": 300,
|
||
"animationEasingUpdate": "cubicOut",
|
||
"animationDelayUpdate": 0,
|
||
"aria": {
|
||
"enabled": false
|
||
},
|
||
"color": [
|
||
"#5470c6",
|
||
"#91cc75",
|
||
"#fac858",
|
||
"#ee6666",
|
||
"#73c0de",
|
||
"#3ba272",
|
||
"#fc8452",
|
||
"#9a60b4",
|
||
"#ea7ccc"
|
||
],
|
||
"series": [
|
||
{
|
||
"type": "bar",
|
||
"name": "总人口",
|
||
"legendHoverLink": true,
|
||
"data": [],
|
||
"realtimeSort": false,
|
||
"showBackground": false,
|
||
"stack": "stack1",
|
||
"stackStrategy": "samesign",
|
||
"cursor": "pointer",
|
||
"barMinHeight": 0,
|
||
"barCategoryGap": "20%",
|
||
"barGap": "30%",
|
||
"large": false,
|
||
"largeThreshold": 400,
|
||
"seriesLayoutBy": "column",
|
||
"datasetIndex": 0,
|
||
"clip": true,
|
||
"zlevel": 0,
|
||
"z": 2,
|
||
"label": {
|
||
"show": false,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"markLine": {
|
||
"silent": false,
|
||
"precision": 2,
|
||
"label": {
|
||
"show": true,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"data": [
|
||
{
|
||
"name": "平均值",
|
||
"type": "average"
|
||
}
|
||
]
|
||
},
|
||
"rippleEffect": {
|
||
"show": true,
|
||
"brushType": "stroke",
|
||
"scale": 2.5,
|
||
"period": 4
|
||
}
|
||
},
|
||
{
|
||
"type": "bar",
|
||
"name": "城镇人口",
|
||
"legendHoverLink": true,
|
||
"data": [],
|
||
"realtimeSort": false,
|
||
"showBackground": false,
|
||
"stack": "stack1",
|
||
"stackStrategy": "samesign",
|
||
"cursor": "pointer",
|
||
"barMinHeight": 0,
|
||
"barCategoryGap": "20%",
|
||
"barGap": "30%",
|
||
"large": false,
|
||
"largeThreshold": 400,
|
||
"seriesLayoutBy": "column",
|
||
"datasetIndex": 0,
|
||
"clip": true,
|
||
"zlevel": 0,
|
||
"z": 2,
|
||
"label": {
|
||
"show": false,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"markLine": {
|
||
"silent": false,
|
||
"precision": 2,
|
||
"label": {
|
||
"show": true,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"data": [
|
||
{
|
||
"name": "平均值",
|
||
"type": "average"
|
||
}
|
||
]
|
||
},
|
||
"rippleEffect": {
|
||
"show": true,
|
||
"brushType": "stroke",
|
||
"scale": 2.5,
|
||
"period": 4
|
||
}
|
||
},
|
||
{
|
||
"type": "bar",
|
||
"name": "农村人口",
|
||
"legendHoverLink": true,
|
||
"data": [],
|
||
"realtimeSort": false,
|
||
"showBackground": false,
|
||
"stack": "stack1",
|
||
"stackStrategy": "samesign",
|
||
"cursor": "pointer",
|
||
"barMinHeight": 0,
|
||
"barCategoryGap": "20%",
|
||
"barGap": "30%",
|
||
"large": false,
|
||
"largeThreshold": 400,
|
||
"seriesLayoutBy": "column",
|
||
"datasetIndex": 0,
|
||
"clip": true,
|
||
"zlevel": 0,
|
||
"z": 2,
|
||
"label": {
|
||
"show": false,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"markLine": {
|
||
"silent": false,
|
||
"precision": 2,
|
||
"label": {
|
||
"show": true,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"data": [
|
||
{
|
||
"name": "平均值",
|
||
"type": "average"
|
||
}
|
||
]
|
||
},
|
||
"rippleEffect": {
|
||
"show": true,
|
||
"brushType": "stroke",
|
||
"scale": 2.5,
|
||
"period": 4
|
||
}
|
||
}
|
||
],
|
||
"legend": [
|
||
{
|
||
"data": [
|
||
"总人口",
|
||
"城镇人口",
|
||
"农村人口"
|
||
],
|
||
"selected": {},
|
||
"show": true,
|
||
"top": "5%",
|
||
"padding": 5,
|
||
"itemGap": 10,
|
||
"itemWidth": 25,
|
||
"itemHeight": 14,
|
||
"backgroundColor": "transparent",
|
||
"borderColor": "#ccc",
|
||
"borderRadius": 0,
|
||
"pageButtonItemGap": 5,
|
||
"pageButtonPosition": "end",
|
||
"pageFormatter": "{current}/{total}",
|
||
"pageIconColor": "#2f4554",
|
||
"pageIconInactiveColor": "#aaa",
|
||
"pageIconSize": 15,
|
||
"animationDurationUpdate": 800,
|
||
"selector": false,
|
||
"selectorPosition": "auto",
|
||
"selectorItemGap": 7,
|
||
"selectorButtonGap": 10
|
||
}
|
||
],
|
||
"tooltip": {
|
||
"show": true,
|
||
"trigger": "axis",
|
||
"triggerOn": "mousemove|click",
|
||
"axisPointer": {
|
||
"type": "shadow"
|
||
},
|
||
"showContent": true,
|
||
"alwaysShowContent": false,
|
||
"showDelay": 0,
|
||
"hideDelay": 100,
|
||
"enterable": false,
|
||
"confine": false,
|
||
"appendToBody": false,
|
||
"transitionDuration": 0.4,
|
||
"textStyle": {
|
||
"fontSize": 14
|
||
},
|
||
"borderWidth": 0,
|
||
"padding": 5,
|
||
"order": "seriesAsc"
|
||
},
|
||
"xAxis": [
|
||
{
|
||
"show": true,
|
||
"scale": false,
|
||
"nameLocation": "end",
|
||
"nameGap": 15,
|
||
"gridIndex": 0,
|
||
"axisLabel": {
|
||
"show": true,
|
||
"rotate": 45,
|
||
"margin": 8,
|
||
"valueAnimation": false
|
||
},
|
||
"inverse": false,
|
||
"offset": 0,
|
||
"splitNumber": 5,
|
||
"minInterval": 0,
|
||
"splitLine": {
|
||
"show": true,
|
||
"lineStyle": {
|
||
"show": true,
|
||
"width": 1,
|
||
"opacity": 1,
|
||
"curveness": 0,
|
||
"type": "solid"
|
||
}
|
||
},
|
||
"animation": true,
|
||
"animationThreshold": 2000,
|
||
"animationDuration": 1000,
|
||
"animationEasing": "cubicOut",
|
||
"animationDelay": 0,
|
||
"animationDurationUpdate": 300,
|
||
"animationEasingUpdate": "cubicOut",
|
||
"animationDelayUpdate": 0,
|
||
"data": []
|
||
}
|
||
],
|
||
"yAxis": [
|
||
{
|
||
"name": "人口数量(万人)",
|
||
"show": true,
|
||
"scale": false,
|
||
"nameLocation": "middle",
|
||
"nameGap": 40,
|
||
"gridIndex": 0,
|
||
"inverse": false,
|
||
"offset": 0,
|
||
"splitNumber": 5,
|
||
"minInterval": 0,
|
||
"splitLine": {
|
||
"show": true,
|
||
"lineStyle": {
|
||
"show": true,
|
||
"width": 1,
|
||
"opacity": 1,
|
||
"curveness": 0,
|
||
"type": "solid"
|
||
}
|
||
},
|
||
"animation": true,
|
||
"animationThreshold": 2000,
|
||
"animationDuration": 1000,
|
||
"animationEasing": "cubicOut",
|
||
"animationDelay": 0,
|
||
"animationDurationUpdate": 300,
|
||
"animationEasingUpdate": "cubicOut",
|
||
"animationDelayUpdate": 0
|
||
}
|
||
],
|
||
"title": [
|
||
{
|
||
"show": true,
|
||
"text": "云南省各州市人口分布图(2024年)",
|
||
"target": "blank",
|
||
"subtarget": "blank",
|
||
"padding": 5,
|
||
"itemGap": 10,
|
||
"textAlign": "auto",
|
||
"textVerticalAlign": "auto",
|
||
"triggerEvent": false
|
||
}
|
||
],
|
||
"dataZoom": [
|
||
{
|
||
"show": true,
|
||
"type": "slider",
|
||
"showDetail": true,
|
||
"showDataShadow": true,
|
||
"realtime": true,
|
||
"start": 20,
|
||
"end": 80,
|
||
"orient": "horizontal",
|
||
"zoomLock": false,
|
||
"filterMode": "filter"
|
||
}
|
||
]
|
||
} |