aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs
index 303b18892..7e653f351 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Graphs/RealTimeGraph.cs
@@ -106,6 +106,16 @@ namespace Tango.PPC.UI.Graphs
public static readonly DependencyProperty HorizontalAxisVisibilityProperty =
DependencyProperty.Register("HorizontalAxisVisibility", typeof(Visibility), typeof(RealTimeGraph), new PropertyMetadata(Visibility.Visible));
+ public double AxisLabelAngle
+ {
+ get { return (double)GetValue(AxisLabelAngleProperty); }
+ set { SetValue(AxisLabelAngleProperty, value); }
+ }
+
+ // Using a DependencyProperty as the backing store for AxisLabelAngle. This enables animation, styling, binding, etc...
+ public static readonly DependencyProperty AxisLabelAngleProperty =
+ DependencyProperty.Register("AxisLabelAngle", typeof(double), typeof(RealTimeGraph), new PropertyMetadata(-30.0));
+
public Visibility VerticalAxisVisibility
{
get { return (Visibility)GetValue(VerticalAxisVisibilityProperty); }