diff options
Diffstat (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphX.WPF/Components/GraphAxisControl.cs')
| -rw-r--r-- | Software/Visual_Studio/SideChains/RealTimeGraphX.WPF/Components/GraphAxisControl.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphX.WPF/Components/GraphAxisControl.cs b/Software/Visual_Studio/SideChains/RealTimeGraphX.WPF/Components/GraphAxisControl.cs index ea96a5a98..ef8dd4a3a 100644 --- a/Software/Visual_Studio/SideChains/RealTimeGraphX.WPF/Components/GraphAxisControl.cs +++ b/Software/Visual_Studio/SideChains/RealTimeGraphX.WPF/Components/GraphAxisControl.cs @@ -134,7 +134,7 @@ namespace RealTimeGraphX.WPF.Components { if (Orientation == Orientation.Vertical) { - if (Items != null) + if (Items != null && e.Minimum != null && e.Maximum != null) { var steps = e.Minimum.CreateRange(e.Minimum, e.Maximum, Ticks).Reverse().ToList(); |
