NPlot::LabelPointPlot Class Reference

Encapsulates functionality. More...

Inheritance diagram for NPlot::LabelPointPlot:

NPlot::PointPlot NPlot::ISequencePlot NPlot::BaseSequencePlot NPlot::ISequencePlot NPlot::IPlot NPlot::BasePlot NPlot::ISequencePlot NPlot::IDrawable List of all members.

Public Types

enum  LabelPositions { Above, Below, Left, Right }
 Enumeration of all label positions relative to a point. More...

Public Member Functions

 LabelPointPlot ()
 Default Constructor.
 LabelPointPlot (Marker marker)
 Constructor.
override void Draw (Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis)
 Draws the plot on a GDI+ surface against the provided x and y axes.

Properties

LabelPositions LabelTextPosition
 The position of the text label in relation to the point.
LabelPositions labelTextPosition_ = LabelPositions.Above
object TextData
 The text datasource to attach to each point.
object textData_
Font Font
 The Font used to write text.
Font font_ = new Font( "Arial", 8.0f )

Classes

class  TextDataAdapter
 This class us used in conjunction with SequenceAdapter to interpret data specified to the TextPlot class. More...

Detailed Description

Encapsulates functionality.

Definition at line 62 of file LabelPointPlot.cs.


Member Enumeration Documentation

enum NPlot::LabelPointPlot::LabelPositions
 

Enumeration of all label positions relative to a point.

Enumerator:
Above  Above the point.
Below  Below the point.
Left  To the left of the point.
Right  To the right of the point.

Definition at line 177 of file LabelPointPlot.cs.


Constructor & Destructor Documentation

NPlot::LabelPointPlot::LabelPointPlot  )  [inline]
 

Default Constructor.

Definition at line 201 of file LabelPointPlot.cs.

NPlot::LabelPointPlot::LabelPointPlot Marker  marker  )  [inline]
 

Constructor.

Parameters:
marker The marker type to use for this plot.

Definition at line 210 of file LabelPointPlot.cs.


Member Function Documentation

override void NPlot::LabelPointPlot::Draw Graphics  g,
PhysicalAxis  xAxis,
PhysicalAxis  yAxis
[inline, virtual]
 

Draws the plot on a GDI+ surface against the provided x and y axes.

Parameters:
g The GDI+ surface on which to draw.
xAxis The X-Axis to draw against.
yAxis The Y-Axis to draw against.

Reimplemented from NPlot::PointPlot.

Definition at line 273 of file LabelPointPlot.cs.

References NPlot::ISequencePlot::AbscissaData, NPlot::SequenceAdapter::Count, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, Font, font_, labelTextPosition_, NPlot::ISequencePlot::OrdinateData, TextData, NPlot::PhysicalAxis::WorldToPhysical(), NPlot::PointD::X, and NPlot::PointD::Y.


Property Documentation

Font NPlot::LabelPointPlot::Font [get, set]
 

The Font used to write text.

Definition at line 254 of file LabelPointPlot.cs.

Referenced by Draw().

Font NPlot::LabelPointPlot::font_ = new Font( "Arial", 8.0f ) [private]
 

Definition at line 264 of file LabelPointPlot.cs.

Referenced by Draw().

LabelPositions NPlot::LabelPointPlot::LabelTextPosition [get, set]
 

The position of the text label in relation to the point.

Definition at line 220 of file LabelPointPlot.cs.

LabelPositions NPlot::LabelPointPlot::labelTextPosition_ = LabelPositions.Above [private]
 

Definition at line 230 of file LabelPointPlot.cs.

Referenced by Draw().

object NPlot::LabelPointPlot::TextData [get, set]
 

The text datasource to attach to each point.

Definition at line 237 of file LabelPointPlot.cs.

Referenced by Draw().

object NPlot::LabelPointPlot::textData_ [private]
 

Definition at line 247 of file LabelPointPlot.cs.


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