parent
ae9b0a129c
commit
ffecd55a64
@ -0,0 +1,246 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Awesome-pyecharts</title>
|
||||
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div id="49305903a68a4200bb88909f7f899838" class="chart-container" style="width:900px; height:500px; "></div>
|
||||
<script>
|
||||
var chart_49305903a68a4200bb88909f7f899838 = echarts.init(
|
||||
document.getElementById('49305903a68a4200bb88909f7f899838'), 'white', {renderer: 'canvas'});
|
||||
var option_49305903a68a4200bb88909f7f899838 = {
|
||||
"animation": true,
|
||||
"animationThreshold": 2000,
|
||||
"animationDuration": 1000,
|
||||
"animationEasing": "cubicOut",
|
||||
"animationDelay": 0,
|
||||
"animationDurationUpdate": 300,
|
||||
"animationEasingUpdate": "cubicOut",
|
||||
"animationDelayUpdate": 0,
|
||||
"aria": {
|
||||
"enabled": false
|
||||
},
|
||||
"color": [
|
||||
"#f05b72",
|
||||
"#5470c6",
|
||||
"#91cc75",
|
||||
"#fac858",
|
||||
"#ee6666",
|
||||
"#73c0de",
|
||||
"#3ba272",
|
||||
"#fc8452",
|
||||
"#9a60b4",
|
||||
"#ea7ccc"
|
||||
],
|
||||
"series": [
|
||||
{
|
||||
"type": "bar",
|
||||
"name": "\u70b9\u8d5e\u6570",
|
||||
"legendHoverLink": true,
|
||||
"data": [
|
||||
2973,
|
||||
2444,
|
||||
1360,
|
||||
526,
|
||||
473,
|
||||
329,
|
||||
317,
|
||||
151,
|
||||
132,
|
||||
110,
|
||||
72,
|
||||
35,
|
||||
27,
|
||||
12,
|
||||
8,
|
||||
6,
|
||||
6,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
"realtimeSort": false,
|
||||
"showBackground": false,
|
||||
"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": true,
|
||||
"margin": 8
|
||||
}
|
||||
}
|
||||
],
|
||||
"legend": [
|
||||
{
|
||||
"data": [
|
||||
"\u70b9\u8d5e\u6570"
|
||||
],
|
||||
"selected": {},
|
||||
"show": true,
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"itemWidth": 25,
|
||||
"itemHeight": 14,
|
||||
"backgroundColor": "transparent",
|
||||
"borderColor": "#ccc",
|
||||
"borderWidth": 1,
|
||||
"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": "item",
|
||||
"triggerOn": "mousemove|click",
|
||||
"axisPointer": {
|
||||
"type": "line"
|
||||
},
|
||||
"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,
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
}
|
||||
},
|
||||
"data": [
|
||||
"\u5728\u5c0f\u72d7\u7684\u773c\u775b\u91cc\u770b\u89c1\u4e86\u9707\u60ca",
|
||||
"\u6bd4\u7231\u7238\u7238\u8fd8\u8981\u8fc7\u5206\u7684\u6309\u952e\u51fa\u73b0\u4e86",
|
||||
"\u9c7c\u4ed4\u662f\u6211\u5728b\u7ad9\u89c1\u8fc7\u6700\u50cf\u5c0f\u5b69\u7684\u5c0f\u72d7[\u661f\u661f\u773c][\u661f\u661f\u773c]\u611f\u89c9\u771f\u7684\u548c\u517b\u5c0f\u5b69\u4e00\u6a21\u4e00\u6837",
|
||||
"\u6709\u81ea\u5df1\u4e3b\u89c1\u7684\u5c0f\u72d7\u4e00\u679a\u5440[\u661f\u661f\u773c][\u661f\u661f\u773c]",
|
||||
"\u9c7c\u4ed4\uff1a\u8fd8\u4e0d\u5982\u7231\u7238\u7238",
|
||||
"\u7b11\u5f97",
|
||||
"\u9c7c\u4ed4\u4e0d\u559c\u6b22\u70e6\u4eba\u662f\u6709\u539f\u56e0\u7684[doge]\u540c\u7c7b\u76f8\u65a5\u7684",
|
||||
"\u9c7c\u4ed4\u662f\u600e\u4e48\u542c\u61c2\u7684\uff0c\u6211\u6ca1\u770b\u5b57\u5e55\u53ea\u542c\u89c1\u201c\u9c7c\u4ed4\uff03\uff05\uff06\u5728\uff0a\u2211\u770b\u5bb6\u201d[\u8fa3\u773c\u775b]",
|
||||
"\u9c7c\u4ed4\uff1a\u7238\u7238\u662f\u771f\u7684\u72d7[doge]",
|
||||
"\u9c7c\u4ed4\u4e0d\u723d\u53ef\u80fd\u4e0d\u662f\u56e0\u4e3a\u6309\u952e\u91cc\u70e6\u4eba\u8bf4\u7684\u8bdd\uff0c\u800c\u53ea\u662f\u56e0\u4e3a\u542c\u5230\u4e86\u70e6\u4eba\u7684\u58f0\u97f3[doge][doge]",
|
||||
"\u9c7c\u4ed4\u771f\u7684\u6bcf\u4e00\u6b21\u90fd\u8d85\u4e4e\u6211\u60f3\u8c61\u7684\u806a\u660e",
|
||||
"\u9c7c\u4ed4\uff1awoc\uff0c\u70e6\u4eba\u8fdb\u6309\u94ae\u91cc\u4e86\uff0c\u70e6\u4eba\u3002\u7b49\u7b49\uff0c\u5916\u9762\u8fd9\u4e2a\u4e5f\u8fd9\u4e48\u70e6\u4eba\uff0c\u5b8c\u4e86\uff0c\u70e6\u4eba\u53d8\u4e24\u4e2a\u4e86[doge]",
|
||||
"\u89e6\u53d1\u5173\u952e\u5b57\uff1a\u9c7c\u4ed4\u770b\u5bb6[\u8131\u5355doge]",
|
||||
"\u9c7c\u4ed4:\u53c8\u662f\u8ba8\u538c\u7238\u7238\u7684\u4e00\u5929",
|
||||
"\u5c0f\u72d7\u751f\u6c14\u4e86[doge]",
|
||||
"\u9c7c\u4ed4:\u7238\u7238\u522b\u6765\u6cbe\u8fb9",
|
||||
"[\u559c\u6b22]",
|
||||
"\u9c7c\u4ed4\uff1a\u70e6\u4eba\u7684\u8bdd\u679c\u7136\u4fe1\u4e0d\u4e86\u4e00\u70b9",
|
||||
"\u9c7c\u4ed4\u6bd4\u6211\u5bb6\u90a3\u53ea\u5c0f\u8fb9\u7267\u806a\u660e\u591a\u4e86[\u5927\u54ed]",
|
||||
"\u9c7c\u4ed4\uff1a\u7231\u8089\u8089[doge]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"yAxis": [
|
||||
{
|
||||
"show": true,
|
||||
"scale": false,
|
||||
"nameLocation": "end",
|
||||
"nameGap": 15,
|
||||
"gridIndex": 0,
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
{
|
||||
"show": true,
|
||||
"text": "\u8bc4\u8bba\u70ed\u5ea6Top20",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"show": true,
|
||||
"type": "inside",
|
||||
"showDetail": true,
|
||||
"showDataShadow": true,
|
||||
"realtime": true,
|
||||
"start": 20,
|
||||
"end": 80,
|
||||
"orient": "horizontal",
|
||||
"zoomLock": false,
|
||||
"filterMode": "filter"
|
||||
}
|
||||
]
|
||||
};
|
||||
chart_49305903a68a4200bb88909f7f899838.setOption(option_49305903a68a4200bb88909f7f899838);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue