NPlot::IPlot Interface Reference

Defines the interface for objects that (a) can draw a representation of themselves in the legend and (b) can recommend a good axis to draw themselves against. More...

Inheritance diagram for NPlot::IPlot:

NPlot::IDrawable NPlot::BarPlot NPlot::CandlePlot NPlot::HistogramPlot NPlot::HorizontalLine NPlot::ImagePlot NPlot::LinePlot NPlot::PointPlot NPlot::StepPlot NPlot::VerticalLine List of all members.

Public Member Functions

void DrawInLegend (Graphics g, Rectangle startEnd)
 Method used to draw a representation of the plot in a legend.
Axis SuggestXAxis ()
 The method used to set the default abscissa axis.
Axis SuggestYAxis ()
 The method used to set the default ordinate axis.
void WriteData (System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion)
 Write data associated with the plot as text.

Properties

string Label
 The label associated with the plot [used in legend].
bool ShowInLegend
 Whether or not to include an entry for this plot in the legend if it exists.

Detailed Description

Defines the interface for objects that (a) can draw a representation of themselves in the legend and (b) can recommend a good axis to draw themselves against.

Definition at line 62 of file IPlot.cs.


Member Function Documentation

void NPlot::IPlot::DrawInLegend Graphics  g,
Rectangle  startEnd
 

Method used to draw a representation of the plot in a legend.

Implemented in NPlot::BarPlot, NPlot::CandlePlot, NPlot::HistogramPlot, NPlot::ImagePlot, NPlot::LinePlot, NPlot::PointPlot, and NPlot::StepPlot.

Referenced by NPlot::LegendBase::Draw().

Axis NPlot::IPlot::SuggestXAxis  ) 
 

The method used to set the default abscissa axis.

Implemented in NPlot::BarPlot, NPlot::CandlePlot, NPlot::HistogramPlot, NPlot::HorizontalLine, NPlot::ImagePlot, NPlot::LinePlot, NPlot::PointPlot, NPlot::StepPlot, and NPlot::VerticalLine.

Referenced by NPlot::PlotSurface2D::UpdateAxes().

Axis NPlot::IPlot::SuggestYAxis  ) 
 

The method used to set the default ordinate axis.

Implemented in NPlot::BarPlot, NPlot::CandlePlot, NPlot::HistogramPlot, NPlot::HorizontalLine, NPlot::ImagePlot, NPlot::LinePlot, NPlot::PointPlot, NPlot::StepPlot, and NPlot::VerticalLine.

Referenced by NPlot::PlotSurface2D::UpdateAxes().

void NPlot::IPlot::WriteData System.Text.StringBuilder  sb,
RectangleD  region,
bool  onlyInRegion
 

Write data associated with the plot as text.

Parameters:
sb the string builder to write to.
region Only write out data in this region if onlyInRegion is true.
onlyInRegion If true, only data in region is written, else all data is written.

Implemented in NPlot::BarPlot, NPlot::CandlePlot, NPlot::HorizontalLine, NPlot::ImagePlot, and NPlot::VerticalLine.

Referenced by NPlot::Windows::PlotSurface2D::CopyDataToClipboard().


Property Documentation

string NPlot::IPlot::Label [get, set]
 

The label associated with the plot [used in legend].

Implemented in NPlot::HorizontalLine, NPlot::ImagePlot, and NPlot::VerticalLine.

Definition at line 74 of file IPlot.cs.

Referenced by NPlot::LegendBase::Draw().

bool NPlot::IPlot::ShowInLegend [get, set]
 

Whether or not to include an entry for this plot in the legend if it exists.

Implemented in NPlot::HorizontalLine, NPlot::ImagePlot, and NPlot::VerticalLine.

Definition at line 80 of file IPlot.cs.

Referenced by NPlot::LegendBase::Draw().


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