Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuIncubator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kimber
GaoQuIncubator
Commits
fc68f4aa
Commit
fc68f4aa
authored
Oct 20, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
line fontsize
parent
bd246679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
index.vue
src/views/Screen/index.vue
+22
-7
No files found.
src/views/Screen/index.vue
View file @
fc68f4aa
...
@@ -326,6 +326,9 @@ export default {
...
@@ -326,6 +326,9 @@ export default {
showInLegend
:
true
,
showInLegend
:
true
,
dataLabels
:
{
dataLabels
:
{
format
:
"
<b>{point.name}</b>: {point.percentage:.1f} %
"
,
format
:
"
<b>{point.name}</b>: {point.percentage:.1f} %
"
,
style
:
{
fontSize
:
'
0.17rem
'
,
// 设置系列文本的字体大小
}
},
},
},
},
},
},
...
@@ -614,8 +617,8 @@ export default {
...
@@ -614,8 +617,8 @@ export default {
var
opts
=
{
var
opts
=
{
chartConfig
:
{
chartConfig
:
{
chart
:
{
chart
:
{
marginTop
:
2
0
,
marginTop
:
4
0
,
marginLeft
:
4
0
,
marginLeft
:
7
0
,
marginBottom
:
35
,
marginBottom
:
35
,
},
},
xAxis
:
{
xAxis
:
{
...
@@ -624,7 +627,11 @@ export default {
...
@@ -624,7 +627,11 @@ export default {
labels
:
{
labels
:
{
rotation
:
-
20
,
// 设置轴标签旋转角度
rotation
:
-
20
,
// 设置轴标签旋转角度
align
:
"
center
"
,
align
:
"
center
"
,
style
:
{
fontSize
:
"
0.17rem
"
,
},
},
},
},
},
yAxis
:
{
yAxis
:
{
title
:
{
title
:
{
...
@@ -638,7 +645,13 @@ export default {
...
@@ -638,7 +645,13 @@ export default {
align
:
"
high
"
,
align
:
"
high
"
,
y
:
-
10
,
y
:
-
10
,
x
:
25
,
x
:
25
,
},
},
labels
:
{
style
:
{
fontSize
:
'
0.17rem
'
,
// 设置 Y 轴文字大小
}
}
},
},
plotOptions
:
{},
plotOptions
:
{},
series
:
[
series
:
[
...
@@ -1675,7 +1688,7 @@ export default {
...
@@ -1675,7 +1688,7 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
pointer-events
:
none
;
pointer-events
:
none
;
h2
{
h2
{
font-size
:
0
.45
34
rem
;
font-size
:
0
.45rem
;
line-height
:
1
;
line-height
:
1
;
margin
:
0
.23rem
0
0
0rem
;
margin
:
0
.23rem
0
0
0rem
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -1696,8 +1709,8 @@ export default {
...
@@ -1696,8 +1709,8 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
0
.3rem
;
top
:
0
.3rem
;
left
:
0
.1rem
;
left
:
0
.1rem
;
height
:
0
.4rem
;
height
:
0
.
5
4rem
;
width
:
1
.
17
rem
;
width
:
1
.
56
rem
;
background
:
no-repeat
top
center
background
:
no-repeat
top
center
url("~@/assets/images/layout/h_btn_2.png")
;
url("~@/assets/images/layout/h_btn_2.png")
;
background-size
:
100%
;
background-size
:
100%
;
...
@@ -1707,7 +1720,7 @@ export default {
...
@@ -1707,7 +1720,7 @@ export default {
a
{
a
{
color
:
#fff
;
color
:
#fff
;
text-decoration
:
none
;
text-decoration
:
none
;
font-size
:
0
.
168
rem
;
font-size
:
0
.
21
rem
;
}
}
}
}
...
@@ -1860,6 +1873,8 @@ export default {
...
@@ -1860,6 +1873,8 @@ export default {
font-size
:
0
.24rem
;
font-size
:
0
.24rem
;
letter-spacing
:
0
.01rem
;
letter-spacing
:
0
.01rem
;
padding-left
:
0
.4rem
;
padding-left
:
0
.4rem
;
font-weight
:
normal
;
font-family
:
Adobe
Heiti
Std
;
//background-image:linear-gradient(to bottom,#fff,#f3fffc,#e4fff9);
//background-image:linear-gradient(to bottom,#fff,#f3fffc,#e4fff9);
//-webkit-background-clip:text;-webkit-text-fill-color:transparent;
//-webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
}
...
@@ -1939,7 +1954,7 @@ export default {
...
@@ -1939,7 +1954,7 @@ export default {
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
center
center
;
background-position
:
center
center
;
background-size
:
100%
auto
;
background-size
:
100%
auto
;
top
:
0
.
5
5rem
;
top
:
0
.
3
5rem
;
position
:
absolute
;
position
:
absolute
;
left
:
.2rem
;
left
:
.2rem
;
//background-image:url('~@/assets/images/layout/md31_i1.png');
//background-image:url('~@/assets/images/layout/md31_i1.png');
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment