Пример #1
0
 /// <summary>
 /// Zoom all PlotSurface X-Axes about focusPoint by zoomProportion
 /// </summary>
 public void ZoomXAxes(double zoomProportion, double focusRatio)
 {
     if (XAxis1 != null)
     {
         XAxis1.IncreaseRange(zoomProportion, focusRatio);
     }
     if (XAxis2 != null)
     {
         XAxis2.IncreaseRange(zoomProportion, focusRatio);
     }
 }
Пример #2
0
 /// <summary>
 /// Zoom all PlotSurface X-Axes about focusPoint by zoomProportion
 /// </summary>
 public void ZoomXAxes(double zoomProportion, double focusRatio)
 {
     if (XAxis1 != null)
     {
         XAxis1.IncreaseRange(zoomProportion, focusRatio);
     }
     if (XAxis2 != null)
     {
         XAxis2.IncreaseRange(zoomProportion, focusRatio);
     }
     for (int i = 0; i < xAxisOverrides_.Count; i++)
     {
         if (xAxisOverrides_[i] != null)
         {
             ((Axis)xAxisOverrides_[i]).IncreaseRange(zoomProportion, focusRatio);
         }
     }
 }