コード例 #1
0
ファイル: YAxis.cs プロジェクト: nic0lae/mathtoolbelt
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The YAxis object from which to copy</param>
 public YAxis( YAxis rhs )
     : base(rhs)
 {
 }
コード例 #2
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The YAxis object from which to copy</param>
 public YAxis(YAxis rhs)
     : base(rhs)
 {
 }
コード例 #3
0
ファイル: GraphPane.cs プロジェクト: nic0lae/mathtoolbelt
 /// <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;
     _yAxisList.Add( axis );
     return _yAxisList.Count - 1;
 }