/// <summary> /// Add a secondary <see cref="YAxis"/> (left side) to the list of axes in the Graph. /// </summary> /// <remarks> /// Note that the primary <see cref="YAxis"/> 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="YAxis"/>. /// </param> /// <returns> /// the ordinal position (index) in the <see cref="YAxisList"/>. /// </returns> public int AddYAxis(string title) { YAxis axis = new YAxis(title); axis.MajorTic.IsOpposite = false; axis.MinorTic.IsOpposite = false; axis.MajorTic.IsInside = false; axis.MinorTic.IsInside = false; this._yAxisList.Add(axis); return this._yAxisList.Count - 1; }
/// <summary> /// Initializes a new instance of the <see cref="YAxis"/> class. /// The Copy Constructor /// </summary> /// <param name="rhs"> /// The YAxis object from which to copy /// </param> public YAxis(YAxis rhs) : base(rhs) { }