ZedGraph LogoZedGraph Class Library Documentation
ZedGraph Namespace
NamespacesZedGraph
This namespace contains the entire ZedGraph class library, plus the ZedGraphControl.
Declaration Syntax
C#Visual BasicVisual C++
namespace ZedGraph
Namespace ZedGraph
namespace ZedGraph
Types
All TypesClassesStructuresInterfacesEnumerationsDelegates
IconTypeDescription
AlignH
Enumeration type for the different horizontal text alignment options

AlignP
Enumeration type for the different proximal alignment options

AlignV
Enumeration type for the different vertical text alignment options

ArrowObj
A class that represents a graphic arrow or line object on the graph. A list of ArrowObj objects is maintained by the GraphObjList collection class.

Axis
The Axis class is an abstract base class that encompasses all properties and methods required to define a graph Axis.

GraphPane..::AxisChangeEventHandler
A delegate to provide notification through the AxisChangeEvent when AxisChange()() is called.

AxisLabel
Class that handles the data associated with text title and its associated font properties. Inherits from Label, and adds IsOmitMag and IsTitleAtCross properties, which are specifically associated with the AxisTitle.

AxisType
Enumeration type for the various axis types that are available

Bar
A class representing all the characteristics of the bar segments that make up a curve on the graph.

BarBase
Enumeration type that defines the base axis from which Bar graphs are displayed. The bars can be drawn on any of the four axes (XAxis, X2Axis, YAxis, and Y2Axis).

BarItem
Encapsulates a bar type that displays vertical or horizontal bars

BarSettings
Class that handles the global settings for bar charts

BarType
Enumeration type that defines the available types of BarItem graphs.

BasicArrayPointList
A data collection class for ZedGraph, provided as an alternative to PointPairList.

Border
A class that encapsulates Border (frame) properties for an object. The Border class is used in a variety of ZedGraph objects to handle the drawing of the Border around the object.

BoxObj
A class that represents a bordered and/or filled box (rectangle) object on the graph. A list of BoxObj objects is maintained by the GraphObjList collection class.

Chart
Class that handles the properties of the charting area (where the curves are actually drawn), which is bounded by the XAxis, YAxis, and Y2Axis.

CollectionPlus
A collection base class containing basic extra functionality to be inherited by CurveList, IPointList, GraphObjList.

ColorSymbolRotator
Class used to get the next color/symbol for GraphPane.AddCurve methods.

CurveItem..::Comparer
Compares CurveItem's based on the point value at the specified index and for the specified axis. Sort()()

ZedGraphControl..::ContextMenuBuilderEventHandler
A delegate that allows subscribing methods to append or modify the context menu.

ZedGraphControl..::ContextMenuObjectState
Public enumeration that specifies the type of object present at the Context Menu's mouse location

CoordType
Enumeration type for the user-defined coordinate types available. These coordinate types are used the ArrowObj objects and TextObj objects only.

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

CurveList
A collection class containing a list of CurveItem objects that define the set of curves to be displayed on the graph.

DataPoint
A simple storage struct to maintain an individual sampling of data. This only contains two data values in order to reduce to memory load for large datasets. (e.g., no Tag or Z property)

DataSourcePointList

DateUnit
Enumeration type for the various axis date and time unit types that are available

Chart..::Default
A simple struct that defines the default property values for the Chart class.

Scale..::Default
A simple struct that defines the default property values for the Scale class.

GasGaugeNeedle..::Default
Specify the default property values for the GasGaugeNeedle class.

LineBase..::Default
A simple struct that defines the default property values for the LineBase class.

OHLCBar..::Default
A simple struct that defines the default property values for the OHLCBar class.

Axis..::Default
A simple struct that defines the default property values for the Axis class.

GraphObj..::Default
A simple struct that defines the default property values for the GraphObj class.

ArrowObj..::Default
A simple struct that defines the default property values for the ArrowObj class.

MinorTic..::Default
A simple struct that defines the default property values for the MinorTic class.

MajorTic..::Default
A simple struct that defines the default property values for the MinorTic class.

PaneBase..::Default
A simple struct that defines the default property values for the PaneBase class.

MasterPane..::Default
A simple struct that defines the default property values for the MasterPane class.

GapLabel..::Default
A simple struct that defines the default property values for the GapLabel class.

GraphPane..::Default
A simple struct that defines the default property values for the GraphPane class.

XAxis..::Default
A simple struct that defines the default property values for the XAxis class.

PieItem..::Default
Specify the default property values for the PieItem class.

MinorGrid..::Default
A simple struct that defines the default property values for the MinorGrid class.

MajorGrid..::Default
A simple struct that defines the default property values for the MajorGrid class.

JapaneseCandleStick..::Default
A simple struct that defines the default property values for the JapaneseCandleStick class.

Y2Axis..::Default
A simple subclass of the Y2Axis..::Default class that defines the default property values for the Y2Axis class.

BoxObj..::Default
A simple struct that defines the default property values for the ArrowObj class.

Symbol..::Default
A simple struct that defines the default property values for the Symbol class.

X2Axis..::Default
A simple struct that defines the default property values for the X2Axis class.

Line..::Default
A simple struct that defines the default property values for the Line class.

FontSpec..::Default
A simple struct that defines the default property values for the FontSpec class.

Border..::Default
A simple struct that defines the default property values for the Fill class.

BarSettings..::Default
A simple struct that defines the default property values for the BarSettings class.

Margin..::Default
A simple struct that defines the default property values for the Margin class.

Bar..::Default
A simple struct that defines the default property values for the Bar class.

HiLowBar..::Default
A simple struct that defines the default property values for the HiLowBar class.

GasGaugeRegion..::Default
Specify the default property values for the GasGaugeRegion class.

YAxis..::Default
A simple struct that defines the default property values for the YAxis class.

Legend..::Default
A simple struct that defines the default property values for the Legend class.

Fill..::Default
A simple struct that defines the default property values for the Fill class.

ErrorBar..::Default
A simple struct that defines the default property values for the ErrorBar class.

TextObj..::Default
A simple struct that defines the default property values for the TextObj class.

ImageObj..::Default
A simple struct that defines the default property values for the ImageObj class.

EllipseObj
A class that represents a bordered and/or filled ellipse object on the graph. A list of EllipseObj objects is maintained by the GraphObjList collection class. The ellipse is defined as the ellipse that would be contained by the rectangular box as defined by the Location property.

ErrorBar
This class handles the drawing of the curve ErrorBar objects. The Error Bars are the vertical lines with a symbol at each end.

ErrorBarItem
Encapsulates an "Error Bar" curve type that displays a vertical or horizontal line with a symbol at each end.

Fill
A class that encapsulates color-fill properties for an object. The Fill class is used in Rect, Rect, Legend, Bar, and Line objects.

FillType
Enumeration type for the various types of fills that can be used with Bar charts.

FilteredPointList
An example of an IPointList implementation that stores large datasets, and selectively filters the output data depending on the displayed range.

FontSpec
The FontSpec class is a generic font class that maintains the font family, attributes, colors, border and fill modes, font size, and angle information. This class can render text with a variety of alignment options using the AlignH and AlignV parameters in the Draw(Graphics, PaneBase, String, Single, Single, AlignH, AlignV, Single) method.

GapLabel
Class that handles the data associated with a text title and its associated font properties. Inherits from Label, and adds the Gap property for use by the Axis and PaneBase objects.

GasGaugeNeedle
A class representing a needle on the GasGuage chart GasGaugeNeedles.

GasGaugeRegion
A class representing a region on the GasGuage chart GasGaugeRegions.

GraphObj
An abstract base class that represents a text object on the graph. A list of GraphObj objects is maintained by the GraphObjList collection class.

GraphObjList
A collection class containing a list of TextObj objects to be displayed on the graph.

GraphPane
Class GraphPane encapsulates the graph pane, which is all display elements associated with an individual graph.

HiLowBar
This class handles the drawing of the curve HiLowBar objects. The Hi-Low Bars are the "floating" bars that have a lower and upper value and appear at each defined point.

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.

HSBColor
Hue-Saturation-Brightness Color class to store a color value, and to manage conversions to and from RGB colors in the Color struct.

ImageObj
A class that represents an image object on the graph. A list of GraphObj objects is maintained by the GraphObjList collection class.

IPointList
An interface to a collection class containing data that define the set of points to be displayed on the curve.

IPointListEdit
An interface to a collection class containing data that define the set of points to be displayed on the curve.

JapaneseCandleStick
This class handles the drawing of the curve JapaneseCandleStick objects.

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

Label
Class that handles the data associated with text title and its associated font properties

Legend
This class encapsulates the chart Legend that is displayed in the GraphPane

LegendPos
Enumeration type that defines the possible legend locations

Line
A class representing all the characteristics of the Line segments that make up a curve on the graph.

LineBase
A class that handles the basic attributes of a line segment.

LineItem
Encapsulates a curve type that is displayed as a line and/or a set of symbols at each point.

LineObj
A class that represents a line segment object on the graph. A list of GraphObj objects is maintained by the GraphObjList collection class.

LineType
Enumeration type that defines the available types of LineItem graphs.

Link
A class that maintains hyperlink information for a clickable object on the graph.

ZedGraphControl..::LinkEventHandler
A delegate that allows notification of clicks on ZedGraph objects that have active links enabled

Location
A class than contains information about the position of an object on the graph.

MajorGrid
Class that handles the data associated with the major grid lines on the chart. Inherits from MinorGrid.

MajorTic
Class that holds the specific properties for the major tics. Inherits from MinorTic.

Margin
Class that handles that stores the margin properties for the GraphPane

MasterPane
A collection class containing a list of GraphPane objects organized together in some form.

MinorGrid
Class that holds the specific properties for the minor grid.

MinorTic
Class that holds the specific properties for the minor tics.

NoDupePointList
A collection class to maintain a set of samples.

OHLCBar
This class handles the drawing of the curve OHLCBar objects.

OHLCBarItem
Encapsulates a CandleStick curve type that displays a vertical (or horizontal) line displaying the range of data values at each sample point, plus an starting mark and an ending mark signifying the opening and closing value for the sample.

PaneBase
An abstract base class that defines basic functionality for handling a pane. This class is the parent class for MasterPane and GraphPane.

PaneLayout
Define the auto layout options for the SetLayout(Graphics, PaneLayout) method.

PaneLayoutMgr
internal class to store pane layout details for the MasterPane

PaneList
A collection class containing a list of GraphPane objects.

PerfDataType
An enum used to specify the X or Y data type of interest -- see XData and YData.

PerformanceData
Sample data structure containing a variety of data values, in this case the values are related in that they correspond to the same time value.

PieItem
A class representing a pie chart object comprised of one or more PieItems.

PieLabelType
Enumeration that determines the type of label that is displayed for each pie slice (see LabelType).

PointD
Simple struct that stores X and Y coordinates as doubles.

ZedGraphControl..::PointEditHandler
A delegate that receives notification after a point-edit operation is completed.

PointPair
A simple point represented by an (X,Y,Z) group of double values.

PointPair4
The basic PointPair class holds three data values (X, Y, Z). This class extends the basic PointPair to contain four data values (X, Y, Z, T).

PointPairBase
This is a base class that provides base-level functionality for a data point consisting of an (X,Y) pair of double values.

PointPair..::PointPairComparer
Compares points based on their x values. Is setup to be used in an ascending order sort. Sort()()

PointPair..::PointPairComparerY
Compares points based on their y values. Is setup to be used in an ascending order sort. Sort()()

PointPairCV
A simple instance that stores a data point (X, Y, Z). This differs from a regular PointPair in that it maps the ColorValue property to an independent value. That is, ColorValue and Z are not related (as they are in the PointPair).

PointPairList
A collection class containing a list of PointPair objects that define the set of points to be displayed on the curve.

ZedGraphControl..::PointValueHandler
A delegate that allows custom formatting of the point value tooltips

PolyObj
A class that represents a bordered and/or filled polygon object on the graph. A list of PolyObj objects is maintained by the GraphObjList collection class.

RadarPointList
A class containing a set of data values to be plotted as a RadarPlot. This class will effectively convert the data into PointPair objects by converting the polar coordinates to rectangular coordinates

RenderModeType
Enum for specifying the type of data to be returned by the ZedGraphWeb Render() method.

RollingPointPairList
A class that provides a rolling list of PointPair objects. This is essentially a first-in-first-out (FIFO) queue with a fixed capacity which allows 'rolling' (or oscilloscope like) graphs to be be animated without having the overhead of an ever-growing ArrayList. The queue is constructed with a fixed capacity and new points can be enqueued. When the capacity is reached the oldest (first in) PointPair is overwritten. However, when accessing via IPointList, the PointPair objects are seen in the order in which they were enqeued. RollingPointPairList supports data editing through the IPointListEdit interface. Colin Green with mods by John Champion $Date: 2007/02/18 05:51:54 $

Sample
A simple storage class to maintain an individual sampling of data

SampleMultiPointList
A sample class that holds an internal collection, and implements the IPointList interface so that it can be used by ZedGraph as curve data.

SamplePointList
A collection class to maintain a set of samples

SampleType
enumeration used to indicate which type of data will be plotted.

Scale
The Scale class is an abstract base class that encompasses the properties and methods associated with a scale of data.

Axis..::ScaleFormatHandler
A delegate that allows full custom formatting of the Axis labels

ScaleState
A class that captures an Axis scale range.

ScaleStateList
A collection class that maintains a list of ScaleState objects, corresponding to the list of Axis objects from YAxisList or Y2AxisList.

Axis..::ScaleTitleEventHandler
Allow customization of title based on user preferences.

ZedGraphControl..::ScrollDoneHandler
A delegate that allows notification of scroll events.

ZedGraphControl..::ScrollProgressHandler
A delegate that allows notification of scroll events.

ScrollRange
A simple struct to store minimum and maximum Double type values for the scroll range

ScrollRangeList
A collection class containing a list of ScrollRange objects.

Selection

SortType
Enumeration type that defines which set of data points - X or Y - is used Sort()() to perform the sort.

ZoomState..::StateType
An enumeration that describes whether a given state is the result of a Pan or Zoom operation.

StepType
Enumeration type that defines how a curve is drawn. Curves can be drawn as ordinary lines by connecting the points directly, or in a stair-step fashion as a series of discrete, constant values. In a stair step plot, all lines segments are either horizontal or vertical. In a non-step (line) plot, the lines can be any angle.

StickItem
Encapsulates a curve type that is displayed as a series of vertical "sticks", one at each defined point.

StockPointList
A collection class containing a list of StockPt objects that define the set of points to be displayed on the curve.

StockPt
The basic PointPair class holds three data values (X, Y, Z). This class extends the basic PointPair to contain five data values (X, Y, Z, Open, Close).

Symbol
This class handles the drawing of the curve Symbol objects. The symbols are the small shapes that appear over each defined point along the curve.

SymbolType
Enumeration type for the various symbol shapes that are available

TextObj
A class that represents a text object on the graph. A list of GraphObj objects is maintained by the GraphObjList collection class.

ValueHandler
A class designed to simplify the process of getting the actual value for the various stacked and regular curve types

X2Axis
X2Axis inherits from Axis, and defines the special characteristics of a horizontal axis, specifically located at the top of the Rect of the GraphPane object

XAxis
XAxis inherits from Axis, and defines the special characteristics of a horizontal axis, specifically located at the bottom of the Rect of the GraphPane object

XDate
This struct encapsulates a date and time value, and handles associated calculations and conversions between various formats.

Y2Axis
Y2Axis inherits from Axis, and defines the special characteristics of a vertical axis, specifically located on the right side of the Rect of the GraphPane object

Y2AxisList
A collection class containing a list of YAxis objects.

YAxis
YAxis inherits from Axis, and defines the special characteristics of a vertical axis, specifically located on the right side of the Rect of the GraphPane object

YAxisList
A collection class containing a list of YAxis objects.

ZedGraphControl
The ZedGraphControl class provides a UserControl interface to the ZedGraph class library. This allows ZedGraph to be installed as a control in the Visual Studio toolbox. You can use the control by simply dragging it onto a form in the Visual Studio form editor. All graph attributes are accessible via the GraphPane property.

ZedGraphException
An exception thrown by ZedGraph. A child class of ApplicationException.

ZedGraphControl..::ZedMouseEventHandler
A delegate that allows notification of mouse events on Graph objects.

ZedGraphControl..::ZoomEventHandler
A delegate that allows notification of zoom and pan events.

ZoomState
A class that captures all the scale range settings for a GraphPane.

ZoomStateStack
A LIFO stack of prior ZoomState objects, used to allow zooming out to prior states (of scale range settings).

ZOrder
Enumeration that specifies a Z-Order position for GraphObj objects.