Table of Contents

Class GraphControl

Namespace
Bonsai.Gui.ZedGraph
Assembly
Bonsai.Gui.ZedGraph.dll

Provides a dynamic graph control with a built-in color cycle palette.

public class GraphControl : ZedGraphControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
ZedGraphControl
GraphControl
Implements
Inherited Members
ZedGraphControl.SaveAs()
ZedGraphControl.SaveAsBitmap()
ZedGraphControl.SaveAsEmf()
ZedGraphControl.RestoreScale(GraphPane)
ZedGraphControl.ZoomOut(GraphPane)
ZedGraphControl.ZoomOutAll(GraphPane)
ZedGraphControl.AxisChange()
ZedGraphControl.SetCursor()
ZedGraphControl.DoPageSetup()
ZedGraphControl.DoPrint()
ZedGraphControl.DoPrintPreview()
ZedGraphControl.GetImage()
ZedGraphControl.SetScrollRangeFromData()
ZedGraphControl.UseExtendedPrintDialog
ZedGraphControl.PrintDocument
ZedGraphControl.ZoomButtons
ZedGraphControl.ZoomButtons2
ZedGraphControl.ZoomModifierKeys
ZedGraphControl.ZoomModifierKeys2
ZedGraphControl.PanButtons
ZedGraphControl.PanButtons2
ZedGraphControl.PanModifierKeys
ZedGraphControl.PanModifierKeys2
ZedGraphControl.EditButtons
ZedGraphControl.EditModifierKeys
ZedGraphControl.SelectButtons
ZedGraphControl.SelectModifierKeys
ZedGraphControl.SelectAppendModifierKeys
ZedGraphControl.LinkButtons
ZedGraphControl.LinkModifierKeys
ZedGraphControl.MasterPane
ZedGraphControl.GraphPane
ZedGraphControl.IsAntiAlias
ZedGraphControl.IsShowPointValues
ZedGraphControl.IsShowCursorValues
ZedGraphControl.IsEnableHEdit
ZedGraphControl.IsEnableVEdit
ZedGraphControl.IsEnableZoom
ZedGraphControl.IsEnableHZoom
ZedGraphControl.IsEnableVZoom
ZedGraphControl.IsEnableWheelZoom
ZedGraphControl.IsEnableHPan
ZedGraphControl.IsEnableVPan
ZedGraphControl.IsShowContextMenu
ZedGraphControl.IsShowCopyMessage
ZedGraphControl.SaveFileDialog
ZedGraphControl.IsPrintKeepAspectRatio
ZedGraphControl.IsPrintFillPage
ZedGraphControl.IsPrintScaleAll
ZedGraphControl.IsAutoScrollRange
ZedGraphControl.ScrollGrace
ZedGraphControl.IsShowHScrollBar
ZedGraphControl.IsShowVScrollBar
ZedGraphControl.IsSynchronizeXAxes
ZedGraphControl.IsSynchronizeYAxes
ZedGraphControl.IsScrollY2
ZedGraphControl.YScrollRangeList
ZedGraphControl.Y2ScrollRangeList
ZedGraphControl.ScrollMinX
ZedGraphControl.ScrollMaxX
ZedGraphControl.ScrollMinY
ZedGraphControl.ScrollMaxY
ZedGraphControl.ScrollMinY2
ZedGraphControl.ScrollMaxY2
ZedGraphControl.IsScrolling
ZedGraphControl.PointValueFormat
ZedGraphControl.PointDateFormat
ZedGraphControl.ZoomStepFraction
ZedGraphControl.IsZoomOnMouseCenter
ZedGraphControl.BeenDisposed
ZedGraphControl.Selection
ZedGraphControl.IsEnableSelection
ZedGraphControl.ContextMenuBuilder
ZedGraphControl.ZoomEvent
ZedGraphControl.ScrollDoneEvent
ZedGraphControl.ScrollProgressEvent
ZedGraphControl.ScrollEvent
ZedGraphControl.PointEditEvent
ZedGraphControl.PointValueEvent
ZedGraphControl.CursorValueEvent
ZedGraphControl.MouseDownEvent
ZedGraphControl.MouseUpEvent
ZedGraphControl.MouseMoveEvent
ZedGraphControl.DoubleClickEvent
ZedGraphControl.LinkEvent
Extension Methods

Constructors

GraphControl()

Initializes a new instance of the GraphControl class.

Properties

AutoScaleAxis

Gets or sets a value indicating whether to recalculate the axis range automatically when redrawing the graph.

MouseDown

Occurs when the mouse pointer is over the control and a mouse button is pressed.

MouseMove

Occurs when the mouse pointer is moved over the control.

MouseUp

Occurs when the mouse pointer is over the control and a mouse button is released.

Methods

GetColor(int)

Returns the color in the color cycle at the specified index.

GetNextColor()

Returns the next color in the color cycle, and increments the color index.

GetNormalizedRectangle(RectangleF, Point, Point)

Computes a rectangle defined by the specified points which is also contained inside the pane boundaries.

OnHandleDestroyed(EventArgs)

Raises the HandleDestroyed event.

OnPaint(PaintEventArgs)

Raises the Paint event.

ResetColorCycle()

Resets the color cycle to the first color in the palette.

SetLayout(int, int)

Sets the number of rows and columns in the layout explicitly for graphs with multiple panes.

SetLayout(PaneLayout)

Sets the auto layout strategy for graphs with multiple panes.

UpdateRubberBand(Rectangle, Rectangle)

Updates the state of the rubber band selection overlay.