diff src/graphics.cc @ 8081:b1634dd9ebe7

Make hggroup to react on [xyzac]liminclude changes in its children.
author Michael Goffioul
date Tue, 02 Sep 2008 20:31:28 -0400
parents a028a5960e18
children 3cc1ca1b1576
line wrap: on
line diff
--- a/src/graphics.cc	Tue Sep 02 15:01:18 2008 -0400
+++ b/src/graphics.cc	Tue Sep 02 20:31:28 2008 -0400
@@ -3484,32 +3484,32 @@
 
   char update_type = 0;
 
-  if (axis_type == "xlim")
+  if (axis_type == "xlim" || axis_type == "xliminclude")
     {
       get_children_limits (min_val, max_val, min_pos, kids, 'x');
       
       update_type = 'x';
     }
-  else if (axis_type == "ylim")
+  else if (axis_type == "ylim" || axis_type == "yliminclude")
     {
       get_children_limits (min_val, max_val, min_pos, kids, 'y');
 
       update_type = 'y';
     }
-  else if (axis_type == "zlim")
+  else if (axis_type == "zlim" || axis_type == "zliminclude")
     {
       get_children_limits (min_val, max_val, min_pos, kids, 'z');
 
       update_type = 'z';
     }
-  else if (axis_type == "clim")
+  else if (axis_type == "clim" || axis_type == "climinclude")
     {
       get_children_limits (min_val, max_val, min_pos, kids, 'c');
 
       update_type = 'c';
 
     }
-  else if (axis_type == "alim")
+  else if (axis_type == "alim" || axis_type == "aliminclude")
     {
       get_children_limits (min_val, max_val, min_pos, kids, 'a');