ZedGraph LogoZedGraph Class Library Documentation
Bar Class
NamespacesZedGraphBar
A class representing all the characteristics of the bar segments that make up a curve on the graph.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class Bar _
	Implements ICloneable, ISerializable
Members
All MembersConstructorsMethodsPropertiesFields



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

BarBarNew(Color)
Default constructor that sets the Color as specified, and the remaining Bar properties to default values as defined in the Bar..::Default class. The specified color is only applied to the Color, and the Color will be defaulted.

BarBarNew(Bar)
The Copy Constructor

Border
The Border object used to draw the border around the Bar.

Clone()()
Typesafe, deep-copy clone method.

Draw(Graphics, GraphPane, Single, Single, Single, Single, Single, Boolean, Boolean, PointPair)
Draw the Bar to the specified Graphics device at the specified location. This routine draws a single bar.

Draw(Graphics, GraphPane, RectangleF, Single, Boolean, Boolean, PointPair)
Draw the Bar to the specified Graphics device at the specified location. This routine draws a single bar.

DrawBars(Graphics, GraphPane, CurveItem, Axis, Axis, Single, Int32, Single)
Draw the this Bar to the specified Graphics device as a bar at each defined point. This method is normally only called by the Draw(Graphics, GraphPane, Int32, Single) method of the BarItem object

DrawSingleBar(Graphics, GraphPane, CurveItem, Axis, Axis, Int32, Int32, Single, Single)
Draw the specified single bar (an individual "point") of this series to the specified Graphics device. This method is not as efficient as DrawBars(Graphics, GraphPane, CurveItem, Axis, Axis, Single, Int32, Single), which draws the bars for all points. It is intended to be used only for SortedOverlay, which requires special handling of each bar.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Fill
Gets or sets the Fill data for this Bar.

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.)
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.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
static memberschema
Current schema value that defines the version of the serialized file

ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621