aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-01-24 19:32:14 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-01-24 19:32:14 +0200
commitd36a5ab7115ec53405622e4437cd3f8f615d515d (patch)
tree690fc0834e6916a3597c0fd84830f8d34a56eb42 /Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs
parent11e64f69d00d84974bb09bef6f921c7eeab7c47e (diff)
downloadTango-d36a5ab7115ec53405622e4437cd3f8f615d515d.tar.gz
Tango-d36a5ab7115ec53405622e4437cd3f8f615d515d.zip
Added support for multi sensor frame on developer module graph.
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