示例#1
0
文件: Y2Axis.cs 项目: 1907931256/jx
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The Y2Axis object from which to copy</param>
 public Y2Axis(Y2Axis rhs)
     : base(rhs)
 {
 }
示例#2
0
文件: Y2Axis.cs 项目: CareyGit/jx
		/// <summary>
		/// The Copy Constructor
		/// </summary>
		/// <param name="rhs">The Y2Axis object from which to copy</param>
		public Y2Axis( Y2Axis rhs )
			: base( rhs )
		{
		}
示例#3
0
文件: GraphPane.cs 项目: CareyGit/jx
		/// <summary>
		/// Add a secondary <see c_ref="Y2Axis" /> (right side) to the list of axes
		/// in the Graph.
		/// </summary>
		/// <remarks>
		/// Note that the primary <see c_ref="Y2Axis" /> is always included by default.
		/// This method turns off the <see c_ref="MajorTic" /> and <see c_ref="MinorTic" />
		/// <see c_ref="MinorTic.IsOpposite" /> and <see c_ref="MinorTic.IsInside" />
		/// properties by default.
		/// </remarks>
		/// <param name="title">The title for the <see c_ref="Y2Axis" />.</param>
		/// <returns>the ordinal position (index) in the <see c_ref="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;
			_y2AxisList.Add( axis );
			return _y2AxisList.Count - 1;
		}