Method | Description | |
---|---|---|
AddLine ( int numID, Color clr ) : LineHandle |
Adds a new line using the passed numeric ID as an identifier and sets the line's initial color to the passed color. If successful, returns a handle to the new line.
|
|
AddLine ( string nameID, Color clr ) : LineHandle |
Adds a new line using the passed name as an identifier and sets the line's initial color to the passed color. If successful, returns a handle to the new line.
|
|
GetLineHandle ( int numID ) : LineHandle |
Returns a new line handle (LineHandle object) to the line with the matching numerical ID. Returns NULL if a line with a matching ID is not found.
|
|
GetLineHandle ( string nameID ) : LineHandle |
Returns a new line handle (LineHandle object) to the line with the matching name (case insensitive). Returns NULL if a line with a matching name is not found.
|
|
LineExists ( int numID ) : bool |
Returns true if a line exists with an identification number mathing the passed value. Returns false if no match is found.
|
|
LineExists ( string nameID ) : bool |
Returns true if a line exists with a name that case insensitively matches the passes name. Returns false if no match is found.
|
|
Push ( int magnitude, int numID ) : bool |
Pushes a new magnitude (point) to the line with the passed numerical ID.
|
|
Push ( int magnitude, string nameID ) : bool |
Pushes a new magnitude (point) to the line with the passed name.
|
|
PushGraph ( ) : System | ||
PushGraph ( |
||
PushGraph ( |
||
RemoveLine ( int numID ) : bool |
Removes a line by its numerical ID.
|
|
RemoveLine ( string nameID ) : bool |
Removes a line by its name.
|
|
UpdateGraph ( ) : void |
This function is to be called after you have pushed new magnitude(s) to the graph's lines and want the control re-rendered to take the changes into account.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
DrawGrid ( |
||
DrawLabels ( |
||
DrawLines ( |
||
OnPaint ( PaintEventArgs e ) : void | ||
OnSizeChanged ( |
||
RefreshLabels ( ) : void |
Method | Description | |
---|---|---|
DrawBar ( |
||
GetLine ( int numID ) : Line | ||
GetLine ( string nameID ) : Line | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InitializeStyles ( ) : void | ||
PushDirect ( int magnitude, Line line ) : bool |
public AddLine ( int numID, Color clr ) : LineHandle | ||
numID | int | /// A unique numerical for the line you wish to create. /// |
clr | Color | /// The line's initial color. /// |
return | LineHandle |
public AddLine ( string nameID, Color clr ) : LineHandle | ||
nameID | string | /// A case insensitive name for the line you wish to create. /// |
clr | Color | /// The line's initial color. /// |
return | LineHandle |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected DrawGrid ( |
||
g | ||
return | void |
protected DrawLabels ( |
||
g | ||
return | void |
protected DrawLines ( |
||
g | ||
return | void |
public GetLineHandle ( int numID ) : LineHandle | ||
numID | int | /// The numerical ID of the line you wish to get a handle to. /// |
return | LineHandle |
public GetLineHandle ( string nameID ) : LineHandle | ||
nameID | string | /// The case insensitive name of the line you wish to get a handle to. /// |
return | LineHandle |
public LineExists ( int numID ) : bool | ||
numID | int | /// The case numerical ID of the line you wish to check the existence /// of. /// |
return | bool |
public LineExists ( string nameID ) : bool | ||
nameID | string | /// The case insensitive name of the line you wish to check the existence /// of. /// |
return | bool |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnSizeChanged ( |
||
e | ||
return | void |
public Push ( int magnitude, int numID ) : bool | ||
magnitude | int | /// The magnitude of the new point. /// |
numID | int | /// The line's numerical ID. /// |
return | bool |
public Push ( int magnitude, string nameID ) : bool | ||
magnitude | int | /// The magnitude of the new point. /// |
nameID | string | /// The line's case-insensitive name. /// |
return | bool |
public PushGraph ( |
||
Parent | ||
return | System |
public PushGraph ( |
||
parent | ||
rectPos | ||
return | System |
public RemoveLine ( int numID ) : bool | ||
numID | int | /// The line's numerical ID. /// |
return | bool |
public RemoveLine ( string nameID ) : bool | ||
nameID | string | /// The line's case-insensitive name. /// |
return | bool |