You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

281 lines
7.3 KiB

<!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="ee0cf3b94bdd4a299381e315bfd81d59" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_ee0cf3b94bdd4a299381e315bfd81d59 = echarts.init(
document.getElementById('ee0cf3b94bdd4a299381e315bfd81d59'), 'white', {renderer: 'canvas'});
var option_ee0cf3b94bdd4a299381e315bfd81d59 = {
"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": "line",
"name": "\u7968\u623f(\u4e07)",
"connectNulls": false,
"xAxisIndex": 0,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
"2024-02-10",
200011
],
[
"2024-03-22",
36773
],
[
"2024-03-29",
95385
],
[
"2024-04-03",
79003
],
[
"2024-04-30",
44756
],
[
"2024-05-01",
113507
],
[
"2024-05-10",
18835
],
[
"2024-05-17",
10996
],
[
"2024-05-18",
1852
],
[
"2024-05-19",
4963
],
[
"2024-05-20",
4813
],
[
"2024-05-24",
3408
],
[
"2024-05-25",
172038
],
[
"2024-05-31",
0
],
[
"2024-06-01",
0
],
[
"2024-06-07",
0
],
[
"2024-06-08",
0
]
],
"hoverAnimation": true,
"label": {
"show": true,
"margin": 8
},
"logBase": 10,
"seriesLayoutBy": "column",
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
},
"areaStyle": {
"opacity": 0
},
"zlevel": 0,
"z": 0
}
],
"legend": [
{
"data": [
"\u7968\u623f(\u4e07)"
],
"selected": {},
"show": true,
"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": "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": [
{
"name": "\u65e5\u671f",
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"axisLabel": {
"show": true,
"rotate": -90,
"margin": 8,
"interval": 0,
"fontSize": 10
},
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
},
"data": [
"2024-02-10",
"2024-03-22",
"2024-03-29",
"2024-04-03",
"2024-04-30",
"2024-05-01",
"2024-05-10",
"2024-05-17",
"2024-05-18",
"2024-05-19",
"2024-05-20",
"2024-05-24",
"2024-05-25",
"2024-05-31",
"2024-06-01",
"2024-06-07",
"2024-06-08"
]
}
],
"yAxis": [
{
"name": "\u7968\u623f(\u4e07)",
"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": "\u8fd1\u65e5\u70ed\u64ad\u7535\u5f71\u6bcf\u65e5\u7968\u623f",
"target": "blank",
"subtarget": "blank",
"left": "right",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_ee0cf3b94bdd4a299381e315bfd81d59.setOption(option_ee0cf3b94bdd4a299381e315bfd81d59);
</script>
</body>
</html>