Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
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
潘栩锋
Thick-Common
Commits
e4c86d07
Commit
e4c86d07
authored
Jul 26, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 机架修正,当没走完全程,就会有 NULL_VALUE 数据, 影响了 YMIN, 导致没图看到
parent
a9a049ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
PgScanCorrVm.cs
...Y.Thick.Base/FLY.Thick.Base.UI/PgScanCorr/PgScanCorrVm.cs
+9
-2
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgScanCorr/PgScanCorrVm.cs
View file @
e4c86d07
...
...
@@ -525,9 +525,16 @@ namespace FLY.Thick.Base.UI
return
;
SeriesInfos
[
0
].
Datas
.
AddRange
(
reponse
.
OrgDatas
[
0
].
Select
(
ad
=>
Misc
.
MyBase
.
ISVALIDATA
(
ad
)
?
ad
:
double
.
NaN
));
var
list
=
SeriesInfos
[
0
].
Datas
.
Where
((
d
)
=>
{
if
(
double
.
IsNaN
(
d
))
return
false
;
else
return
true
;
});
//设置Y轴范围
int
max
=
(
int
)
SeriesInfos
[
0
].
Datas
.
Max
();
int
min
=
(
int
)
SeriesInfos
[
0
].
Datas
.
Min
();
int
max
=
(
int
)
list
.
Max
();
int
min
=
(
int
)
list
.
Min
();
//扩大3倍显示
int
range
=
max
-
min
;
if
(
range
==
0
)
...
...
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