NPlot::PointPlot Class Reference

Encapsulates functionality for drawing data as a series of points. More...

Inheritance diagram for NPlot::PointPlot:

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

Public Member Functions

 PointPlot ()
 Default Constructor.
 PointPlot (Marker marker)
 Constructor for the marker plot.
virtual void Draw (Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis)
 Draws the point plot on a GDI+ surface against the provided x and y axes.
Axis SuggestXAxis ()
 Returns an x-axis that is suitable for drawing this plot.
Axis SuggestYAxis ()
 Returns a y-axis that is suitable for drawing this plot.
void DrawInLegend (Graphics g, Rectangle startEnd)
 Draws a representation of this plot in the legend.

Properties

Marker Marker
 The Marker object used for the plot.

Private Attributes

Marker marker_

Detailed Description

Encapsulates functionality for drawing data as a series of points.

Definition at line 61 of file PointPlot.cs.


Constructor & Destructor Documentation

NPlot::PointPlot::PointPlot  )  [inline]
 

Default Constructor.

Definition at line 68 of file PointPlot.cs.

References Marker, and marker_.

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

Constructor for the marker plot.

Parameters:
marker The marker to use.

Definition at line 77 of file PointPlot.cs.

References marker_.


Member Function Documentation

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

Draws the point 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.

Implements NPlot::IDrawable.

Reimplemented in NPlot::LabelPointPlot.

Definition at line 89 of file PointPlot.cs.

References NPlot::BaseSequencePlot::AbscissaData, NPlot::PhysicalAxis::Axis, NPlot::SequenceAdapter::Count, NPlot::ISequencePlot::DataMember, NPlot::ISequencePlot::DataSource, NPlot::Marker::Draw(), NPlot::Marker::DropLine, marker_, NPlot::BaseSequencePlot::OrdinateData, NPlot::Marker::Pen, NPlot::Axis::WorldMin, NPlot::PhysicalAxis::WorldToPhysical(), and NPlot::PointD::Y.

void NPlot::PointPlot::DrawInLegend Graphics  g,
Rectangle  startEnd
[inline]
 

Draws a representation of this plot in the legend.

Parameters:
g The graphics surface on which to draw.
startEnd A rectangle specifying the bounds of the area in the legend set aside for drawing.

Implements NPlot::IPlot.

Definition at line 143 of file PointPlot.cs.

References NPlot::Axis::Draw().

Axis NPlot::PointPlot::SuggestXAxis  )  [inline]
 

Returns an x-axis that is suitable for drawing this plot.

Returns:
A suitable x-axis.

Implements NPlot::IPlot.

Definition at line 116 of file PointPlot.cs.

References NPlot::SequenceAdapter::SuggestXAxis().

Axis NPlot::PointPlot::SuggestYAxis  )  [inline]
 

Returns a y-axis that is suitable for drawing this plot.

Returns:
A suitable y-axis.

Implements NPlot::IPlot.

Definition at line 129 of file PointPlot.cs.

References NPlot::SequenceAdapter::SuggestYAxis().


Member Data Documentation

Marker NPlot::PointPlot::marker_ [private]
 

Definition at line 63 of file PointPlot.cs.

Referenced by Draw(), and PointPlot().


Property Documentation

Marker NPlot::PointPlot::Marker [get, set]
 

The Marker object used for the plot.

Definition at line 153 of file PointPlot.cs.

Referenced by PointPlot().


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