kchart
KDChartSeriesCollection Class Reference
Inheritance diagram for KDChartSeriesCollection:

Detailed Description
Definition at line 47 of file KDChartSeriesCollection.h.
Public Member Functions | |
KDChartSeriesCollection (KDChartParams *params) | |
virtual | ~KDChartSeriesCollection () |
virtual uint | rows () const |
virtual uint | cols () const |
virtual void | setUsedRows (uint _rows) |
virtual uint | usedRows () const |
virtual void | setUsedCols (uint _cols) |
virtual uint | usedCols () const |
virtual void | setCell (uint _row, uint _col, const KDChartData &_element) |
virtual const KDChartData & | cell (uint _row, uint _col) const |
virtual void | expand (uint _rows, uint _cols) |
virtual double | minValue (int coordinate=1) const |
virtual double | maxValue (int coordinate=1) const |
virtual void | setLegendText (KDChartBaseSeries *series, QString text) |
virtual QString | legendText (KDChartBaseSeries *series) |
virtual void | setYaxis (KDChartBaseSeries *series, KDChartAxisParams::AxisPos axis) |
virtual KDChartAxisParams::AxisPos | yAxis (KDChartBaseSeries *series) |
virtual unsigned int | indexOf (KDChartBaseSeries *series) |
Protected Attributes | |
KDChartData | _blank |
KDChartParams * | _params |
Member Function Documentation
uint KDChartSeriesCollection::cols | ( | ) | const [virtual] |
Returns the number of cols in the table.
- Note:
- This pure-virtual function has to be implemented by each class derived from KDChartTableDataBase.
- Returns:
- the number of cols in the table.
Implements KDChartTableDataBase.
Definition at line 59 of file KDChartSeriesCollection.cpp.
void KDChartSeriesCollection::expand | ( | uint | _rows, | |
uint | _cols | |||
) | [virtual] |
Increases the number of rows (and/or columns, resp.
) stored in this table.
- Note:
- This pure-virtual function has to be implemented by each class derived from KDChartTableDataBase.
The old content of the table must be preserved (e.g. by copying the data into the cells of the new table).
- Parameters:
-
_row the new number of rows. _col the new number of columns.
- See also:
- cell
Implements KDChartTableDataBase.
Definition at line 110 of file KDChartSeriesCollection.cpp.
uint KDChartSeriesCollection::rows | ( | ) | const [virtual] |
Returns the number of rows in the table.
- Note:
- This pure-virtual function has to be implemented by each class derived from KDChartTableDataBase.
- Returns:
- the number of rows in the table.
Implements KDChartTableDataBase.
Definition at line 49 of file KDChartSeriesCollection.cpp.
void KDChartSeriesCollection::setUsedCols | ( | uint | _cols | ) | [virtual] |
Sets the number of cols in the table that actually contain data.
- Note:
- You might want to re-implement this function in derived classes, the default implementation just stores the new number of used cols.
- Parameters:
-
_cols the number of cols in the table that actually contain data.
Reimplemented from KDChartTableDataBase.
Definition at line 85 of file KDChartSeriesCollection.cpp.
void KDChartSeriesCollection::setUsedRows | ( | uint | _rows | ) | [virtual] |
Sets the number of rows in the table that actually contain data.
- Note:
- You might want to re-implement this function in derived classes, the default implementation just stores the new number of used rows.
- Parameters:
-
_rows the number of rows in the table that actually contain data.
Reimplemented from KDChartTableDataBase.
Definition at line 81 of file KDChartSeriesCollection.cpp.
uint KDChartSeriesCollection::usedCols | ( | ) | const [virtual] |
Returns the number of cols in the table that actually contain data.
- Returns:
- the number of cols in the table that actually contain data.
- See also:
- setUsedCols, rows, cols
Reimplemented from KDChartTableDataBase.
Definition at line 65 of file KDChartSeriesCollection.cpp.
uint KDChartSeriesCollection::usedRows | ( | ) | const [virtual] |
Returns the number of rows in the table that actually contain data.
- Returns:
- the number of rows in the table that actually contain data.
- See also:
- setUsedRows, rows, cols
Reimplemented from KDChartTableDataBase.
Definition at line 53 of file KDChartSeriesCollection.cpp.
The documentation for this class was generated from the following files: