Version: 0.6.0

#include <xydataset.h>

Inheritance diagram for XYDataset:
Collaboration diagram for XYDataset:

Public Member Functions

XYRendererGetRenderer ()
 
virtual double GetX (size_t index, size_t serie)=0
 
virtual double GetY (size_t index, size_t serie)=0
 
virtual double GetMaxY ()
 
virtual double GetMinY ()
 
virtual double GetMaxX ()
 
virtual double GetMinX ()
 
virtual double GetMinValue (bool verticalAxis)
 
virtual double GetMaxValue (bool verticalAxis)
 
- Public Member Functions inherited from Dataset
void SetRenderer (Renderer *renderer)
 
RendererGetBaseRenderer ()
 
void BeginUpdate ()
 
void EndUpdate ()
 
virtual size_t GetSerieCount ()=0
 
virtual size_t GetCount (size_t serie)=0
 
virtual wxString GetSerieName (size_t serie)=0
 
virtual DateTimeDatasetAsDateTimeDataset ()
 
void AddMarker (Marker *marker)
 
size_t GetMarkersCount ()
 
MarkerGetMarker (size_t index)
 
virtual void NeedRedraw (DrawObject *obj)
 
- Public Member Functions inherited from RefObject
void AddRef ()
 
void Unref ()
 
int RefCount ()
 
- Public Member Functions inherited from Observable< DatasetObserver >
void AddObserver (DatasetObserver *_observer)
 
void RemoveObserver (DatasetObserver *_observer)
 

Protected Member Functions

virtual bool AcceptRenderer (Renderer *r)
 
- Protected Member Functions inherited from Dataset
void DatasetChanged ()
 

Additional Inherited Members

- Public Types inherited from Observable< DatasetObserver >
typedef DatasetObserver Observer
 
- Public Attributes inherited from Observable< DatasetObserver >
std::vector< DatasetObserver * >
::iterator 
OIt
 
- Protected Attributes inherited from Dataset
Rendererm_renderer
 
- Protected Attributes inherited from Observable< DatasetObserver >
std::vector< DatasetObserver * > observers
 

Detailed Description

Base class for XY datasets.

Member Function Documentation

bool XYDataset::AcceptRenderer ( Renderer r)
protectedvirtual

Checks whether renderer is acceptable by this dataset. TODO: this method must be removed, because acceptable renderer type depends on plot type.

Implements Dataset.

Reimplemented in CategoryDataset.

double XYDataset::GetMaxValue ( bool  vertical)
virtual

Returns maximal value.

Parameters
verticalfor datasets with XY coordinates, specifies direction
Returns
maximal value

Implements Dataset.

Reimplemented in CategoryDataset.

Here is the call graph for this function:

double XYDataset::GetMaxX ( )
virtual

Returns maximal x value.

Returns
maximal x value

Here is the call graph for this function:

Here is the caller graph for this function:

double XYDataset::GetMaxY ( )
virtual

Returns maximal y value.

Returns
maximal y value

Here is the call graph for this function:

Here is the caller graph for this function:

double XYDataset::GetMinValue ( bool  vertical)
virtual

Returns minimal value.

Parameters
verticalfor datasets with XY coordinates, specifies direction
Returns
minimal value

Implements Dataset.

Reimplemented in CategoryDataset.

Here is the call graph for this function:

double XYDataset::GetMinX ( )
virtual

Returns minimal x value.

Returns
minimal x value

Here is the call graph for this function:

Here is the caller graph for this function:

double XYDataset::GetMinY ( )
virtual

Returns minimal y value.

Returns
minimal y value

Here is the call graph for this function:

Here is the caller graph for this function:

virtual double XYDataset::GetX ( size_t  index,
size_t  serie 
)
pure virtual

Returns x value at index.

Parameters
indexindex
Returns
x value

Implemented in XYDynamicDataset, XYSimpleDataset, CategoryDataset, VectorDataset, MovingAverage, JulianTimeSeriesDataset, Polynom, TimeSeriesDataset, and SineFunction.

Here is the caller graph for this function:

virtual double XYDataset::GetY ( size_t  index,
size_t  serie 
)
pure virtual

Returns y value at index.

Parameters
indexindex
Returns
y value

Implemented in XYDynamicDataset, XYSimpleDataset, CategoryDataset, VectorDataset, MovingAverage, JulianTimeSeriesDataset, Polynom, TimeSeriesDataset, and SineFunction.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/freechart/wx/xy/xydataset.h
  • /home/bishop/work/projects/nextgismanager/src/freechart/xy/xydataset.cpp