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 | |
| 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')
3 files changed, 11 insertions, 24 deletions
diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphEx/FastGraphs/RealTimeGraphExLineScroll.cs b/Software/Visual_Studio/SideChains/RealTimeGraphEx/FastGraphs/RealTimeGraphExLineScroll.cs index 216683d39..a2260030c 100644 --- a/Software/Visual_Studio/SideChains/RealTimeGraphEx/FastGraphs/RealTimeGraphExLineScroll.cs +++ b/Software/Visual_Studio/SideChains/RealTimeGraphEx/FastGraphs/RealTimeGraphExLineScroll.cs @@ -41,18 +41,6 @@ namespace RealTimeGraphEx.FastGraphs #region Properties /// <summary> - /// Gets or sets the maximum vectorsCollection to display on the graph (default 1000, affects performance). - /// </summary> - public int MaxPoints - { - get { return (int)GetValue(MaxPointsProperty); } - set { SetValue(MaxPointsProperty, value); } - } - public static readonly DependencyProperty MaxPointsProperty = - DependencyProperty.Register("MaxPoints", typeof(int), typeof(RealTimeGraphExLineScroll), new PropertyMetadata(1000, new PropertyChangedCallback(CrossModelChanged))); - - - /// <summary> /// Gets or sets the graph fill color. /// </summary> public Color Stroke 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 diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExMultiBase.cs b/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExMultiBase.cs index d9edc478e..108ff4ea3 100644 --- a/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExMultiBase.cs +++ b/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExMultiBase.cs @@ -23,18 +23,6 @@ namespace RealTimeGraphEx #region Properties /// <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(RealTimeGraphExMultiBase), new PropertyMetadata(1000, new PropertyChangedCallback(CrossModelChanged))); - - - /// <summary> /// Gets or sets the collection of data series to display on the graph. /// </summary> public GraphMultiController Controller |
