ZedGraph LogoZedGraph Class Library Documentation
Axis Class
NamespacesZedGraphAxis
The Axis class is an abstract base class that encompasses all properties and methods required to define a graph Axis.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public abstract class Axis : ISerializable, 
	ICloneable
<SerializableAttribute> _
Public MustInherit Class Axis _
	Implements ISerializable, ICloneable
[SerializableAttribute]
public ref class Axis abstract : ISerializable, 
	ICloneable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
AxisAxisNew()()
Default constructor for Axis that sets all axis properties to default values as defined in the Axis..::Default class.

AxisAxisNew(String)
Constructor for Axis that sets all axis properties to default values as defined in the Axis..::Default class, except for the Title.

AxisAxisNew(Axis)
The Copy Constructor.

AxisGap
The size of the gap between multiple axes (see YAxisList and Y2AxisList).

CalcSpace(Graphics, GraphPane, Single, Single%)
Calculate the space required (pixels) for this Axis object.

Color
The color to use for drawing this Axis.

Cross
Gets or sets the scale value at which this axis should cross the "other" axis.

CrossAuto
Gets or sets a value that determines whether or not the Cross value is set automatically.

Draw(Graphics, GraphPane, Single, Single)
Do all rendering associated with this Axis to the specified Graphics device.

DrawMinorTics(Graphics, GraphPane, Double, Single, Single, Single)
Draw the minor tic marks as required for this Axis.

DrawTitle(Graphics, GraphPane, Single, Single)
Draw the title for this 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.

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

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.

IsVisible
This property determines whether or not the Axis is shown.

MajorGrid
Gets a reference to the MajorGrid class that contains the properties of the major grid.

MajorTic
Gets a reference to the MajorTic class instance for this Axis. This class stores all the major tic settings.

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.

MinorTic
Gets a reference to the MinorTic class instance for this Axis. This class stores all the minor tic settings.

MinSpace
Gets or sets the minimum axis space allocation.

ResetAutoScale(GraphPane, Graphics)
Restore the scale ranging to automatic mode, and recalculate the Axis scale ranges

Scale
Gets the Scale instance associated with this Axis.

ScaleFormatEvent
Subscribe to this event to handle custom formatting of the scale labels.

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.

static memberschema
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 ().

SetTransformMatrix(Graphics, GraphPane, Single)
Setup the Transform Matrix to handle drawing of this Axis

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.

Title
Gets or sets the Label class that contains the title of this Axis.

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Type
Gets or sets the AxisType for this Axis.

Remarks
This class is inherited by the XAxis, YAxis, and Y2Axis classes to define specific characteristics for those types.
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621