SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
SeciControls.Graphing.Graph Class Reference
Inheritance diagram for SeciControls.Graphing.Graph:
Inheritance graph
Collaboration diagram for SeciControls.Graphing.Graph:
Collaboration graph

Public Member Functions

void ClearAllPlotData ()
 
 Graph ()
 
void RemoveAllPlots ()
 
void SetupGraph (Seci.Definitions.GraphDefinition graphDef)
 
void UpdateControl ()
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

Seci.Definitions.GraphDefinition GraphDef [get]
 

Private Member Functions

void addDataPoint (Series series, DateTime time, double value)
 
void addPlot (string blockname, Boolean useY2)
 
void adjustXaxisRange ()
 
void autoScaleToolStripMenuItem_Click (object sender, EventArgs e)
 
void autoScaleXToolStripMenuItem_Click (object sender, EventArgs e)
 
void autoScaleY2ToolStripMenuItem_Click (object sender, EventArgs e)
 
void autoScaleYToolStripMenuItem_Click (object sender, EventArgs e)
 
void checkYRange (Series series, double value)
 
void clearPointsToolStripMenuItem_Click (object sender, EventArgs e)
 
Double findMaximum (Double max, Double value)
 
Double findMinimum (Double min, Double value)
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 
void setLimitsXToolStripMenuItem (object sender, EventArgs e)
 
void setLimitsY2ToolStripMenuItem_Click (object sender, EventArgs e)
 
void setLimitsYToolStripMenuItem_Click (object sender, EventArgs e)
 
void setPlotColours ()
 
void setYRange (Axis axis, ref Double min, ref Double max, Double value, Boolean setAxis)
 
void y2SetManualLimits ()
 
void ySetManualLimits ()
 

Private Attributes

Seci.Definitions.GraphDefinition _graphDef
 
DateTime _lastUpdate = new DateTime()
 
Boolean _limitsBeingChanged = false
 
Double _maxDoubleValue = Math.Pow(10, 25)
 
const int _maxPoints = 1000
 
DateTime _maxValue
 
DateTime _minValue
 
Boolean _y2LimitsSetManually = false
 
Double _y2Max = Double.NaN
 
Boolean _y2MaxAuto = false
 
Double _y2Min = Double.NaN
 
Boolean _y2MinAuto = false
 
Double _y2SetMax = Double.NaN
 
Double _y2SetMin = Double.NaN
 
Boolean _yLimitsSetManually = false
 
Double _yMax = Double.NaN
 
Boolean _yMaxAuto = false
 
Double _yMin = Double.NaN
 
Boolean _yMinAuto = false
 
Double _ySetMax = Double.NaN
 
Double _ySetMin = Double.NaN
 
System.Windows.Forms.ToolStripMenuItem allAxesToolStripMenuItem
 
System.Windows.Forms.ToolStripMenuItem autoScaleToolStripMenuItem
 
System.Windows.Forms.ToolStripMenuItem autoScaleToolStripMenuItem1
 
System.Windows.Forms.ToolStripMenuItem autoScaleToolStripMenuItem2
 
System.Windows.Forms.ToolStripMenuItem autoScaleToolStripMenuItem3
 
System.Windows.Forms.DataVisualization.Charting.Chart chart1
 
System.Windows.Forms.ToolStripMenuItem clearPointsToolStripMenuItem
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.ContextMenuStrip contextMenuStrip1
 
System.Windows.Forms.ToolStripMenuItem setLimitsToolStripMenuItem
 
System.Windows.Forms.ToolStripMenuItem setLimitsToolStripMenuItem1
 
System.Windows.Forms.ToolStripMenuItem setLimitsToolStripMenuItem2
 
System.Windows.Forms.ToolStripSeparator toolStripSeparator1
 
System.Windows.Forms.ToolStripMenuItem xAxisToolStripMenuItem
 
System.Windows.Forms.ToolStripMenuItem y2AxisToolStripMenuItem
 
System.Windows.Forms.ToolStripMenuItem yAxisToolStripMenuItem
 

Detailed Description

Definition at line 13 of file Graph.cs.

Constructor & Destructor Documentation

SeciControls.Graphing.Graph.Graph ( )
inline

Definition at line 44 of file Graph.cs.

Member Function Documentation

void SeciControls.Graphing.Graph.addDataPoint ( Series  series,
DateTime  time,
double  value 
)
inlineprivate

Definition at line 197 of file Graph.cs.

void SeciControls.Graphing.Graph.addPlot ( string  blockname,
Boolean  useY2 
)
inlineprivate

Definition at line 142 of file Graph.cs.

void SeciControls.Graphing.Graph.adjustXaxisRange ( )
inlineprivate

Definition at line 219 of file Graph.cs.

void SeciControls.Graphing.Graph.autoScaleToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 441 of file Graph.cs.

void SeciControls.Graphing.Graph.autoScaleXToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 458 of file Graph.cs.

void SeciControls.Graphing.Graph.autoScaleY2ToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 516 of file Graph.cs.

void SeciControls.Graphing.Graph.autoScaleYToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 486 of file Graph.cs.

void SeciControls.Graphing.Graph.checkYRange ( Series  series,
double  value 
)
inlineprivate

Definition at line 248 of file Graph.cs.

void SeciControls.Graphing.Graph.ClearAllPlotData ( )
inline

Definition at line 236 of file Graph.cs.

void SeciControls.Graphing.Graph.clearPointsToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 448 of file Graph.cs.

override void SeciControls.Graphing.Graph.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Clean up any resources being used.

Definition at line 17 of file Graph.Designer.cs.

Double SeciControls.Graphing.Graph.findMaximum ( Double  max,
Double  value 
)
inlineprivate

Definition at line 360 of file Graph.cs.

Double SeciControls.Graphing.Graph.findMinimum ( Double  min,
Double  value 
)
inlineprivate

Definition at line 346 of file Graph.cs.

void SeciControls.Graphing.Graph.InitializeComponent ( )
inlineprivate

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

Definition at line 34 of file Graph.Designer.cs.

void SeciControls.Graphing.Graph.RemoveAllPlots ( )
inline

Definition at line 192 of file Graph.cs.

void SeciControls.Graphing.Graph.setLimitsXToolStripMenuItem ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 453 of file Graph.cs.

void SeciControls.Graphing.Graph.setLimitsY2ToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 493 of file Graph.cs.

void SeciControls.Graphing.Graph.setLimitsYToolStripMenuItem_Click ( object  sender,
EventArgs  e 
)
inlineprivate

Definition at line 463 of file Graph.cs.

void SeciControls.Graphing.Graph.setPlotColours ( )
inlineprivate

Definition at line 167 of file Graph.cs.

void SeciControls.Graphing.Graph.SetupGraph ( Seci.Definitions.GraphDefinition  graphDef)
inline

Definition at line 71 of file Graph.cs.

void SeciControls.Graphing.Graph.setYRange ( Axis  axis,
ref Double  min,
ref Double  max,
Double  value,
Boolean  setAxis 
)
inlineprivate

Definition at line 374 of file Graph.cs.

void SeciControls.Graphing.Graph.UpdateControl ( )
inline

Implements SeciControls.IUpdate.

Definition at line 396 of file Graph.cs.

void SeciControls.Graphing.Graph.y2SetManualLimits ( )
inlineprivate

Definition at line 298 of file Graph.cs.

void SeciControls.Graphing.Graph.ySetManualLimits ( )
inlineprivate

Definition at line 322 of file Graph.cs.

Member Data Documentation

Seci.Definitions.GraphDefinition SeciControls.Graphing.Graph._graphDef
private

Definition at line 40 of file Graph.cs.

DateTime SeciControls.Graphing.Graph._lastUpdate = new DateTime()
private

Definition at line 17 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._limitsBeingChanged = false
private

Definition at line 26 of file Graph.cs.

Double SeciControls.Graphing.Graph._maxDoubleValue = Math.Pow(10, 25)
private

Definition at line 15 of file Graph.cs.

const int SeciControls.Graphing.Graph._maxPoints = 1000
private

Definition at line 16 of file Graph.cs.

DateTime SeciControls.Graphing.Graph._maxValue
private

Definition at line 19 of file Graph.cs.

DateTime SeciControls.Graphing.Graph._minValue
private

Definition at line 18 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._y2LimitsSetManually = false
private

Definition at line 28 of file Graph.cs.

Double SeciControls.Graphing.Graph._y2Max = Double.NaN
private

Definition at line 24 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._y2MaxAuto = false
private

Definition at line 33 of file Graph.cs.

Double SeciControls.Graphing.Graph._y2Min = Double.NaN
private

Definition at line 23 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._y2MinAuto = false
private

Definition at line 32 of file Graph.cs.

Double SeciControls.Graphing.Graph._y2SetMax = Double.NaN
private

Definition at line 38 of file Graph.cs.

Double SeciControls.Graphing.Graph._y2SetMin = Double.NaN
private

Definition at line 37 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._yLimitsSetManually = false
private

Definition at line 27 of file Graph.cs.

Double SeciControls.Graphing.Graph._yMax = Double.NaN
private

Definition at line 22 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._yMaxAuto = false
private

Definition at line 31 of file Graph.cs.

Double SeciControls.Graphing.Graph._yMin = Double.NaN
private

Definition at line 21 of file Graph.cs.

Boolean SeciControls.Graphing.Graph._yMinAuto = false
private

Definition at line 30 of file Graph.cs.

Double SeciControls.Graphing.Graph._ySetMax = Double.NaN
private

Definition at line 36 of file Graph.cs.

Double SeciControls.Graphing.Graph._ySetMin = Double.NaN
private

Definition at line 35 of file Graph.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.allAxesToolStripMenuItem
private

Definition at line 236 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.autoScaleToolStripMenuItem
private

Definition at line 241 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.autoScaleToolStripMenuItem1
private

Definition at line 237 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.autoScaleToolStripMenuItem2
private

Definition at line 244 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.autoScaleToolStripMenuItem3
private

Definition at line 247 of file Graph.Designer.cs.

System.Windows.Forms.DataVisualization.Charting.Chart SeciControls.Graphing.Graph.chart1
private

Definition at line 233 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.clearPointsToolStripMenuItem
private

Definition at line 235 of file Graph.Designer.cs.

System.ComponentModel.IContainer SeciControls.Graphing.Graph.components = null
private

Required designer variable.

Definition at line 8 of file Graph.Designer.cs.

System.Windows.Forms.ContextMenuStrip SeciControls.Graphing.Graph.contextMenuStrip1
private

Definition at line 234 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.setLimitsToolStripMenuItem
private

Definition at line 243 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.setLimitsToolStripMenuItem1
private

Definition at line 246 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.setLimitsToolStripMenuItem2
private

Definition at line 240 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripSeparator SeciControls.Graphing.Graph.toolStripSeparator1
private

Definition at line 238 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.xAxisToolStripMenuItem
private

Definition at line 239 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.y2AxisToolStripMenuItem
private

Definition at line 245 of file Graph.Designer.cs.

System.Windows.Forms.ToolStripMenuItem SeciControls.Graphing.Graph.yAxisToolStripMenuItem
private

Definition at line 242 of file Graph.Designer.cs.

Property Documentation

Seci.Definitions.GraphDefinition SeciControls.Graphing.Graph.GraphDef
get

Definition at line 42 of file Graph.cs.


The documentation for this class was generated from the following files: