Example #1
0
 /// <summary>
 /// Copy the properties from this <see cref="ZoomState"/> out to the specified <see cref="GraphPane"/>.
 /// </summary>
 /// <param name="pane">The <see cref="GraphPane"/> to which the scale range properties should be
 /// copied.</param>
 public void ApplyState(GraphPane pane)
 {
     _xAxis.ApplyScale(pane.XAxis);
     _x2Axis.ApplyScale(pane.X2Axis);
     _yAxis.ApplyScale(pane.YAxisList);
     _y2Axis.ApplyScale(pane.Y2AxisList);
 }
Example #2
0
 /// <summary>
 /// Copy the properties from this <see cref="ZoomState"/> out to the specified <see cref="GraphPane"/>.
 /// </summary>
 /// <param name="pane">The <see cref="GraphPane"/> to which the scale range properties should be
 /// copied.</param>
 public void ApplyState(GraphPane pane)
 {
     if (pane == null)
     {
         return;
     }
     _xAxis.ApplyScale(pane.XAxis);
     _x2Axis.ApplyScale(pane.X2Axis);
     _yAxis.ApplyScale(pane.YAxisList);
     _y2Axis.ApplyScale(pane.Y2AxisList);
 }