<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/echarts/4.3.0/echarts.min.js"></script>
</head>
<style>
* {
margin: 0;
padding: 0;
}
.content {
border: 1px solid rgb(117, 193, 251);
width: 110vh;
height: 90vh;
margin: 10px auto;
padding: 10px;
}
.title h3 {
margin-left: 2em;
position: relative;
width: 8em;
height: 2.5em;
line-height: 2.5em;
background-color: rgb(117, 193, 251);
color: #fff;
text-align: center;
}
.title h3:before {
content: "";
position: absolute;
top: 0;
left: -1em;
width: 0;
height: 0;
border-top: 1.25em solid transparent;
border-right: 1em solid rgb(117, 193, 251);
border-bottom: 1.25em solid transparent;
}
.title h3:after {
content: "";
position: absolute;
top: 0;
right: -1em;
width: 0;
height: 0;
border-bottom: 1.25em solid transparent;
border-left: 1em solid rgb(117, 193, 251);
border-top: 1.25em solid transparent;
}
.proportion,
.charges {
margin-bottom: 10px;
}
#proportion-chart1,
#proportion-chart2 {
display: inline-block;
width: 35%;
height: 30vh;
}
#Pselect {
display: inline-block;
width: 25%;
height: 30vh;
vertical-align: top;
}
#Pselect select {
display: block;
width: 6em;
height: 2em;
margin: 6vh auto;
text-align: center;
text-align-last: center;
outline: none;
border: 1px solid #277de2;
}
.charges select {
display: inline-block;
vertical-align: top;
width: 6em;
height: 2em;
text-align: center;
text-align-last: center;
outline: none;
border: 1px solid #277de2;
}
fastmock 模拟数据 echarts 可视化实例
最新推荐文章于 2023-05-28 06:15:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)