Class representing grid-based data for a 3D chart. More...

Public Member Functions | |
| WGridData (WAbstractItemModel *model) | |
| Constructor. | |
| virtual double | minimum (Axis axis) const |
| Returns the computed minimum value of this dataseries along the given axis. | |
| virtual double | maximum (Axis axis) const |
| Returns the computed maximum value of this dataseries along the given axis. | |
| void | setXSeriesColumn (int modelColumn) |
| Set which column in the model is used as x-axis. | |
| int | XSeriesColumn () const |
| Returns which column in the model is used as x-axis. | |
| void | setYSeriesRow (int modelRow) |
| Set which row in the model is used as y-axis. | |
| int | YSeriesRow () const |
| Returns which row in the model is used as y-axis. | |
Class representing grid-based data for a 3D chart.
General information can be found at WAbstractDataSeries3D. The model for this dataseries is structured as a table. One of the columns (by default index 0) contains the x-axis values, one of the rows (by default index 0) contains the y-axis values. All other values in the table contain the z-value corresponding to the x- and y-values with the same column- and row-index.
| double Wt::Chart::WGridData::maximum | ( | Axis | axis | ) | const [virtual] |
Returns the computed maximum value of this dataseries along the given axis.
Implements Wt::Chart::WAbstractGridData.
| double Wt::Chart::WGridData::minimum | ( | Axis | axis | ) | const [virtual] |
Returns the computed minimum value of this dataseries along the given axis.
Implements Wt::Chart::WAbstractGridData.
| void Wt::Chart::WGridData::setXSeriesColumn | ( | int | modelColumn | ) |
Set which column in the model is used as x-axis.
The default column that is used has index 0.
| void Wt::Chart::WGridData::setYSeriesRow | ( | int | modelRow | ) |
Set which row in the model is used as y-axis.
The default row that is used has index 0.
| int Wt::Chart::WGridData::XSeriesColumn | ( | ) | const |
Returns which column in the model is used as x-axis.
| int Wt::Chart::WGridData::YSeriesRow | ( | ) | const |
Returns which row in the model is used as y-axis.
1.7.6.1