C# Class SensorShare.GraphPage

Inheritance: System.Windows.Forms.UserControl
Show file Open project: MarkPaxton/SensorShare3

Protected Properties

Property Type Description
unit string

Public Methods

Method Description
ClearData ( ) : void
GraphPage ( ) : System
GraphPage ( ScienceScope.SensorDefinition sensor ) : System
MoveEarlier ( ) : void
MoveLater ( ) : void
PercentOfXToFill ( double percent ) : void
Plot ( System.DateTime time, double value ) : void
Plot ( System.DateTime time, double value, double mean, double stdDev ) : void
PlotInfoPoints ( List annotations ) : void
PlotStats ( double mean, double stdDev ) : void
Redraw ( ) : void
ResumePaint ( ) : void
SetEndTime ( System.DateTime time ) : void
SetGraphParameters ( GraphChagedEventArgs args ) : void
SetStartTime ( System.DateTime time ) : void
SetTicksOffset ( long offset ) : void
SetXWidth ( int width ) : void
StartFollowingTime ( ) : void
StopFollowingTime ( ) : void
SusupendPaint ( ) : void
ToDateTime ( System.DateTime time ) : void
ToNow ( ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

FireGraphChanged ( ) : void
UpdateYoungestReading ( string text ) : void
plot ( System.DateTime time, double value ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

ZoomInButton_Click ( object sender, EventArgs e ) : void
ZoomOutButton_Click ( object sender, EventArgs e ) : void
backButton_Click ( object sender, EventArgs e ) : void
forwardButton_Click ( object sender, EventArgs e ) : void
graphBox_InfoPointSelected ( object sender, InfoPointSelectedEventArgs args ) : void
toNowButton_Click ( object sender, EventArgs e ) : void

Method Details

ClearData() public method

public ClearData ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FireGraphChanged() protected method

protected FireGraphChanged ( ) : void
return void

GraphPage() public method

public GraphPage ( ) : System
return System

GraphPage() public method

public GraphPage ( ScienceScope.SensorDefinition sensor ) : System
sensor ScienceScope.SensorDefinition
return System

MoveEarlier() public method

public MoveEarlier ( ) : void
return void

MoveLater() public method

public MoveLater ( ) : void
return void

PercentOfXToFill() public method

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

Plot() public method

public Plot ( System.DateTime time, double value ) : void
time System.DateTime
value double
return void

Plot() public method

public Plot ( System.DateTime time, double value, double mean, double stdDev ) : void
time System.DateTime
value double
mean double
stdDev double
return void

PlotInfoPoints() public method

public PlotInfoPoints ( List annotations ) : void
annotations List
return void

PlotStats() public method

public PlotStats ( double mean, double stdDev ) : void
mean double
stdDev double
return void

Redraw() public method

public Redraw ( ) : void
return void

ResumePaint() public method

public ResumePaint ( ) : void
return void

SetEndTime() public method

public SetEndTime ( System.DateTime time ) : void
time System.DateTime
return void

SetGraphParameters() public method

public SetGraphParameters ( GraphChagedEventArgs args ) : void
args GraphChagedEventArgs
return void

SetStartTime() public method

public SetStartTime ( System.DateTime time ) : void
time System.DateTime
return void

SetTicksOffset() public method

public SetTicksOffset ( long offset ) : void
offset long
return void

SetXWidth() public method

public SetXWidth ( int width ) : void
width int
return void

StartFollowingTime() public method

public StartFollowingTime ( ) : void
return void

StopFollowingTime() public method

public StopFollowingTime ( ) : void
return void

SusupendPaint() public method

public SusupendPaint ( ) : void
return void

ToDateTime() public method

public ToDateTime ( System.DateTime time ) : void
time System.DateTime
return void

ToNow() public method

public ToNow ( ) : void
return void

UpdateYoungestReading() protected method

protected UpdateYoungestReading ( string text ) : void
text string
return void

ZoomIn() public method

public ZoomIn ( ) : void
return void

ZoomOut() public method

public ZoomOut ( ) : void
return void

plot() protected method

protected plot ( System.DateTime time, double value ) : void
time System.DateTime
value double
return void

Property Details

unit protected property

protected string unit
return string