C# Class mcp.Graphs.GraphBox

GraphBox: a box containing a graph
Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: MarkPaxton/SensorShare3

Protected Properties

Property Type Description
_updateGraphInvoker EventHandler
data System.Collections.ArrayList
fixedY bool
graphArea System.Drawing.Rectangle
interceptX double
interceptXPx int
interceptY double
maxY double
minY double
percentOfXToFill double
showNegitiveYLables bool
suspendPaint bool
xyData System.Collections.Hashtable
yPxPerUnit double

Public Methods

Method Description
Clear ( ) : void
GraphBox ( ) : System
PercentOfXToFill ( double percent ) : void
Redraw ( ) : void
RemoveItem ( object key ) : void
ResumePaint ( ) : void
SuspendPaint ( ) : void

Protected Methods

Method Description
DoUpdateGraphInvoke ( ) : void
GraphBox_Paint ( object sender, PaintEventArgs e ) : void
PaintGraph ( object sender, PaintEventArgs e ) : void
Plot ( object x, double y ) : void
UpdateGraph ( ) : void
UpdateGraphInvoke ( object sender, EventArgs e ) : void
calcAxisDimensions ( ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Method Details

Clear() public method

public Clear ( ) : void
return void

DoUpdateGraphInvoke() protected method

protected DoUpdateGraphInvoke ( ) : void
return void

GraphBox() public method

public GraphBox ( ) : System
return System

GraphBox_Paint() protected method

protected GraphBox_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
return void

PaintGraph() protected abstract method

protected abstract PaintGraph ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
return void

PercentOfXToFill() public method

public PercentOfXToFill ( double percent ) : void
percent double
return void

Plot() protected method

protected Plot ( object x, double y ) : void
x object
y double
return void

Redraw() public method

public Redraw ( ) : void
return void

RemoveItem() public method

public RemoveItem ( object key ) : void
key object
return void

ResumePaint() public method

public ResumePaint ( ) : void
return void

SuspendPaint() public method

public SuspendPaint ( ) : void
return void

UpdateGraph() protected method

protected UpdateGraph ( ) : void
return void

UpdateGraphInvoke() protected method

protected UpdateGraphInvoke ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

calcAxisDimensions() protected method

protected calcAxisDimensions ( ) : void
return void

Property Details

_updateGraphInvoker protected_oe property

protected EventHandler _updateGraphInvoker
return EventHandler

data protected_oe property

protected ArrayList,System.Collections data
return System.Collections.ArrayList

fixedY protected_oe property

protected bool fixedY
return bool

graphArea protected_oe property

protected Rectangle,System.Drawing graphArea
return System.Drawing.Rectangle

interceptX protected_oe property

protected double interceptX
return double

interceptXPx protected_oe property

protected int interceptXPx
return int

interceptY protected_oe property

protected double interceptY
return double

maxY protected_oe property

protected double maxY
return double

minY protected_oe property

protected double minY
return double

percentOfXToFill protected_oe property

protected double percentOfXToFill
return double

showNegitiveYLables protected_oe property

protected bool showNegitiveYLables
return bool

suspendPaint protected_oe property

protected bool suspendPaint
return bool

xyData protected_oe property

protected Hashtable,System.Collections xyData
return System.Collections.Hashtable

yPxPerUnit protected_oe property

protected double yPxPerUnit
return double