aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs')
-rw-r--r--Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs b/Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs
index 3e2294068..5bdef111c 100644
--- a/Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs
+++ b/Software/Visual_Studio/SideChains/RealTimeGraphEx/Components/ComponentBase.cs
@@ -37,10 +37,16 @@ namespace RealTimeGraphEx.Components
{
Graph.ZoomComplete += OnGraphZoomComplete;
Graph.PanningComplete += OnGraphPanningComplete;
+ Graph.MinMaxChanged += Graph_MinMaxChanged;
Render(Graph);
}
}
+ private void Graph_MinMaxChanged(object sender, EventArgs e)
+ {
+ OnGraphMinMaxChanged();
+ }
+
public abstract void Render(RealTimeGraphExBase graph, bool animate = false);
public void RemoveFromParent()
@@ -97,5 +103,10 @@ namespace RealTimeGraphEx.Components
{
}
+
+ protected virtual void OnGraphMinMaxChanged()
+ {
+
+ }
}
}