Wt  4.0.2
Classes | Typedefs | Enumerations
Charts (Wt::Chart)

A charting library implemented using the Wt Painting system. More...

Classes

class  Wt::Chart::WAbstractChart
 Abstract base class for MVC-based charts. More...
 
class  Wt::Chart::WAbstractChartModel
 An abstract model for use with Wt's charts. More...
 
class  Wt::Chart::WAbstractColorMap
 Maps numerical values to colors. More...
 
class  Wt::Chart::WAbstractDataSeries3D
 Abstract base class for dataseries that can be drawn on a WCartesian3DChart. More...
 
class  Wt::Chart::WAbstractGridData
 Class representing grid-based data for on a 3D chart. More...
 
class  Wt::Chart::WAxis
 Class which represents an axis of a cartesian chart. More...
 
class  Wt::Chart::WAxisSliderWidget
 A widget for selecting an X axis range to display on an associated WCartesianChart. More...
 
class  Wt::Chart::WCartesian3DChart
 A 3D Cartesian chart. More...
 
class  Wt::Chart::SeriesIterator
 Abstract base class for iterating over series data in a chart. More...
 
class  Wt::Chart::WCartesianChart
 A cartesian chart. More...
 
class  Wt::Chart::WChartPalette
 Abstract base class for styling rendered data series in charts. More...
 
class  Wt::Chart::WDataSeries
 A single data series in a cartesian chart. More...
 
class  Wt::Chart::WEquidistantGridData
 Class representing grid-based data for on a 3D chart. More...
 
class  Wt::Chart::WGridData
 Class representing grid-based data for a 3D chart. More...
 
class  Wt::Chart::WPieChart
 A pie chart. More...
 
class  Wt::Chart::WScatterData
 Class representing a collection of points for on a 3D chart. More...
 
class  Wt::Chart::WSelection
 Represents a selection on a chart. More...
 
class  Wt::Chart::WStandardChartProxyModel
 A WAbstractChartModel implementation that wraps a WAbstractItemModel. More...
 
class  Wt::Chart::WStandardPalette
 Standard styling for rendering series in charts. More...
 

Typedefs

typedef std::map< WFlags< KeyboardModifier >, InteractiveAction > Wt::Chart::WheelActions
 A map of mouse wheel actions for interactive charts, indexed by WFlags<KeyboardModifier> More...
 

Enumerations

Detailed Description

A charting library implemented using the Wt Painting system.

The charting library contains two main chart widget classes, WCartesianChart and WPieChart, and a number of utility classes for drawing simple to complex charts.

Typedef Documentation

typedef std::map<WFlags<KeyboardModifier>, InteractiveAction> Wt::Chart::WheelActions

A map of mouse wheel actions for interactive charts, indexed by WFlags<KeyboardModifier>

See also
WCartesianChart::setWheelActions(WheelActions)
WCartesianChart::wheelActions()

Enumeration Type Documentation

enum Wt::Chart::Axis
strong

Enumeration that indicates a chart axis.

See also
WCartesianChart::axis(Axis)
Enumerator

X axis.

First Y axis (== Y1).

Y1 

First Y axis (== Y).

Y2 

Second Y Axis.

Ordinate 

Ordinate axis (== Y1 for a 2D plot).

X3D 

X axis on 3D chart.

Y3D 

Y axis on 3D chart.

Z3D 

Z axis on 3D chart.

enum Wt::Chart::AxisScale
strong

Enumeration that indicates a scale for an axis.

The scale determines how values are mapped onto an axis.

See also
WAxis::setScale(AxisScale scale)
Enumerator
Discrete 

A discrete scale is set as the scale for the X axis in a ChartType::Category, and is only applicable there. It lists all values, evenly spaced, and consecutively in the order of the model. The categories are converted to numbers using their ordinal (first category = 0, second = 1, ...).

Linear 

A linear scale is the default scale for all axes, except for the X scale in a AxisScale::Discrete. It maps values in a linear fashion on the axis.

Log 

A logarithmic scale is useful for plotting values with of a large range, but only works for positive values.

Date 

A date scale is a special linear scale, which is useful for the X axis in a ChartType::Scatter, when the X series contain dates (of type WDate). The dates are converted to numbers, as Julian Days.

DateTime 

A datetime scale is a special linear scale, which is useful for the X axis in a ChartType::Scatter, when the X series contain timedates (of type WDateTime). The dates are converted to numbers, as the number of seconds since the Unix Epoch (midnight Coordinated Universal Time (UTC) of January 1, 1970).

enum Wt::Chart::AxisValue
strong

Enumeration that indicates a logical location for an axis.

The location is dependent on the values of the other axis.

See also
WAxis::setLocation(AxisValue)
Enumerator
Minimum 

The minimum value.

Maximum 

The maximum value.

Zero 

The zero value (if displayed).

Both 

At both sides (Minimum and Maximum).

enum Wt::Chart::ChartType
strong

Enumeration type that indicates a chart type for a cartesian chart.

Enumerator
Category 

The X series are categories.

Scatter 

The X series must be interpreted as numerical data.

Lists the different ways that a chart can be updated.

Enumerator
CameraMatrix 

Camera matrix.

GLContext 

GL context.

GLTextures 

GL textures.

Enumeration that specifies how an area should be filled.

Data series of type SeriesType::Line or CurveSerie may be filled under or above the line or curve. This enumeration specifies the other limit of this fill. Data series of type SeriesType::Bar can use this setting to configure the bottom of the chart.

See also
WDataSeries::setFillRange(FillRangeType range)
WCartesianChart
Enumerator
None 

Do not fill under the curve.

MinimumValue 

Fill from the curve to the chart bottom (min)

MaximumValue 

Fill from the curve to the chart top.

ZeroValue 

Fill from the curve to the zero Y value.

Enumeration of mouse wheel actions for interactive charts.

See also
WCartesianChart::WheelActions
WCartesianChart::setWheelActions(WheelActions)
Enumerator
ZoomX 

Zoom x-axis.

ZoomY 

Zoom y-axis.

ZoomXY 

Zoom along both x and y-axes.

ZoomMatching 

Zoom y-axis on vertical scroll, x-axis on horizontal scroll.

PanX 

Pan x-axis.

PanY 

Pan y-axis.

PanMatching 

Pan y-axis on vertical scroll, x-axis on horizontal scroll.

Enumeration that specifies options for the labels.

See also
WPieChart::setDisplayLabels(WFlags<LabelOption>)
Enumerator
None 

Do not display labels (default).

Inside 

Display labels inside each segment.

Outside 

Display labels outside each segment.

TextLabel 

Display the label text.

TextPercentage 

Display the value (as percentage)

Enumeration type that indicates a legend location.

Enumerator
Inside 

Inside the chart area.

Outside 

Outside the chart area (in the padding area)

enum Wt::Chart::MarkerType
strong

Enumeration that specifies a type of point marker.

See also
WDataSeries::setMarker(MarkerType marker)
WCartesianChart
Enumerator
None 

Do not draw point markers.

Square 

Mark points using a square.

Circle 

Mark points using a circle.

Cross 

Mark points using a cross (+).

XCross 

Mark points using a cross (x).

Triangle 

Mark points using a triangle.

Custom 

Mark points using a custom marker.

Star 

Mark points using a star.

InvertedTriangle 

Mark points using an inverted (upside-down) triangle.

Asterisk 

Mark points using an asterisk (*).

Diamond 

Mark points using a diamond.

enum Wt::Chart::Plane
strong

Lists the three orthogonal planes in 3D.

Enumerator
XY 

X/Y Plane.

XZ 

X/Z Plane.

YZ 

Y/Z Plane.

Enumeration with the possible representations of a WAbstractGridData.

Enumerator
Point 

Series rendered as points.

Surface 

Series rendered as a surface.

Bar 

Series rendered as bars.

enum Wt::Chart::SeriesType
strong

Enumeration that specifies the type of a chart series.

See also
WDataSeries::setType(SeriesType)
WCartesianChart
Enumerator
Point 

Series rendered solely as point markers.

Line 

Series rendered as points connected by straight lines.

Curve 

Series rendered as points connected by curves.

Bar 

Series rendered as bars.


Generated on Fri Nov 24 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11