Class HiLowBarItem
Encapsulates an "High-Low" Bar curve type that displays a bar in which both the bottom and the top of the bar are set by data valuesfrom the PointPair struct.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
[Serializable]
public class HiLowBarItem : BarItem, ICloneable, ISerializable
Remarks
The HiLowBarItem type is intended for displaying bars that cover a band of data, such as a confidence interval, "waterfall" chart, etc. The position of each bar is set according to the PointPair values. The independent axis is assigned with Base, and is a BarBase enum type. If Base is set to Y or Y2, then the bars will actually be horizontal, since the X axis becomes the value axis and the Y or Y2 axis becomes the independent axis.
Constructors
| Improve this Doc View SourceHiLowBarItem(SerializationInfo, StreamingContext)
Constructor for deserializing objects
Declaration
protected HiLowBarItem(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | A SerializationInfo instance that defines the serialized data |
StreamingContext | context | A StreamingContext instance that contains the serialized data |
HiLowBarItem(String, Double[], Double[], Double[], Color)
Create a new HiLowBarItem using the specified properties.
Declaration
public HiLowBarItem(string label, double[] x, double[] y, double[] baseVal, Color color)
Parameters
Type | Name | Description |
---|---|---|
String | label | The label that will appear in the legend. |
Double[] | x | An array of double precision values that define the independent (X axis) values for this curve |
Double[] | y | An array of double precision values that define the dependent (Y axis) values for this curve |
Double[] | baseVal | An array of double precision values that define the base value (the bottom) of the bars for this curve. |
Color | color | A Color value that will be applied to the Fill and Border properties. |
HiLowBarItem(String, IPointList, Color)
Create a new HiLowBarItem using the specified properties.
Declaration
public HiLowBarItem(string label, IPointList points, Color color)
Parameters
Type | Name | Description |
---|---|---|
String | label | The label that will appear in the legend. |
IPointList | points | A IPointList of double precision value trio's that define the X, Y, and lower dependent values for this curve |
Color | color | A Color value that will be applied to the Fill and Border properties. |
HiLowBarItem(HiLowBarItem)
The Copy Constructor
Declaration
public HiLowBarItem(HiLowBarItem rhs)
Parameters
Type | Name | Description |
---|---|---|
HiLowBarItem | rhs | The HiLowBarItem object from which to copy |
Fields
| Improve this Doc View Sourceschema3
Current schema value that defines the version of the serialized file
Declaration
public const int schema3 = 11
Field Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceClone()
Typesafe, deep-copy clone method.
Declaration
public HiLowBarItem Clone()
Returns
Type | Description |
---|---|
HiLowBarItem | A new, independent copy of this class |
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo instance with the data needed to serialize the target object
Declaration
[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | A SerializationInfo instance that defines the serialized data |
StreamingContext | context | A StreamingContext instance that contains the serialized data |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceICloneable.Clone()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()
Declaration
object ICloneable.Clone()
Returns
Type | Description |
---|---|
Object | A deep copy of this object |