ZedGraph LogoZedGraph Class Library Documentation
OHLCBar Class
NamespacesZedGraphOHLCBar
This class handles the drawing of the curve OHLCBar objects.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class OHLCBar _
	Inherits LineBase _
	Implements ICloneable, ISerializable
[SerializableAttribute]
public ref class OHLCBar : public LineBase, 
	ICloneable, ISerializable
Members
All MembersConstructorsMethodsPropertiesFields



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

OHLCBarOHLCBarNew(Color)
Default constructor that sets the Color as specified, and the remaining OHLCBar properties to default values as defined in the OHLCBar..::Default class.

OHLCBarOHLCBarNew(OHLCBar)
The Copy Constructor

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

Color
The color of the Line. Note that this color value can be overridden if the GradientFill.Type is one of the GradientByX, GradientByY, GradientByZ, and GradientByColorValue types.
(Inherited from LineBase.)
DashOff
The "Dash Off" mode for drawing the line.
(Inherited from LineBase.)
DashOn
The "Dash On" mode for drawing the line.
(Inherited from LineBase.)
Draw(Graphics, GraphPane, Boolean, Single, Single, Single, Single, Single, Single, Pen)
Draw the OHLCBar to the specified Graphics device at the specified location.

Draw(Graphics, GraphPane, OHLCBarItem, Axis, Axis, Single)
Draw all the OHLCBar's to the specified Graphics device as a candlestick at each defined point.

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.)
GetBarWidth(GraphPane, Axis, Single)
Returns the width of the candleStick, in pixels, based on the settings for Size and IsAutoSize.

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 LineBase.GetObjectData(SerializationInfo, StreamingContext).)
GetPen(PaneBase, Single)
Create a Pen object based on the properties of this LineBase.
(Inherited from LineBase.)
GetPen(PaneBase, Single, PointPair)
Create a Pen object based on the properties of this LineBase.
(Inherited from LineBase.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
GradientFill
Gets or sets a custom Fill class.
(Inherited from LineBase.)
IsAntiAlias
Gets or sets a value that determines if the lines are drawn using Anti-Aliasing capabilities from the Graphics class.
(Inherited from LineBase.)
IsAutoSize
Gets or sets a value that determines if the Size property will be calculated automatically based on the minimum axis scale step size between bars.

IsOpenCloseVisible
Gets or sets a property that shows or hides the OHLCBar open/close "wings".

IsVisible
Gets or sets a property that shows or hides the Line.
(Inherited from LineBase.)
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

Size
Gets or sets the total width to be used for drawing the opening/closing line segments ("wings") of the OHLCBar items. Units are points.

Style
The style of the Line, defined as a DashStyle enum. This allows the line to be solid, dashed, or dotted.
(Inherited from LineBase.)
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.)
Width
The pen width used to draw the Line, in points (1/72 inch)
(Inherited from LineBase.)
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621