diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-24 19:32:14 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-24 19:32:14 +0200 |
| commit | d36a5ab7115ec53405622e4437cd3f8f615d515d (patch) | |
| tree | 690fc0834e6916a3597c0fd84830f8d34a56eb42 /Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs | |
| parent | 11e64f69d00d84974bb09bef6f921c7eeab7c47e (diff) | |
| download | Tango-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.cs | 11 |
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 |
