#include <xydataset.h>
Public Member Functions | |
XYRenderer * | GetRenderer () |
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) |
Renderer * | GetBaseRenderer () |
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 DateTimeDataset * | AsDateTimeDataset () |
void | AddMarker (Marker *marker) |
size_t | GetMarkersCount () |
Marker * | GetMarker (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 | |
Renderer * | m_renderer |
Protected Attributes inherited from Observable< DatasetObserver > | |
std::vector< DatasetObserver * > | observers |
Base class for XY datasets.
|
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.
|
virtual |
Returns maximal value.
vertical | for datasets with XY coordinates, specifies direction |
Implements Dataset.
Reimplemented in CategoryDataset.
|
virtual |
Returns maximal x value.
|
virtual |
Returns maximal y value.
|
virtual |
Returns minimal value.
vertical | for datasets with XY coordinates, specifies direction |
Implements Dataset.
Reimplemented in CategoryDataset.
|
virtual |
Returns minimal x value.
|
virtual |
Returns minimal y value.
|
pure virtual |
Returns x value at index.
index | index |
Implemented in XYDynamicDataset, XYSimpleDataset, CategoryDataset, VectorDataset, MovingAverage, JulianTimeSeriesDataset, Polynom, TimeSeriesDataset, and SineFunction.
|
pure virtual |
Returns y value at index.
index | index |
Implemented in XYDynamicDataset, XYSimpleDataset, CategoryDataset, VectorDataset, MovingAverage, JulianTimeSeriesDataset, Polynom, TimeSeriesDataset, and SineFunction.