NPlot::CandlePlot::CandleDataAdapter Class Reference

List of all members.

Public Member Functions

 CandleDataAdapter (object dataSource, string dataMember, object abscissaData, object openData, object lowData, object highData, object closeData)
 Constructor.
Axis SuggestXAxis ()
 Returns an x-axis that is suitable for drawing the data.
Axis SuggestYAxis ()
 Returns a y-axis that is suitable for drawing the data.

Properties

PointOLHC this [int i]
 Gets the ith point in the candle adapter.
int Count
 The number of datapoints available via the candle adapter.

Private Attributes

object openData_
object lowData_
object highData_
object closeData_
object abscissaData_
object dataSource_
string dataMember_
DataRowCollection rows_ = null

Detailed Description

Definition at line 214 of file CandlePlot.cs.


Constructor & Destructor Documentation

NPlot::CandlePlot::CandleDataAdapter::CandleDataAdapter object  dataSource,
string  dataMember,
object  abscissaData,
object  openData,
object  lowData,
object  highData,
object  closeData
[inline]
 

Constructor.

Parameters:
dataSource 
dataMember 
abscissaData 
openData 
lowData 
highData 
closeData 

Definition at line 237 of file CandlePlot.cs.

References dataMember_, dataSource_, and rows_.


Member Function Documentation

Axis NPlot::CandlePlot::CandleDataAdapter::SuggestXAxis  )  [inline]
 

Returns an x-axis that is suitable for drawing the data.

Returns:
A suitable x-axis.

Definition at line 360 of file CandlePlot.cs.

References abscissaData_, and rows_.

Referenced by NPlot::CandlePlot::SuggestXAxis().

Axis NPlot::CandlePlot::CandleDataAdapter::SuggestYAxis  )  [inline]
 

Returns a y-axis that is suitable for drawing the data.

Returns:
A suitable y-axis.

Definition at line 428 of file CandlePlot.cs.

References highData_, NPlot::Axis::IncreaseRange(), lowData_, and rows_.

Referenced by NPlot::CandlePlot::SuggestYAxis().


Member Data Documentation

object NPlot::CandlePlot::CandleDataAdapter::abscissaData_ [private]
 

Definition at line 220 of file CandlePlot.cs.

Referenced by SuggestXAxis().

object NPlot::CandlePlot::CandleDataAdapter::closeData_ [private]
 

Definition at line 219 of file CandlePlot.cs.

string NPlot::CandlePlot::CandleDataAdapter::dataMember_ [private]
 

Definition at line 223 of file CandlePlot.cs.

Referenced by CandleDataAdapter().

object NPlot::CandlePlot::CandleDataAdapter::dataSource_ [private]
 

Definition at line 222 of file CandlePlot.cs.

Referenced by CandleDataAdapter().

object NPlot::CandlePlot::CandleDataAdapter::highData_ [private]
 

Definition at line 218 of file CandlePlot.cs.

Referenced by SuggestYAxis().

object NPlot::CandlePlot::CandleDataAdapter::lowData_ [private]
 

Definition at line 217 of file CandlePlot.cs.

Referenced by SuggestYAxis().

object NPlot::CandlePlot::CandleDataAdapter::openData_ [private]
 

Definition at line 216 of file CandlePlot.cs.

DataRowCollection NPlot::CandlePlot::CandleDataAdapter::rows_ = null [private]
 

Definition at line 224 of file CandlePlot.cs.

Referenced by CandleDataAdapter(), SuggestXAxis(), and SuggestYAxis().


Property Documentation

int NPlot::CandlePlot::CandleDataAdapter::Count [get]
 

The number of datapoints available via the candle adapter.

the number of datapoints available.

Definition at line 324 of file CandlePlot.cs.

Referenced by NPlot::CandlePlot::CalculatePhysicalSeparation(), and NPlot::CandlePlot::Draw().

PointOLHC NPlot::CandlePlot::CandleDataAdapter::this[int i] [get]
 

Gets the ith point in the candle adapter.

Parameters:
i index of datapoint to get
Returns:
the datapoint.

Definition at line 283 of file CandlePlot.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