Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
6bc0dfc2
Commit
6bc0dfc2
authored
Aug 21, 2024
by
谢章伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员柱状图y轴最大刻度取整
parent
46e9b745
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
safe-quality.vue
src/module/databoard/databoard/safe-quality.vue
+1
-1
No files found.
src/module/databoard/databoard/safe-quality.vue
View file @
6bc0dfc2
...
...
@@ -446,7 +446,7 @@ export default {
sery
.
data
.
push
(
0
);
}
var
maxData
=
Math
.
max
.
apply
(
null
,
sery
.
data
);
var
maxY
=
maxData
*
1.2
;
var
maxY
=
Math
.
floor
(
maxData
*
1.2
)
;
this
.
people_options
.
yAxis
.
max
=
maxY
;
this
.
people_options
.
series
=
[];
this
.
people_options
.
series
.
push
(
sery
);
...
...
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