Wt  3.3.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
Wt::Chart::WGridData Class Reference

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

Inheritance diagram for Wt::Chart::WGridData:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Function Documentation

double Wt::Chart::WGridData::maximum ( Axis  axis) const [virtual]

Returns the computed maximum value of this dataseries along the given axis.

See also:
minimum()

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.

See also:
maximum()

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.

Returns which column in the model is used as x-axis.

See also:
setXSeriesColumn()

Returns which row in the model is used as y-axis.

See also:
setYSeriesRow()
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Mar 22 2016 for the C++ Web Toolkit (Wt) by doxygen 1.7.6.1