wxFreeChart
Public Member Functions | List of all members
OHLCSimpleDataset Class Reference
Inheritance diagram for OHLCSimpleDataset:
Inheritance graph
[legend]
Collaboration diagram for OHLCSimpleDataset:
Collaboration graph
[legend]

Public Member Functions

 OHLCSimpleDataset (OHLCItem *items, size_t count)
 
virtual OHLCItemGetItem (size_t index)
 Returns item on index. More...
 
virtual size_t GetCount ()
 Returns item count. More...
 
- Public Member Functions inherited from OHLCDataset
OHLCRendererGetRenderer ()
 
void SetSerieName (const wxString &serieName)
 Sets serie name. More...
 
virtual double GetMinValue (bool verticalAxis)
 Returns minimal value. More...
 
virtual double GetMaxValue (bool verticalAxis)
 Returns maximal value. More...
 
virtual size_t GetSerieCount ()
 Returns serie count in this dataset. More...
 
virtual wxString GetSerieName (size_t serie)
 Returns serie name. More...
 
virtual size_t GetCount (size_t serie)
 Returns value count in serie specified by index. More...
 
virtual DateTimeDatasetAsDateTimeDataset ()
 
virtual time_t GetDate (size_t index)
 Returns date/time for specified index. More...
 
- Public Member Functions inherited from Dataset
void SetRenderer (Renderer *renderer)
 Sets renderer for this dataset. More...
 
RendererGetBaseRenderer ()
 
void BeginUpdate ()
 Called to begin dataset update. More...
 
void EndUpdate ()
 Called to end dataset update. More...
 
void AddMarker (Marker *marker)
 Adds marker to plot. More...
 
size_t GetMarkersCount ()
 Returns marker count. More...
 
MarkerGetMarker (size_t index)
 Returns marker at specified index. More...
 
virtual void NeedRedraw (DrawObject *obj)
 
void DatasetChanged ()
 Called to indicate, that dataset is changed. More...
 
- Public Member Functions inherited from RefObject
void AddRef ()
 
void Unref ()
 
int RefCount ()
 

Additional Inherited Members

- Protected Member Functions inherited from OHLCDataset
virtual bool AcceptRenderer (Renderer *r)
 Checks whether renderer is acceptable by this dataset. More...
 
- Protected Attributes inherited from OHLCDataset
wxString m_serieName
 
- Protected Attributes inherited from Dataset
Rendererm_renderer
 

Detailed Description

Definition at line 15 of file ohlcsimpledataset.h.

Member Function Documentation

virtual size_t OHLCSimpleDataset::GetCount ( )
virtual

Returns item count.

Returns
item count

Implements OHLCDataset.

virtual OHLCItem* OHLCSimpleDataset::GetItem ( size_t  index)
virtual

Returns item on index.

Parameters
indexindex of item

Implements OHLCDataset.


The documentation for this class was generated from the following file: