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

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

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

List of all members.

Public Member Functions

 WEquidistantGridData (WAbstractItemModel *model, double XMin, double deltaX, double YMin, double deltaY)
 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 setXAbscis (double XMinimum, double deltaX)
 Sets the minimum and delta for the X-axis.
double XMinimum () const
 Returns the minimum value of the X-axis.
double deltaX () const
 Returns the delta value of the X-axis.
void setYAbscis (double YMinimum, double deltaY)
 Sets the minimum and delta for the Y-axis.
double YMinimum () const
 Returns the minimum value of the Y-axis.
double deltaY () const
 Returns the delta value of the Y-axis.

Detailed Description

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

General information can be found at WAbstractDataSeries3D. The model for this dataseries does not contain an x- and y-axis. Instead the class derives the x- and y-values from the minimum and delta provided in the constructor. The size of the model determines the size of the grid. The model itself is structured as a table, where every value represents the z-value of a data-point. The corresponding x- and y-values are calculated by adding delta times the row/column-index to the axis-minimum.


Member Function Documentation

Returns the delta value of the X-axis.

The delta is the interval between subsequent values on the axis.

See also:
setXAbscis()

Returns the delta value of the Y-axis.

The delta is the interval between subsequent values on the axis.

See also:
setYAbscis()
double Wt::Chart::WEquidistantGridData::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::WEquidistantGridData::minimum ( Axis  axis) const [virtual]

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

See also:
maximum()

Implements Wt::Chart::WAbstractGridData.

Returns the minimum value of the X-axis.

See also:
setXAbscis()

Returns the minimum value of the Y-axis.

See also:
setYAbscis()
 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