ZedGraph LogoZedGraph Class Library Documentation
X2Axis Class
NamespacesZedGraphX2Axis
X2Axis inherits from Axis, and defines the special characteristics of a horizontal axis, specifically located at the top of the Rect of the GraphPane object
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class X2Axis _
	Inherits Axis _
	Implements ICloneable, ISerializable
[SerializableAttribute]
public ref class X2Axis : public Axis, 
	ICloneable, ISerializable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
X2AxisX2AxisNew()()
Default constructor that sets all X2Axis properties to default values as defined in the X2Axis..::Default class

X2AxisX2AxisNew(String)
Default constructor that sets all X2Axis properties to default values as defined in the X2Axis..::Default class, except for the axis title

X2AxisX2AxisNew(X2Axis)
The Copy Constructor

AxisGap
The size of the gap between multiple axes (see YAxisList and Y2AxisList).
(Inherited from Axis.)
CalcSpace(Graphics, GraphPane, Single, Single%)
Calculate the space required (pixels) for this Axis object.
(Inherited from Axis.)
Clone()()
Typesafe, deep-copy clone method.

Color
The color to use for drawing this Axis.
(Inherited from Axis.)
Cross
Gets or sets the scale value at which this axis should cross the "other" axis.
(Inherited from Axis.)
CrossAuto
Gets or sets a value that determines whether or not the Cross value is set automatically.
(Inherited from Axis.)
Draw(Graphics, GraphPane, Single, Single)
Do all rendering associated with this Axis to the specified Graphics device.
(Inherited from Axis.)
DrawMinorTics(Graphics, GraphPane, Double, Single, Single, Single)
Draw the minor tic marks as required for this Axis.
(Inherited from Axis.)
DrawTitle(Graphics, GraphPane, Single, Single)
Draw the title for this Axis.
(Inherited from Axis.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCrossAxis(GraphPane)
Gets the "Cross" axis that corresponds to this axis.
(Overrides Axis.GetCrossAxis(GraphPane).)
GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo instance with the data needed to serialize the target object
(Overrides Axis.GetObjectData(SerializationInfo, StreamingContext).)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
IsAxisSegmentVisible
Gets or sets a property that determines whether or not the axis segment (the line that represents the axis itself) is drawn.
(Inherited from Axis.)
IsVisible
This property determines whether or not the Axis is shown.
(Inherited from Axis.)
MajorGrid
Gets a reference to the MajorGrid class that contains the properties of the major grid.
(Inherited from Axis.)
MajorTic
Gets a reference to the MajorTic class instance for this Axis. This class stores all the major tic settings.
(Inherited from Axis.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinorGrid
Gets a reference to the MinorGrid class that contains the properties of the minor grid.
(Inherited from Axis.)
MinorTic
Gets a reference to the MinorTic class instance for this Axis. This class stores all the minor tic settings.
(Inherited from Axis.)
MinSpace
Gets or sets the minimum axis space allocation.
(Inherited from Axis.)
ResetAutoScale(GraphPane, Graphics)
Restore the scale ranging to automatic mode, and recalculate the Axis scale ranges
(Inherited from Axis.)
Scale
Gets the Scale instance associated with this Axis.
(Inherited from Axis.)
ScaleFormatEvent
Subscribe to this event to handle custom formatting of the scale labels.
(Inherited from Axis.)
ScaleTitleEvent
Allow customization of the title when the scale is very large Subscribe to this event to handle custom formatting of the scale axis label.
(Inherited from Axis.)
static memberschema2
Current schema value that defines the version of the serialized file

SetMinSpaceBuffer(Graphics, GraphPane, Single, Boolean)
This method will set the MinSpace property for this Axis using the currently required space multiplied by a fraction ().
(Inherited from Axis.)
SetTransformMatrix(Graphics, GraphPane, Single)
Setup the Transform Matrix to handle drawing of this X2Axis
(Overrides Axis.SetTransformMatrix(Graphics, GraphPane, Single).)
ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

Tag
A tag object for use by the user. This can be used to store additional information associated with the Axis. ZedGraph does not use this value for any purpose.
(Inherited from Axis.)
Title
Gets or sets the Label class that contains the title of this Axis.
(Inherited from Axis.)
ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Type
Gets or sets the AxisType for this Axis.
(Inherited from Axis.)
Inheritance Hierarchy
Object
Axis
 X2Axis

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621