aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs')
-rw-r--r--Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs b/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs
index cf8d6c0fe..c1ed37474 100644
--- a/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs
+++ b/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs
@@ -349,6 +349,17 @@ namespace RealTimeGraphEx
public static readonly DependencyProperty ZoomDirectionProperty =
DependencyProperty.Register("ZoomDirection", typeof(ZoomDirectionEnum), typeof(RealTimeGraphExBase), new PropertyMetadata(ZoomDirectionEnum.Both));
+ /// <summary>
+ /// Gets or sets the maximum points to display on the graph (default 1000).
+ /// </summary>
+ public int MaxPoints
+ {
+ get { return (int)GetValue(MaxPointsProperty); }
+ set { SetValue(MaxPointsProperty, value); }
+ }
+ public static readonly DependencyProperty MaxPointsProperty =
+ DependencyProperty.Register("MaxPoints", typeof(int), typeof(RealTimeGraphExBase), new PropertyMetadata(1000, new PropertyChangedCallback(CrossModelChanged)));
+
#endregion
#region Cross Thread Fields