C# Class mcp.Graphs.DateTimeGraphBox

Inheritance: GraphBox
Show file Open project: MarkPaxton/SensorShare3

Protected Properties

Property Type Description
endTime System.DateTime
followTime bool
secondsWidth int
startTime System.DateTime
ticksOffset long
xMargin int
xPxPerTick double
yMargin int

Public Methods

Method Description
DateTimeGraphBox ( ) : System
Plot ( System.DateTime xValue, double yValue ) : void
StartFollowingTime ( ) : void
StopFollowingTime ( ) : void
TicksOffset ( ) : long
TicksOffset ( long ticks ) : void
ToDateTime ( System.DateTime time ) : void
ToNow ( ) : void
XAxisMin ( ) : System.DateTime
XAxisMin ( System.DateTime value ) : void

Protected Methods

Method Description
CompleteUpdateGraphInvoke ( ) : void
DoUpdateGraphInvoke ( ) : void
PaintGraph ( object sender, PaintEventArgs e ) : void
calcAxisDimensions ( ) : void
drawAxes ( Graphics g, Pen dPen, Rectangle graphArea ) : void
followingTimeThread ( ) : void

Method Details

CompleteUpdateGraphInvoke() protected method

protected CompleteUpdateGraphInvoke ( ) : void
return void

DateTimeGraphBox() public method

public DateTimeGraphBox ( ) : System
return System

DoUpdateGraphInvoke() protected method

protected DoUpdateGraphInvoke ( ) : void
return void

PaintGraph() protected method

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

Plot() public method

public Plot ( System.DateTime xValue, double yValue ) : void
xValue System.DateTime
yValue double
return void

StartFollowingTime() public method

public StartFollowingTime ( ) : void
return void

StopFollowingTime() public method

public StopFollowingTime ( ) : void
return void

TicksOffset() public method

public TicksOffset ( ) : long
return long

TicksOffset() public method

public TicksOffset ( long ticks ) : void
ticks long
return void

ToDateTime() public method

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

ToNow() public method

public ToNow ( ) : void
return void

XAxisMin() public method

public XAxisMin ( ) : System.DateTime
return System.DateTime

XAxisMin() public method

public XAxisMin ( System.DateTime value ) : void
value System.DateTime
return void

calcAxisDimensions() protected method

protected calcAxisDimensions ( ) : void
return void

drawAxes() protected method

protected drawAxes ( Graphics g, Pen dPen, Rectangle graphArea ) : void
g System.Drawing.Graphics
dPen System.Drawing.Pen
graphArea System.Drawing.Rectangle
return void

followingTimeThread() protected method

protected followingTimeThread ( ) : void
return void

Property Details

endTime protected property

protected DateTime,System endTime
return System.DateTime

followTime protected property

protected bool followTime
return bool

secondsWidth protected property

protected int secondsWidth
return int

startTime protected property

protected DateTime,System startTime
return System.DateTime

ticksOffset protected property

protected long ticksOffset
return long

xMargin protected property

protected int xMargin
return int

xPxPerTick protected property

protected double xPxPerTick
return double

yMargin protected property

protected int yMargin
return int