Свойство | Type | Description | |
---|---|---|---|
DrawHorizontalSelection | void | ||
InitializeComponent | void | ||
NPlot_PrintPage | void | ||
drawDesignMode | void |
Méthode | Description | |
---|---|---|
Add ( IDrawable p ) : void |
Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.
|
|
Add ( IDrawable p, int zOrder ) : void |
Adds a drawable object to the plot surface. If the object is an IPlot, the PlotSurface2D axes will also be updated.
|
|
AddAxesConstraint ( |
Add an axis constraint to the plot surface. Axis constraints can specify relative world-pixel scalings, absolute axis positions etc.
|
|
AddInteraction ( Interactions i ) : void |
Adds and interaction to the plotsurface that adds functionality that responds to a set of mouse / keyboard events.
|
|
CacheAxes ( ) : void |
Remembers the current axes - useful in interactions.
|
|
Clear ( ) : void |
Clears the plot and resets to default values.
|
|
CopyToClipboard ( ) : void |
Coppies the chart currently shown in the control to the clipboard as an image.
|
|
DoMouseDown ( MouseEventArgs e ) : void |
All functionality of the OnMouseDown function is contained here. This allows use of the all encompasing PlotSurface.
|
|
DoMouseLeave ( |
|
|
DoMouseMove ( MouseEventArgs e, |
All functionality of the OnMouseMove function is contained here. This allows use of the all encompasing PlotSurface.
|
|
DoMouseUp ( MouseEventArgs e, |
All functionality of the OnMouseUp function is contained here. This allows use of the all encompasing PlotSurface.
|
|
DoMouseWheel ( MouseEventArgs e ) : void |
All functionality of the OnMouseWheel function is containd here. This allows use of the all encompasing PlotSurface.
|
|
DoPaint ( PaintEventArgs pe, int width, int height ) : void |
All functionality of the OnPaint method is provided by this function. This allows use of the all encompasing PlotSurface.
|
|
Draw ( |
Draws the plot surface on the supplied graphics surface [not the control surface].
|
|
OriginalDimensions ( ) : void |
sets axes to be those saved in the cache.
|
|
PlotSurface2D ( ) : System |
Default constructor.
|
|
Print ( bool preview ) : void |
Print the chart as currently shown by the control
|
|
Refresh ( ) : void | ||
Remove ( IDrawable p, bool updateAxes ) : void |
Remove a drawable object from the plot surface.
|
|
RemoveInteraction ( Interactions i ) : void |
Remove a previously added interaction
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnInteractionOccured ( object sender ) : void |
Default function called when plotsurface modifying interaction occured. Override this, or add method to InteractionOccured event.
|
|
OnKeyDown ( |
the key down callback
|
|
OnKeyUp ( |
The key up callback.
|
|
OnMouseDown ( MouseEventArgs e ) : void |
Mouse down event handler.
|
|
OnMouseLeave ( |
MouseLeave event handler. It has to invalidate the control to get rid of any remnant of vertical and horizontal guides.
|
|
OnMouseMove ( MouseEventArgs e ) : void |
MouseMove event handler.
|
|
OnMouseUp ( MouseEventArgs e ) : void |
mouse up event handler.
|
|
OnMouseWheel ( MouseEventArgs e ) : void |
Mouse Wheel event handler.
|
|
OnPaint ( PaintEventArgs pe ) : void |
the paint event callback.
|
|
OnPreRefresh ( object sender ) : void |
Default function called just before a refresh happens.
|
Méthode | Description | |
---|---|---|
DrawHorizontalSelection ( Point start, Point end, |
||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor. Modified! :-) |
|
NPlot_PrintPage ( object sender, System.Drawing.Printing.PrintPageEventArgs ev ) : void | ||
drawDesignMode ( |
Draw a lightweight representation of us for design mode.
|
public Add ( IDrawable p ) : void | ||
p | IDrawable | The IDrawable object to add to the plot surface. |
Résultat | void |
public Add ( IDrawable p, int zOrder ) : void | ||
p | IDrawable | The IDrawable object to add to the plot surface. |
zOrder | int | The z-ordering when drawing (objects with lower numbers are drawn first) |
Résultat | void |
public AddAxesConstraint ( |
||
c | The axis constraint to add. | |
Résultat | void |
public AddInteraction ( Interactions i ) : void | ||
i | Interactions | the interaction to add. |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public DoMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | The mouse event args from the window we are drawing to. |
Résultat | void |
public DoMouseLeave ( |
||
e | ||
ctr | ||
Résultat | void |
public DoMouseMove ( MouseEventArgs e, |
||
e | MouseEventArgs | The mouse event args from the window we are drawing to. |
ctr | The control that the mouse event happened in. | |
Résultat | void |
public DoMouseUp ( MouseEventArgs e, |
||
e | MouseEventArgs | The mouse event args from the window we are drawing to. |
ctr | The control that the mouse event happened in. | |
Résultat | void |
public DoMouseWheel ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | the event args. |
Résultat | void |
public DoPaint ( PaintEventArgs pe, int width, int height ) : void | ||
pe | PaintEventArgs | the PaintEventArgs from paint event. |
width | int | width of the control |
height | int | height of the control |
Résultat | void |
public Draw ( |
||
g | The graphics surface on which to draw | |
bounds | A bounding box on this surface that denotes the area on the /// surface to confine drawing to. | |
Résultat | void |
protected OnInteractionOccured ( object sender ) : void | ||
sender | object | |
Résultat | void |
protected OnKeyDown ( |
||
e | information pertaining to the event | |
Résultat | void |
protected OnKeyUp ( |
||
e | information pertaining to the event | |
Résultat | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | the event args. |
Résultat | void |
protected OnMouseLeave ( |
||
e | The event arguments. | |
Résultat | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | The event arguments. |
Résultat | void |
protected OnMouseUp ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | The event arguments. |
Résultat | void |
protected OnMouseWheel ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | the event args |
Résultat | void |
protected OnPaint ( PaintEventArgs pe ) : void | ||
pe | PaintEventArgs | the PaintEventArgs |
Résultat | void |
protected OnPreRefresh ( object sender ) : void | ||
sender | object | |
Résultat | void |
public Print ( bool preview ) : void | ||
preview | bool | If true, show print preview window. |
Résultat | void |
public Remove ( IDrawable p, bool updateAxes ) : void | ||
p | IDrawable | the drawable to remove |
updateAxes | bool | whether or not to update the axes after removing the idrawable. |
Résultat | void |
public RemoveInteraction ( Interactions i ) : void | ||
i | Interactions | interaction to remove |
Résultat | void |