Class GraphControl
Provides a dynamic graph control with a built-in color cycle palette.
public class GraphControl : ZedGraphControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
ZedGraphControlGraphControl
- 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.UseExtendedPrintDialogZedGraphControl.PrintDocumentZedGraphControl.ZoomButtonsZedGraphControl.ZoomButtons2ZedGraphControl.ZoomModifierKeysZedGraphControl.ZoomModifierKeys2ZedGraphControl.PanButtonsZedGraphControl.PanButtons2ZedGraphControl.PanModifierKeysZedGraphControl.PanModifierKeys2ZedGraphControl.EditButtonsZedGraphControl.EditModifierKeysZedGraphControl.SelectButtonsZedGraphControl.SelectModifierKeysZedGraphControl.SelectAppendModifierKeysZedGraphControl.LinkButtonsZedGraphControl.LinkModifierKeysZedGraphControl.MasterPaneZedGraphControl.GraphPaneZedGraphControl.IsAntiAliasZedGraphControl.IsShowPointValuesZedGraphControl.IsShowCursorValuesZedGraphControl.IsEnableHEditZedGraphControl.IsEnableVEditZedGraphControl.IsEnableZoomZedGraphControl.IsEnableHZoomZedGraphControl.IsEnableVZoomZedGraphControl.IsEnableWheelZoomZedGraphControl.IsEnableHPanZedGraphControl.IsEnableVPanZedGraphControl.IsShowContextMenuZedGraphControl.IsShowCopyMessageZedGraphControl.SaveFileDialogZedGraphControl.IsPrintKeepAspectRatioZedGraphControl.IsPrintFillPageZedGraphControl.IsPrintScaleAllZedGraphControl.IsAutoScrollRangeZedGraphControl.ScrollGraceZedGraphControl.IsShowHScrollBarZedGraphControl.IsShowVScrollBarZedGraphControl.IsSynchronizeXAxesZedGraphControl.IsSynchronizeYAxesZedGraphControl.IsScrollY2ZedGraphControl.YScrollRangeListZedGraphControl.Y2ScrollRangeListZedGraphControl.ScrollMinXZedGraphControl.ScrollMaxXZedGraphControl.ScrollMinYZedGraphControl.ScrollMaxYZedGraphControl.ScrollMinY2ZedGraphControl.ScrollMaxY2ZedGraphControl.IsScrollingZedGraphControl.PointValueFormatZedGraphControl.PointDateFormatZedGraphControl.ZoomStepFractionZedGraphControl.IsZoomOnMouseCenterZedGraphControl.BeenDisposedZedGraphControl.SelectionZedGraphControl.IsEnableSelectionZedGraphControl.ContextMenuBuilderZedGraphControl.ZoomEventZedGraphControl.ScrollDoneEventZedGraphControl.ScrollProgressEventZedGraphControl.ScrollEventZedGraphControl.PointEditEventZedGraphControl.PointValueEventZedGraphControl.CursorValueEventZedGraphControl.MouseDownEventZedGraphControl.MouseUpEventZedGraphControl.MouseMoveEventZedGraphControl.DoubleClickEventZedGraphControl.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.