Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    CurveItem
    BarItem
    HiLowBarItem
    Implements
    ICloneable
    ISerializable
    Inherited Members
    BarItem._bar
    BarItem.Bar
    BarItem.schema2
    BarItem.Draw(Graphics, GraphPane, Int32, Single)
    BarItem.DrawLegendKey(Graphics, GraphPane, RectangleF, Single)
    BarItem.CreateBarLabels(GraphPane, Boolean, String)
    BarItem.CreateBarLabels(GraphPane, Boolean, String, String, Single, Color, Boolean, Boolean, Boolean)
    BarItem.GetCoords(GraphPane, Int32, String)
    CurveItem._isX2Axis
    CurveItem._isY2Axis
    CurveItem._yAxisIndex
    CurveItem._isVisible
    CurveItem._isSelected
    CurveItem._isSelectable
    CurveItem._isOverrideOrdinal
    CurveItem._points
    CurveItem.Tag
    CurveItem.schema
    CurveItem.Label
    CurveItem.Color
    CurveItem.IsVisible
    CurveItem.IsSelected
    CurveItem.IsSelectable
    CurveItem.IsOverrideOrdinal
    CurveItem.IsX2Axis
    CurveItem.IsY2Axis
    CurveItem.YAxisIndex
    CurveItem.IsBar
    CurveItem.IsPie
    CurveItem.IsLine
    CurveItem.NPts
    CurveItem.Points
    CurveItem.Item[Int32]
    CurveItem.Link
    CurveItem.AddPoint(Double, Double)
    CurveItem.AddPoint(PointPair)
    CurveItem.Clear()
    CurveItem.RemovePoint(Int32)
    CurveItem.GetXAxis(GraphPane)
    CurveItem.GetYAxis(GraphPane)
    CurveItem.GetYAxisIndex(GraphPane)
    CurveItem.MakeUnique()
    CurveItem.MakeUnique(ColorSymbolRotator)
    CurveItem.GetRange(Double, Double, Double, Double, Boolean, Boolean, GraphPane)
    CurveItem.BaseAxis(GraphPane)
    CurveItem.ValueAxis(GraphPane)
    CurveItem.GetBarWidth(GraphPane)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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 Source

    HiLowBarItem(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

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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 Source

    schema3

    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 Source

    Clone()

    Typesafe, deep-copy clone method.

    Declaration
    public HiLowBarItem Clone()
    Returns
    Type Description
    HiLowBarItem

    A new, independent copy of this class

    | Improve this Doc View Source

    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
    BarItem.GetObjectData(SerializationInfo, StreamingContext)

    Explicit Interface Implementations

    | Improve this Doc View Source

    ICloneable.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

    Implements

    System.ICloneable
    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX