Commit fc68f4aa authored by xinzhedeai's avatar xinzhedeai

line fontsize

parent bd246679
......@@ -326,6 +326,9 @@ export default {
showInLegend: true,
dataLabels: {
format: "<b>{point.name}</b>: {point.percentage:.1f} %",
style: {
fontSize: '0.17rem', // 设置系列文本的字体大小
}
},
},
},
......@@ -614,8 +617,8 @@ export default {
var opts = {
chartConfig: {
chart: {
marginTop: 20,
marginLeft: 40,
marginTop: 40,
marginLeft: 70,
marginBottom: 35,
},
xAxis: {
......@@ -624,7 +627,11 @@ export default {
labels: {
rotation: -20, // 设置轴标签旋转角度
align: "center",
style: {
fontSize: "0.17rem",
},
},
},
yAxis: {
title: {
......@@ -638,7 +645,13 @@ export default {
align: "high",
y: -10,
x: 25,
},
labels: {
style: {
fontSize: '0.17rem', // 设置 Y 轴文字大小
}
}
},
plotOptions: {},
series: [
......@@ -1675,7 +1688,7 @@ export default {
justify-content: center;
pointer-events: none;
h2 {
font-size: 0.4534rem;
font-size: 0.45rem;
line-height: 1;
margin: 0.23rem 0 0 0rem;
font-weight: bold;
......@@ -1696,8 +1709,8 @@ export default {
position: absolute;
top: 0.3rem;
left: 0.1rem;
height: 0.4rem;
width: 1.17rem;
height: 0.54rem;
width: 1.56rem;
background: no-repeat top center
url("~@/assets/images/layout/h_btn_2.png");
background-size: 100%;
......@@ -1707,7 +1720,7 @@ export default {
a {
color: #fff;
text-decoration: none;
font-size: 0.168rem;
font-size: 0.21rem;
}
}
......@@ -1860,6 +1873,8 @@ export default {
font-size: 0.24rem;
letter-spacing: 0.01rem;
padding-left: 0.4rem;
font-weight: normal;
font-family: Adobe Heiti Std;
//background-image:linear-gradient(to bottom,#fff,#f3fffc,#e4fff9);
//-webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
......@@ -1939,7 +1954,7 @@ export default {
background-repeat: no-repeat;
background-position: center center;
background-size: 100% auto;
top: 0.55rem;
top: 0.35rem;
position: absolute;
left: .2rem;
//background-image:url('~@/assets/images/layout/md31_i1.png');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment