NPlot::Windows::PlotSurface2D Class Reference

A Windows.Forms PlotSurface2D control. More...

Inheritance diagram for NPlot::Windows::PlotSurface2D:

NPlot::IPlotSurface2D NPlot::ISurface List of all members.

Public Member Functions

 PlotSurface2D ()
 Default constructor.
void DoPaint (PaintEventArgs pe, int width, int height)
 All functionality of the OnPaint method is provided by this function.
void Draw (Graphics g, Rectangle bounds)
 Draws the plot surface on the supplied graphics surface [not the control surface].
void Clear ()
 Clears the plot and resets to default values.
void Add (IDrawable p)
 Adds a drawable object to the plot surface.
void Add (IDrawable p, NPlot.PlotSurface2D.XAxisPosition xp, NPlot.PlotSurface2D.YAxisPosition yp)
 Adds a drawable object to the plot surface against the specified axes.
void Add (IDrawable p, int zOrder)
 Adds a drawable object to the plot surface.
void Add (IDrawable p, NPlot.PlotSurface2D.XAxisPosition xp, NPlot.PlotSurface2D.YAxisPosition yp, int zOrder)
 Adds a drawable object to the plot surface against the specified axes.
void DoMouseDown (MouseEventArgs e)
 All functionality of the OnMouseDown function is contained here.
void DoMouseWheel (MouseEventArgs e)
 All functionality of the OnMouseWheel function is containd here.
void DoMouseMove (MouseEventArgs e, System.Windows.Forms.Control ctr)
 All functionality of the OnMouseMove function is contained here.
void DoMouseUp (MouseEventArgs e, System.Windows.Forms.Control ctr)
 All functionality of the OnMouseUp function is contained here.
void OriginalDimensions ()
 sets axes to be those saved in the cache.
void AddAxesConstraint (AxesConstraint c)
 Add an axis constraint to the plot surface.
void Print (bool preview)
 Print the chart as currently shown by the control.
void CopyToClipboard ()
 Coppies the chart currently shown in the control to the clipboard as an image.
void CopyDataToClipboard ()
 Coppies data in the current plot surface view window to the clipboard as text.
void Remove (IDrawable p, bool updateAxes)
 Remove a drawable object from the plot surface.
void CacheAxes ()
 Remembers the current axes - useful in interactions.
void AddInteraction (Interactions.Interaction i)
 Adds and interaction to the plotsurface that adds functionality that responds to a set of mouse / keyboard events.
void RemoveInteraction (Interactions.Interaction i)
 Remove a previously added interaction.
delegate void InteractionHandler (object sender)
 This is the signature of the function used for InteractionOccurred events.
delegate void PreRefreshHandler (object sender)
 This is the signature of the function used for PreRefresh events.

Protected Member Functions

override void OnKeyDown (KeyEventArgs e)
 the key down callback
override void OnKeyUp (KeyEventArgs e)
 The key up callback.
override void OnPaint (PaintEventArgs pe)
 the paint event callback.
override void OnMouseDown (MouseEventArgs e)
 Mouse down event handler.
override void OnMouseWheel (MouseEventArgs e)
 Mouse Wheel event handler.
override void OnMouseMove (MouseEventArgs e)
 MouseMove event handler.
override void OnMouseUp (MouseEventArgs e)
 mouse up event handler.
void OnInteractionOccured (object sender)
 Default function called when plotsurface modifying interaction occured.
void OnPreRefresh (object sender)
 Default function called just before a refresh happens.
override void Dispose (bool disposing)
 Clean up any resources being used.

Properties

bool ShowCoordinates
 Flag to display a coordinates in a tooltip.
KeyEventArgs lastKeyEventArgs_ = null
NPlot.Legend Legend
 Gets or Sets the legend to use with this plot surface.
int LegendZOrder
 Gets or Sets the legend z-order.
bool AutoScaleTitle
 Whether or not the title will be scaled according to size of the plot surface.
bool AutoScaleAutoGeneratedAxes
 When plots are added to the plot surface, the axes they are attached to are immediately modified to reflect data of the plot.
string Title
 The plot surface title.
Font TitleFont
 The font used to draw the title.
int Padding
 Padding of this width will be left between what is drawn and the control border.
Axis XAxis1
 The first abscissa axis.
Axis YAxis1
 The first ordinate axis.
Axis XAxis2
 The second abscissa axis.
Axis YAxis2
 The second ordinate axis.
PhysicalAxis PhysicalXAxis1Cache
 The physical XAxis1 that was last drawn.
PhysicalAxis PhysicalYAxis1Cache
 The physical YAxis1 that was last drawn.
PhysicalAxis PhysicalXAxis2Cache
 The physical XAxis2 that was last drawn.
PhysicalAxis PhysicalYAxis2Cache
 The physical YAxis2 that was last drawn.
System.Drawing.Color PlotBackColor
 A color used to paint the plot background.
System.Drawing.Bitmap PlotBackImage
 An imaged used to paint the plot background.
IRectangleBrush PlotBackBrush
 A Rectangle brush used to paint the plot background.
Color TitleColor
 Sets the title to be drawn using a solid brush of this color.
Brush TitleBrush
 The brush used for drawing the title.
System.Drawing.Drawing2D.SmoothingMode SmoothingMode
 Set smoothing mode for drawing plot objects.
bool DateTimeToolTip
 When true, tool tip will display x value as a DateTime.
bool dateTimeToolTip_ = false
ArrayList Drawables
 Gets an array list containing all drawables currently added to the PlotSurface2D.
NPlot.Windows.PlotSurface2D.PlotContextMenu RightMenu
 Sets the right context menu.
NPlot.Windows.PlotSurface2D.PlotContextMenu rightMenu_ = null
static PlotContextMenu DefaultContextMenu
 Gets an instance of a NPlot.Windows.PlotSurface2D.ContextMenu that is useful in typical situations.
NPlot.PlotSurface2D Inner
 Allows access to the PlotSurface2D.
ArrayList interactions_ = new ArrayList()
event InteractionHandler InteractionOccured
 Event is fired when an interaction happens with the plot that causes it to be modified.
event PreRefreshHandler PreRefresh
 Event fired when we are about to paint.
System.ComponentModel.IContainer components

Private Member Functions

void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor.
void drawDesignMode (Graphics g, Rectangle bounds)
 Draw a lightweight representation of us for design mode.
void DrawHorizontalSelection (Point start, Point end, System.Windows.Forms.UserControl ctr)
void NPlot_PrintPage (object sender, PrintPageEventArgs ev)

Private Attributes

System.Windows.Forms.ToolTip coordinates_
System.Collections.ArrayList selectedObjects_
NPlot.PlotSurface2D ps_
Axis xAxis1ZoomCache_
Axis yAxis1ZoomCache_
Axis xAxis2ZoomCache_
Axis yAxis2ZoomCache_

Classes

class  Interactions
 Encapsulates a number of separate "Interactions". More...
class  PlotContextMenu
 Summary description for ContextMenu. More...

Detailed Description

A Windows.Forms PlotSurface2D control.

Unfortunately it's not possible to derive from both Control and NPlot.PlotSurface2D.

Definition at line 72 of file Windows.PlotSurface2D.cs.


Constructor & Destructor Documentation

NPlot::Windows::PlotSurface2D::PlotSurface2D  )  [inline]
 

Default constructor.

Definition at line 111 of file Windows.PlotSurface2D.cs.


Member Function Documentation

void NPlot::Windows::PlotSurface2D::Add IDrawable  p,
NPlot.PlotSurface2D.XAxisPosition  xp,
NPlot.PlotSurface2D.YAxisPosition  yp,
int  zOrder
[inline]
 

Adds a drawable object to the plot surface against the specified axes.

If the object is an IPlot, the PlotSurface2D axes will also be updated.

Parameters:
p the IDrawable object to add to the plot surface
xp the x-axis to add the plot against.
yp the y-axis to add the plot against.
zOrder The z-ordering when drawing (objects with lower numbers are drawn first)

Definition at line 310 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::Add IDrawable  p,
int  zOrder
[inline]
 

Adds a drawable object to the plot surface.

If the object is an IPlot, the PlotSurface2D axes will also be updated.

Parameters:
p The IDrawable object to add to the plot surface.
zOrder The z-ordering when drawing (objects with lower numbers are drawn first)

Implements NPlot::IPlotSurface2D.

Definition at line 296 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::Add IDrawable  p,
NPlot.PlotSurface2D.XAxisPosition  xp,
NPlot.PlotSurface2D.YAxisPosition  yp
[inline]
 

Adds a drawable object to the plot surface against the specified axes.

If the object is an IPlot, the PlotSurface2D axes will also be updated.

Parameters:
p the IDrawable object to add to the plot surface
xp the x-axis to add the plot against.
yp the y-axis to add the plot against.

Definition at line 284 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::Add IDrawable  p  )  [inline]
 

Adds a drawable object to the plot surface.

If the object is an IPlot, the PlotSurface2D axes will also be updated.

Parameters:
p The IDrawable object to add to the plot surface.

Implements NPlot::IPlotSurface2D.

Definition at line 271 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::AddAxesConstraint AxesConstraint  c  )  [inline]
 

Add an axis constraint to the plot surface.

Axis constraints can specify relative world-pixel scalings, absolute axis positions etc.

Parameters:
c The axis constraint to add.

Implements NPlot::IPlotSurface2D.

Definition at line 948 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::AddInteraction Interactions.Interaction  i  )  [inline]
 

Adds and interaction to the plotsurface that adds functionality that responds to a set of mouse / keyboard events.

Parameters:
i the interaction to add.

Definition at line 2184 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::CacheAxes  )  [inline]
 

Remembers the current axes - useful in interactions.

Definition at line 1129 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::Clear  )  [inline]
 

Clears the plot and resets to default values.

Implements NPlot::IPlotSurface2D.

Definition at line 255 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::CopyDataToClipboard  )  [inline]
 

Coppies data in the current plot surface view window to the clipboard as text.

Definition at line 1016 of file Windows.PlotSurface2D.cs.

References NPlot::Axis::WorldMax, NPlot::Axis::WorldMin, and NPlot::IPlot::WriteData().

void NPlot::Windows::PlotSurface2D::CopyToClipboard  )  [inline]
 

Coppies the chart currently shown in the control to the clipboard as an image.

Definition at line 1002 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::Dispose bool  disposing  )  [inline, protected]
 

Clean up any resources being used.

Definition at line 2611 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::DoMouseDown MouseEventArgs  e  )  [inline]
 

All functionality of the OnMouseDown function is contained here.

This allows use of the all encompasing PlotSurface.

Parameters:
e The mouse event args from the window we are drawing to.

Implements NPlot::ISurface.

Definition at line 748 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::DoMouseMove MouseEventArgs  e,
System.Windows.Forms.Control  ctr
[inline]
 

All functionality of the OnMouseMove function is contained here.

This allows use of the all encompasing PlotSurface.

Parameters:
e The mouse event args from the window we are drawing to.
ctr The control that the mouse event happened in.

Implements NPlot::ISurface.

Definition at line 787 of file Windows.PlotSurface2D.cs.

References NPlot::PlotSurface2D::PhysicalXAxis1Cache, and NPlot::PlotSurface2D::PhysicalYAxis1Cache.

void NPlot::Windows::PlotSurface2D::DoMouseUp MouseEventArgs  e,
System.Windows.Forms.Control  ctr
[inline]
 

All functionality of the OnMouseUp function is contained here.

This allows use of the all encompasing PlotSurface.

Parameters:
e The mouse event args from the window we are drawing to.
ctr The control that the mouse event happened in.

Implements NPlot::ISurface.

Definition at line 874 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::DoMouseWheel MouseEventArgs  e  )  [inline]
 

All functionality of the OnMouseWheel function is containd here.

This allows use of the all encompasing PlotSurface.

Parameters:
e the event args.

Definition at line 772 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::DoPaint PaintEventArgs  pe,
int  width,
int  height
[inline]
 

All functionality of the OnPaint method is provided by this function.

This allows use of the all encompasing PlotSurface.

Parameters:
pe the PaintEventArgs from paint event.
width width of the control
height height of the control

Implements NPlot::ISurface.

Definition at line 184 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::Draw Graphics  g,
Rectangle  bounds
[inline]
 

Draws the plot surface on the supplied graphics surface [not the control surface].

Parameters:
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.

Definition at line 228 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::drawDesignMode Graphics  g,
Rectangle  bounds
[inline, private]
 

Draw a lightweight representation of us for design mode.

Definition at line 245 of file Windows.PlotSurface2D.cs.

References NPlot::PlotSurface2D::Title, NPlot::PlotSurface2D::TitleBrush, and NPlot::PlotSurface2D::TitleFont.

void NPlot::Windows::PlotSurface2D::DrawHorizontalSelection Point  start,
Point  end,
System.Windows.Forms.UserControl  ctr
[inline, private]
 

Definition at line 923 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::InitializeComponent  )  [inline, private]
 

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

Modified! :-)

Definition at line 134 of file Windows.PlotSurface2D.cs.

delegate void NPlot::Windows::PlotSurface2D::InteractionHandler object  sender  ) 
 

This is the signature of the function used for InteractionOccurred events.

TODO: expand this to include information about the event.

Parameters:
sender 

void NPlot::Windows::PlotSurface2D::NPlot_PrintPage object  sender,
PrintPageEventArgs  ev
[inline, private]
 

Definition at line 991 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::OnInteractionOccured object  sender  )  [inline, protected]
 

Default function called when plotsurface modifying interaction occured.

Override this, or add method to InteractionOccured event.

Parameters:
sender 

Definition at line 2220 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnKeyDown KeyEventArgs  e  )  [inline, protected]
 

the key down callback

Parameters:
e information pertaining to the event

Definition at line 152 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnKeyUp KeyEventArgs  e  )  [inline, protected]
 

The key up callback.

Parameters:
e information pertaining to the event

Definition at line 161 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnMouseDown MouseEventArgs  e  )  [inline, protected]
 

Mouse down event handler.

Parameters:
e the event args.

Definition at line 736 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnMouseMove MouseEventArgs  e  )  [inline, protected]
 

MouseMove event handler.

Parameters:
e The event arguments.

Definition at line 837 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnMouseUp MouseEventArgs  e  )  [inline, protected]
 

mouse up event handler.

Parameters:
e The event arguments.

Definition at line 896 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnMouseWheel MouseEventArgs  e  )  [inline, protected]
 

Mouse Wheel event handler.

Parameters:
e the event args

Definition at line 761 of file Windows.PlotSurface2D.cs.

override void NPlot::Windows::PlotSurface2D::OnPaint PaintEventArgs  pe  )  [inline, protected]
 

the paint event callback.

Parameters:
pe the PaintEventArgs

Definition at line 170 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::OnPreRefresh object  sender  )  [inline, protected]
 

Default function called just before a refresh happens.

Parameters:
sender 

Definition at line 2242 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::OriginalDimensions  )  [inline]
 

sets axes to be those saved in the cache.

Definition at line 906 of file Windows.PlotSurface2D.cs.

delegate void NPlot::Windows::PlotSurface2D::PreRefreshHandler object  sender  ) 
 

This is the signature of the function used for PreRefresh events.

Parameters:
sender 

void NPlot::Windows::PlotSurface2D::Print bool  preview  )  [inline]
 

Print the chart as currently shown by the control.

Parameters:
preview If true, show print preview window.

Definition at line 958 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::Remove IDrawable  p,
bool  updateAxes
[inline]
 

Remove a drawable object from the plot surface.

Parameters:
p the drawable to remove
updateAxes whether or not to update the axes after removing the idrawable.

Implements NPlot::IPlotSurface2D.

Definition at line 1049 of file Windows.PlotSurface2D.cs.

void NPlot::Windows::PlotSurface2D::RemoveInteraction Interactions.Interaction  i  )  [inline]
 

Remove a previously added interaction.

Parameters:
i interaction to remove

Definition at line 2194 of file Windows.PlotSurface2D.cs.


Member Data Documentation

System.Windows.Forms.ToolTip NPlot::Windows::PlotSurface2D::coordinates_ [private]
 

Definition at line 75 of file Windows.PlotSurface2D.cs.

NPlot.PlotSurface2D NPlot::Windows::PlotSurface2D::ps_ [private]
 

Definition at line 78 of file Windows.PlotSurface2D.cs.

System.Collections.ArrayList NPlot::Windows::PlotSurface2D::selectedObjects_ [private]
 

Definition at line 77 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::xAxis1ZoomCache_ [private]
 

Definition at line 80 of file Windows.PlotSurface2D.cs.

Referenced by NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotZoomBackMenuItem::OnPopup().

Axis NPlot::Windows::PlotSurface2D::xAxis2ZoomCache_ [private]
 

Definition at line 82 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::yAxis1ZoomCache_ [private]
 

Definition at line 81 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::yAxis2ZoomCache_ [private]
 

Definition at line 83 of file Windows.PlotSurface2D.cs.


Property Documentation

bool NPlot::Windows::PlotSurface2D::AutoScaleAutoGeneratedAxes [get, set]
 

When plots are added to the plot surface, the axes they are attached to are immediately modified to reflect data of the plot.

If AutoScaleAutoGeneratedAxes is true when a plot is added, the axes will be turned in to auto scaling ones if they are not already [tick marks, tick text and label size scaled to size of plot surface]. If false, axes will not be autoscaling.

Implements NPlot::IPlotSurface2D.

Definition at line 401 of file Windows.PlotSurface2D.cs.

bool NPlot::Windows::PlotSurface2D::AutoScaleTitle [get, set]
 

Whether or not the title will be scaled according to size of the plot surface.

Implements NPlot::IPlotSurface2D.

Definition at line 371 of file Windows.PlotSurface2D.cs.

System.ComponentModel.IContainer NPlot::Windows::PlotSurface2D::components [private]
 

Definition at line 2621 of file Windows.PlotSurface2D.cs.

bool NPlot::Windows::PlotSurface2D::DateTimeToolTip [get, set]
 

When true, tool tip will display x value as a DateTime.

Quick hack - this will probably be changed at some point.

Definition at line 855 of file Windows.PlotSurface2D.cs.

bool NPlot::Windows::PlotSurface2D::dateTimeToolTip_ = false [private]
 

Definition at line 865 of file Windows.PlotSurface2D.cs.

PlotContextMenu NPlot::Windows::PlotSurface2D::DefaultContextMenu [static, get]
 

Gets an instance of a NPlot.Windows.PlotSurface2D.ContextMenu that is useful in typical situations.

Definition at line 1102 of file Windows.PlotSurface2D.cs.

ArrayList NPlot::Windows::PlotSurface2D::Drawables [get]
 

Gets an array list containing all drawables currently added to the PlotSurface2D.

Implements NPlot::IPlotSurface2D.

Definition at line 1063 of file Windows.PlotSurface2D.cs.

NPlot.PlotSurface2D NPlot::Windows::PlotSurface2D::Inner [get]
 

Allows access to the PlotSurface2D.

Definition at line 1118 of file Windows.PlotSurface2D.cs.

event InteractionHandler NPlot::Windows::PlotSurface2D::InteractionOccured
 

Event is fired when an interaction happens with the plot that causes it to be modified.

Definition at line 2212 of file Windows.PlotSurface2D.cs.

ArrayList NPlot::Windows::PlotSurface2D::interactions_ = new ArrayList() [private]
 

Definition at line 2176 of file Windows.PlotSurface2D.cs.

KeyEventArgs NPlot::Windows::PlotSurface2D::lastKeyEventArgs_ = null [private]
 

Definition at line 147 of file Windows.PlotSurface2D.cs.

NPlot.Legend NPlot::Windows::PlotSurface2D::Legend [get, set]
 

Gets or Sets the legend to use with this plot surface.

Implements NPlot::IPlotSurface2D.

Definition at line 325 of file Windows.PlotSurface2D.cs.

int NPlot::Windows::PlotSurface2D::LegendZOrder [get, set]
 

Gets or Sets the legend z-order.

Implements NPlot::IPlotSurface2D.

Definition at line 348 of file Windows.PlotSurface2D.cs.

int NPlot::Windows::PlotSurface2D::Padding [get, set]
 

Padding of this width will be left between what is drawn and the control border.

Implements NPlot::IPlotSurface2D.

Definition at line 469 of file Windows.PlotSurface2D.cs.

PhysicalAxis NPlot::Windows::PlotSurface2D::PhysicalXAxis1Cache [get]
 

The physical XAxis1 that was last drawn.

Definition at line 565 of file Windows.PlotSurface2D.cs.

PhysicalAxis NPlot::Windows::PlotSurface2D::PhysicalXAxis2Cache [get]
 

The physical XAxis2 that was last drawn.

Definition at line 595 of file Windows.PlotSurface2D.cs.

PhysicalAxis NPlot::Windows::PlotSurface2D::PhysicalYAxis1Cache [get]
 

The physical YAxis1 that was last drawn.

Definition at line 580 of file Windows.PlotSurface2D.cs.

PhysicalAxis NPlot::Windows::PlotSurface2D::PhysicalYAxis2Cache [get]
 

The physical YAxis2 that was last drawn.

Definition at line 610 of file Windows.PlotSurface2D.cs.

IRectangleBrush NPlot::Windows::PlotSurface2D::PlotBackBrush [set]
 

A Rectangle brush used to paint the plot background.

Mutually exclusive with PlotBackColor and PlotBackBrush

not browsable or bindable because only set method.

Implements NPlot::IPlotSurface2D.

Definition at line 663 of file Windows.PlotSurface2D.cs.

System.Drawing.Color NPlot::Windows::PlotSurface2D::PlotBackColor [set]
 

A color used to paint the plot background.

Mutually exclusive with PlotBackImage and PlotBackBrush

not browsable or bindable because only set method.

Implements NPlot::IPlotSurface2D.

Definition at line 629 of file Windows.PlotSurface2D.cs.

System.Drawing.Bitmap NPlot::Windows::PlotSurface2D::PlotBackImage [set]
 

An imaged used to paint the plot background.

Mutually exclusive with PlotBackColor and PlotBackBrush

not browsable or bindable because only set method.

Implements NPlot::IPlotSurface2D.

Definition at line 646 of file Windows.PlotSurface2D.cs.

event PreRefreshHandler NPlot::Windows::PlotSurface2D::PreRefresh
 

Event fired when we are about to paint.

Definition at line 2235 of file Windows.PlotSurface2D.cs.

NPlot.Windows.PlotSurface2D.PlotContextMenu NPlot::Windows::PlotSurface2D::RightMenu [get, set]
 

Sets the right context menu.

Custom menus can be designed by overriding NPlot.Windows.PlotSurface2D.ContextMenu.

Definition at line 1080 of file Windows.PlotSurface2D.cs.

NPlot.Windows.PlotSurface2D.PlotContextMenu NPlot::Windows::PlotSurface2D::rightMenu_ = null [private]
 

Definition at line 1094 of file Windows.PlotSurface2D.cs.

bool NPlot::Windows::PlotSurface2D::ShowCoordinates [get, set]
 

Flag to display a coordinates in a tooltip.

Definition at line 96 of file Windows.PlotSurface2D.cs.

Referenced by NPlot::Windows::PlotSurface2D::PlotContextMenu::PlotShowCoordinatesMenuItem::OnPopup().

System.Drawing.Drawing2D.SmoothingMode NPlot::Windows::PlotSurface2D::SmoothingMode [get, set]
 

Set smoothing mode for drawing plot objects.

Implements NPlot::IPlotSurface2D.

Definition at line 720 of file Windows.PlotSurface2D.cs.

string NPlot::Windows::PlotSurface2D::Title [get, set]
 

The plot surface title.

Implements NPlot::IPlotSurface2D.

Definition at line 423 of file Windows.PlotSurface2D.cs.

Brush NPlot::Windows::PlotSurface2D::TitleBrush [get, set]
 

The brush used for drawing the title.

Implements NPlot::IPlotSurface2D.

Definition at line 698 of file Windows.PlotSurface2D.cs.

Color NPlot::Windows::PlotSurface2D::TitleColor [set]
 

Sets the title to be drawn using a solid brush of this color.

not browsable or bindable because only set method.

Implements NPlot::IPlotSurface2D.

Definition at line 680 of file Windows.PlotSurface2D.cs.

Font NPlot::Windows::PlotSurface2D::TitleFont [get, set]
 

The font used to draw the title.

Implements NPlot::IPlotSurface2D.

Definition at line 447 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::XAxis1 [get, set]
 

The first abscissa axis.

Implements NPlot::IPlotSurface2D.

Definition at line 489 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::XAxis2 [get, set]
 

The second abscissa axis.

Implements NPlot::IPlotSurface2D.

Definition at line 527 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::YAxis1 [get, set]
 

The first ordinate axis.

Implements NPlot::IPlotSurface2D.

Definition at line 508 of file Windows.PlotSurface2D.cs.

Axis NPlot::Windows::PlotSurface2D::YAxis2 [get, set]
 

The second ordinate axis.

Implements NPlot::IPlotSurface2D.

Definition at line 546 of file Windows.PlotSurface2D.cs.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 01:04:09 2005 for NPlot by  doxygen 1.4.5