ZedGraph LogoZedGraph Class Library Documentation
CurveItem Class
NamespacesZedGraphCurveItem
This class contains the data and methods for an individual curve within a graph pane. It carries the settings for the curve including the key and item names, colors, symbols and sizes, linetypes, etc.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public abstract class CurveItem : ISerializable, 
	ICloneable
<SerializableAttribute> _
Public MustInherit Class CurveItem _
	Implements ISerializable, ICloneable
[SerializableAttribute]
public ref class CurveItem abstract : ISerializable, 
	ICloneable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
CurveItemCurveItemNew(String, array<Double>[](), array<Double>[]())
CurveItem constructor the pre-specifies the curve label, the x and y data values as a IPointList, the curve type (Bar or Line/Symbol), the Color, and the SymbolType. Other properties of the curve are defaulted to the values in the GraphPane..::Default class.

CurveItemCurveItemNew(String, IPointList)
CurveItem constructor the pre-specifies the curve label, the x and y data values as a IPointList, the curve type (Bar or Line/Symbol), the Color, and the SymbolType. Other properties of the curve are defaulted to the values in the GraphPane..::Default class.

CurveItemCurveItemNew(String)
CurveItem constructor that specifies the label of the CurveItem. This is the same as CurveItem(label, null, null). CurveItemCurveItemNew(String, array<Double>[](), array<Double>[]())

CurveItemCurveItemNew()()

CurveItemCurveItemNew(CurveItem)
The Copy Constructor

AddPoint(Double, Double)
Add a single x,y coordinate point to the end of the points collection for this curve.

AddPoint(PointPair)
Add a PointPair object to the end of the points collection for this curve.

BaseAxis(GraphPane)
Returns a reference to the Axis object that is the "base" (independent axis) from which the values are drawn.

Clear()()
Clears the points from this CurveItem. This is the same as CurveItem.Points.Clear().

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.

Draw(Graphics, GraphPane, Int32, Single)
Do all rendering associated with this CurveItem to the specified Graphics device. This method is normally only called by the Draw method of the parent CurveList collection object.

DrawLegendKey(Graphics, GraphPane, RectangleF, Single)
Draw a legend key entry for this CurveItem at the specified location. This abstract base method passes through to DrawLegendKey(Graphics, GraphPane, RectangleF, Single) or DrawLegendKey(Graphics, GraphPane, RectangleF, Single) to do the rendering.

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)
Calculate the width of each bar, depending on the actual bar type

GetCoords(GraphPane, Int32, String%)
Determine the coords for the rectangle associated with a specified point for this CurveItem

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

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.

GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
GetXAxis(GraphPane)
Get the X Axis instance (either XAxis or X2Axis) to which this CurveItem belongs.

GetYAxis(GraphPane)
Get the Y Axis instance (either YAxis or Y2Axis) to which this CurveItem belongs.

GetYAxisIndex(GraphPane)
Get the index of the Y Axis in the YAxis or Y2Axis list to which this CurveItem belongs.

IsBar
Determines whether this CurveItem is a BarItem. This does not include HiLowBarItem's or ErrorBarItem's.

IsLine
Determines whether this CurveItem is a LineItem.

IsOverrideOrdinal
Gets or sets a value which allows you to override the normal ordinal axis behavior.

IsPie
Determines whether this CurveItem is a PieItem.

IsSelectable
Determines whether this CurveItem can be selected in the graph.

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.

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.

IsX2Axis
Gets or sets a value that determines which X axis this CurveItem is assigned to.

IsY2Axis
Gets or sets a value that determines which Y axis this CurveItem is assigned to.

Item[([Int32])]
An accessor for the PointPair datum for this CurveItem. Index is the ordinal reference (zero based) of the point.

Label
A Label instance that represents the Legend entry for the this CurveItem object

Link
Gets or sets the hyperlink information for this CurveItem.

MakeUnique()()
Loads some pseudo unique colors/symbols into this CurveItem. This is the same as MakeUnique(ColorSymbolRotator.StaticInstance). StaticInstanceColorSymbolRotatorMakeUnique(ColorSymbolRotator)

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)

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.

Points
The IPointList of X,Y point sets that represent this CurveItem.

RemovePoint(Int32)
Removes a single point from this CurveItem.

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.

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.

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
ValueAxis(GraphPane)
Returns a reference to the Axis object that is the "value" (dependent axis) from which the points are drawn.

YAxisIndex
Gets or sets the index number of the Y Axis to which this CurveItem belongs.

Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621