Encapsulates a Japanese CandleStick curve type that displays a vertical (or horizontal)
line displaying the range of data values at each sample point, plus a filled bar
signifying the opening and closing value for the sample.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class JapaneseCandleStickItem : CurveItem, ICloneable, ISerializable
<SerializableAttribute> _ Public Class JapaneseCandleStickItem _ Inherits CurveItem _ Implements ICloneable, ISerializable
[SerializableAttribute] public ref class JapaneseCandleStickItem : public CurveItem, ICloneable, ISerializable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| JapaneseCandleStickItemJapaneseCandleStickItemNew(String) |
Create a new OHLCBarItem, specifying only the legend label.
| |
| JapaneseCandleStickItemJapaneseCandleStickItemNew(String, IPointList) |
Create a new JapaneseCandleStickItem using the specified properties.
| |
| JapaneseCandleStickItemJapaneseCandleStickItemNew(JapaneseCandleStickItem) |
The Copy Constructor
| |
| AddPoint(Double, Double) |
Add a single x,y coordinate point to the end of the points collection for this curve.
(Inherited from CurveItem.) | |
| AddPoint(PointPair) |
Add a PointPair object to the end of the points collection for this curve.
(Inherited from CurveItem.) | |
| BaseAxis(GraphPane) | Returns a reference to the Axis object that is the "base"
(independent axis) from which the values are drawn. (Inherited from CurveItem.) | |
| Clear()() |
Clears the points from this CurveItem. This is the same
as CurveItem.Points.Clear().
(Inherited from CurveItem.) | |
| Clone()() |
Typesafe, deep-copy clone method.
| |
| Color |
The Line/Symbol/Bar
color (FillColor for the Bar). This is a common access to
Line.Color,
Border.Color, and
Fill.Color properties for this curve.
(Inherited from CurveItem.) | |
| Draw(Graphics, GraphPane, Int32, Single) |
Do all rendering associated with this OHLCBarItem to the specified
Graphics device. This method is normally only
called by the Draw method of the parent CurveList
collection object.
(Overrides CurveItem.Draw(Graphics, GraphPane, Int32, Single).) | |
| DrawLegendKey(Graphics, GraphPane, RectangleF, Single) |
Draw a legend key entry for this OHLCBarItem at the specified location
(Overrides CurveItem.DrawLegendKey(Graphics, GraphPane, RectangleF, Single).) | |
| Equals(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) |
Calculate the width of each bar, depending on the actual bar type
(Inherited from CurveItem.) | |
| GetCoords(GraphPane, Int32, String%) |
Determine the coords for the rectangle associated with a specified point for
this CurveItem (Overrides CurveItem.GetCoords(GraphPane, Int32, String%).) | |
| 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 CurveItem.GetObjectData(SerializationInfo, StreamingContext).) | |
| GetRange(Double%, Double%, Double%, Double%, Boolean, Boolean, GraphPane) |
Go through the list of PointPair data values for this CurveItem
and determine the minimum and maximum values in the data.
(Inherited from CurveItem.) | |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| GetXAxis(GraphPane) | (Inherited from CurveItem.) | |
| GetYAxis(GraphPane) | (Inherited from CurveItem.) | |
| GetYAxisIndex(GraphPane) | (Inherited from CurveItem.) | |
| IsBar |
Determines whether this CurveItem
is a BarItem. This does not include HiLowBarItem's
or ErrorBarItem's.
(Inherited from CurveItem.) | |
| IsLine | (Inherited from CurveItem.) | |
| IsOverrideOrdinal |
Gets or sets a value which allows you to override the normal
ordinal axis behavior.
(Inherited from CurveItem.) | |
| IsPie | (Inherited from CurveItem.) | |
| IsSelectable |
Determines whether this CurveItem can be selected in the graph.
(Inherited from CurveItem.) | |
| IsSelected |
Determines whether this CurveItem is selected on the graph.
Note that this value changes the curve displayed color, but it does not
affect the display of the legend entry. To hide the legend entry, you
have to set IsVisible to false.
(Inherited from CurveItem.) | |
| IsVisible |
Determines whether this CurveItem is visible on the graph.
Note that this value turns the curve display on or off, but it does not
affect the display of the legend entry. To hide the legend entry, you
have to set IsVisible to false.
(Inherited from CurveItem.) | |
| IsX2Axis |
Gets or sets a value that determines which X axis this CurveItem
is assigned to.
(Inherited from CurveItem.) | |
| IsY2Axis |
Gets or sets a value that determines which Y axis this CurveItem
is assigned to.
(Inherited from CurveItem.) | |
| Item[([Int32])] |
An accessor for the PointPair datum for this CurveItem.
Index is the ordinal reference (zero based) of the point.
(Inherited from CurveItem.) | |
| Label | (Inherited from CurveItem.) | |
| Link |
Gets or sets the hyperlink information for this CurveItem.
(Inherited from CurveItem.) | |
| MakeUnique()() |
Loads some pseudo unique colors/symbols into this CurveItem. This
is the same as MakeUnique(ColorSymbolRotator.StaticInstance).
StaticInstanceColorSymbolRotatorMakeUnique(ColorSymbolRotator) (Inherited from CurveItem.) | |
| MakeUnique(ColorSymbolRotator) |
Loads some pseudo unique colors/symbols into this CurveItem. This
is mainly useful for differentiating a set of new CurveItems without
having to pick your own colors/symbols.
MakeUnique(ColorSymbolRotator) (Inherited from CurveItem.) | |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NPts |
Readonly property that gives the number of points that define this
CurveItem object, which is the number of points in the
Points data collection.
(Inherited from CurveItem.) | |
| Points |
The IPointList of X,Y point sets that represent this
CurveItem.
(Inherited from CurveItem.) | |
| RemovePoint(Int32) |
Removes a single point from this CurveItem.
(Inherited from CurveItem.) | |
| schema2 |
Current schema value that defines the version of the serialized file
| |
| Stick |
Gets a reference to the JapaneseCandleStick class defined
for this JapaneseCandleStickItem.
| |
| 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 CurveItem. ZedGraph does
not use this value for any purpose.
(Inherited from CurveItem.) | |
| ToString()() | (Inherited from Object.) | |
| ValueAxis(GraphPane) | Returns a reference to the Axis object that is the "value"
(dependent axis) from which the points are drawn. (Inherited from CurveItem.) | |
| YAxisIndex |
Gets or sets the index number of the Y Axis to which this
CurveItem belongs.
(Inherited from CurveItem.) |
For this type to work properly, your IPointList must contain
StockPt objects, rather than ordinary PointPair types.
This is because the OHLCBarItem type actually displays 5 data values
but the PointPair only stores 3 data values. The StockPt
stores Date, Close,
Open, High, and
Low members.
For a JapaneseCandleStick chart, the range between opening and closing values
is drawn as a filled bar, with the filled color different
(RisingFill) for the case of
Close
higher than Open, and
FallingFill
for the reverse. The width of the bar is controlled
by the Size property, which is specified in
points (1/72nd inch), and scaled according to CalcScaleFactor()().
The candlesticks are drawn horizontally or vertically depending on the
value of Base, which is a
BarBase enum type.
