1 Star 0 Fork 0

liw/untitled

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
render.html 4.66 KB
一键复制 编辑 原始数据 按行查看 历史
liw 提交于 2020-03-05 23:09 . 入门小组
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Awesome-pyecharts</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
</head>
<body>
<div id="c848aa1fa03449759f8bd52c19053236" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_c848aa1fa03449759f8bd52c19053236 = echarts.init(
document.getElementById('c848aa1fa03449759f8bd52c19053236'), 'white', {renderer: 'canvas'});
var option_c848aa1fa03449759f8bd52c19053236 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"color": [
"#c23531",
"#2f4554",
"#61a0a8",
"#d48265",
"#749f83",
"#ca8622",
"#bda29a",
"#6e7074",
"#546570",
"#c4ccd3",
"#f05b72",
"#ef5b9c",
"#f47920",
"#905a3d",
"#fab27b",
"#2a5caa",
"#444693",
"#726930",
"#b2d235",
"#6d8346",
"#ac6767",
"#1d953f",
"#6950a1",
"#918597"
],
"series": [
{
"type": "bar",
"name": "\u4ef7\u683c",
"data": [
19304.82,
23662.13,
36461.72,
36587.69,
37078.86,
42577.8,
49080.59,
55413.06,
57943.13,
62726.67,
66165.35,
72099.62,
74304.77,
75395.94,
95015.09
],
"barCategoryGap": "20%",
"label": {
"show": true,
"position": "right",
"margin": 8
},
"rippleEffect": {
"show": true,
"brushType": "stroke",
"scale": 2.5,
"period": 4
}
}
],
"legend": [
{
"data": [
"\u4ef7\u683c"
],
"selected": {
"\u4ef7\u683c": true
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"textStyle": {
"fontSize": 14
},
"borderWidth": 0
},
"xAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
}
}
],
"yAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
},
"data": [
"\u91d1\u5c71",
"\u5949\u8d24",
"\u677e\u6c5f",
"\u5609\u5b9a",
"\u9752\u6d66",
"\u5b9d\u5c71",
"\u95f5\u884c",
"\u6d66\u4e1c",
"\u666e\u9640",
"\u6768\u6d66",
"\u8679\u53e3",
"\u957f\u5b81",
"\u9759\u5b89",
"\u5f90\u6c47",
"\u9ec4\u6d66"
]
}
],
"title": [
{
"text": "\u4e0a\u6d77\u5404\u533a\u57df\u5e73\u5747\u4ef7\u683c",
"padding": 5,
"itemGap": 10
}
]
};
chart_c848aa1fa03449759f8bd52c19053236.setOption(option_c848aa1fa03449759f8bd52c19053236);
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liw0227/untitled.git
git@gitee.com:liw0227/untitled.git
liw0227
untitled
untitled
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385