class Chart: public AlterableObject
Abstract class that implements the skeleton of a chart.
Inherits from AlterableObject.
Chart | Abstract class that implements the skeleton of a chart. |
Functions | |
Chart | Initializes the object. |
~Chart | Virtual. |
AddDataElement | Adds the data element to the chart. |
GetDataElements | Returns a vector containing all data elements of the chart. |
AddAxis | Adds the axis to the chart. |
GetAxes | Returns a vector containing all axes of the chart. |
AddGridLine | Adds the grid line to the chart. |
GetGridLines | Returns a vector containing all grid lines of the chart. |
AddLabel | Adds the label to the chart. |
GetLabels | Returns a vector containing all labels of the chart. |
GetDataSet | Returns the data set represented by the chart. |
GetConnectedDataElement | Returns the data element which represents the given data entry. |
GetHighestVisibleValue | Returns the highest data entry value that is visible (not filtered) in the current chart. |
DataElement* GetConnectedDataElement( DataEntry * pDataEntry )
Returns the data element which represents the given data entry. If no such data element exists, NULL is returned.
pDataEntry | Pointer to the data entry to be searched. |
The data element which represents the given data entry if present, else NULL.
Abstract class that implements the skeleton of a chart.
class Chart: public AlterableObject
Initializes the object.
Chart()
Virtual.
virtual ~Chart()
Adds the data element to the chart.
void AddDataElement( DataElement * pDataElement )
Returns a vector containing all data elements of the chart.
std::vector<DataElement*> GetDataElements()
Adds the axis to the chart.
void AddAxis( Axis * pAxis )
Returns a vector containing all axes of the chart.
std::vector<Axis*> GetAxes()
Adds the grid line to the chart.
void AddGridLine( GridLine * pGridLine )
Returns a vector containing all grid lines of the chart.
std::vector<GridLine*> GetGridLines()
Adds the label to the chart.
void AddLabel( Label * pLabel )
Returns a vector containing all labels of the chart.
std::vector<Label*> GetLabels()
Returns the data set represented by the chart.
DataSet* GetDataSet()
Returns the data element which represents the given data entry.
DataElement* GetConnectedDataElement( DataEntry * pDataEntry )
Returns the highest data entry value that is visible (not filtered) in the current chart.
double GetHighestVisibleValue()
Abstract class that implements the skeleton of an alterable object, i.e.
class AlterableObject