Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Y2Axis"/> class. 
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">
 /// The Y2Axis object from which to copy
 /// </param>
 public Y2Axis(Y2Axis rhs)
     : base(rhs)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add a secondary <see cref="Y2Axis"/> (right side) to the list of axes in the Graph.
 /// </summary>
 /// <remarks>
 /// Note that the primary <see cref="Y2Axis"/> is always included by default. This method turns off the <see cref="MajorTic"/> and
 /// <see cref="MinorTic"/>
 /// <see cref="MinorTic.IsOpposite"/> and <see cref="MinorTic.IsInside"/>
 /// properties by default.
 /// </remarks>
 /// <param name="title">
 /// The title for the <see cref="Y2Axis"/>.
 /// </param>
 /// <returns>
 /// the ordinal position (index) in the <see cref="Y2AxisList"/>.
 /// </returns>
 public int AddY2Axis(string title)
 {
     Y2Axis axis = new Y2Axis(title);
     axis.MajorTic.IsOpposite = false;
     axis.MinorTic.IsOpposite = false;
     axis.MajorTic.IsInside = false;
     axis.MinorTic.IsInside = false;
     this._y2AxisList.Add(axis);
     return this._y2AxisList.Count - 1;
 }