Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
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
潘栩锋
hemei
Commits
fecae39c
Commit
fecae39c
authored
Jun 19, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 风环增量图强制Y轴 Step 为整个范围的 1/10
parent
60d3f222
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
AirRingGraph.xaml
...enZiJia.UI.Client/UiModule/AirRingGraph/AirRingGraph.xaml
+1
-1
AirRingGraphVm.cs
...enZiJia.UI.Client/UiModule/AirRingGraph/AirRingGraphVm.cs
+6
-2
No files found.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/UiModule/AirRingGraph/AirRingGraph.xaml
View file @
fecae39c
...
@@ -289,7 +289,7 @@
...
@@ -289,7 +289,7 @@
LabelFormatter="{Binding YFormatter}"
LabelFormatter="{Binding YFormatter}"
MinValue="{Binding OffsetGraphYMin}" MaxValue="{Binding OffsetGraphYMax}" FontFamily="Courier New" >
MinValue="{Binding OffsetGraphYMin}" MaxValue="{Binding OffsetGraphYMax}" FontFamily="Courier New" >
<lvc:Axis.Separator>
<lvc:Axis.Separator>
<lvc:Separator Stroke="{StaticResource Brushes.AxisSeparator}" Step="
10
"/>
<lvc:Separator Stroke="{StaticResource Brushes.AxisSeparator}" Step="
{Binding OffsetGraphStep}
"/>
</lvc:Axis.Separator>
</lvc:Axis.Separator>
</lvc:Axis>
</lvc:Axis>
</lvc:CartesianChart.AxisY>
</lvc:CartesianChart.AxisY>
...
...
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Client/UiModule/AirRingGraph/AirRingGraphVm.cs
View file @
fecae39c
...
@@ -26,9 +26,10 @@ namespace FLY.FeedbackRenZiJia.UI.Client.UiModule
...
@@ -26,9 +26,10 @@ namespace FLY.FeedbackRenZiJia.UI.Client.UiModule
public
Func
<
double
,
string
>
YFormatter
{
get
;
private
set
;
}
public
Func
<
double
,
string
>
YFormatter
{
get
;
private
set
;
}
public
int
XMax
{
get
;
protected
set
;
}
public
int
XMax
{
get
;
protected
set
;
}
public
double
OffsetGraphYMax
{
get
;
protected
set
;
}
=
50
;
public
int
OffsetGraphYMax
{
get
;
protected
set
;
}
=
50
;
public
double
OffsetGraphYMin
{
get
;
protected
set
;
}
=
-
50
;
public
int
OffsetGraphYMin
{
get
;
protected
set
;
}
=
-
50
;
public
int
OffsetGraphStep
{
get
;
protected
set
;
}
=
10
;
/// <summary>
/// <summary>
/// Y轴倍数
/// Y轴倍数
/// </summary>
/// </summary>
...
@@ -229,8 +230,11 @@ namespace FLY.FeedbackRenZiJia.UI.Client.UiModule
...
@@ -229,8 +230,11 @@ namespace FLY.FeedbackRenZiJia.UI.Client.UiModule
if
(
range
<
10
)
if
(
range
<
10
)
range
=
10
;
range
=
10
;
OffsetGraphStep
=
range
/
5
;
OffsetGraphYMax
=
range
;
OffsetGraphYMax
=
range
;
OffsetGraphYMin
=
-
range
;
OffsetGraphYMin
=
-
range
;
}
}
private
void
MHeatCell_PropertyChanged
(
object
sender
,
PropertyChangedEventArgs
e
)
private
void
MHeatCell_PropertyChanged
(
object
sender
,
PropertyChangedEventArgs
e
)
...
...
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