Ejemplo n.º 1
0
Archivo: YAxis.cs Proyecto: CareyGit/jx
		/// <summary>
		/// The Copy Constructor
		/// </summary>
		/// <param name="rhs">The YAxis object from which to copy</param>
		public YAxis( YAxis rhs )
			: base( rhs )
		{
		}
Ejemplo n.º 2
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The YAxis object from which to copy</param>
 public YAxis(YAxis rhs)
     : base(rhs)
 {
 }
Ejemplo n.º 3
0
		/// <summary>
		/// Add a secondary <see c_ref="YAxis" /> (left side) to the list of axes
		/// in the Graph.
		/// </summary>
		/// <remarks>
		/// Note that the primary <see c_ref="YAxis" /> 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="YAxis" />.</param>
		/// <returns>the ordinal position (index) in the <see c_ref="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;
		}