Wt  3.7.1
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 >, InteractiveActionWt::Chart::WheelActions
 A map of mouse wheel actions for interactive charts, indexed by WFlags<KeyboardModifier> More...
 

Enumerations

enum  Wt::Chart::Series3DType { Wt::Chart::PointSeries3D, Wt::Chart::SurfaceSeries3D, Wt::Chart::BarSeries3D }
 Enumeration with the possible representations of a WAbstractGridData. More...
 
enum  Wt::Chart::Axis {
  Wt::Chart::XAxis = 0, Wt::Chart::YAxis = 1, Wt::Chart::Y1Axis = YAxis, Wt::Chart::Y2Axis = 2,
  Wt::Chart::OrdinateAxis = YAxis, Wt::Chart::XAxis_3D = 0, Wt::Chart::YAxis_3D = 3, Wt::Chart::ZAxis_3D = 1
}
 Enumeration that indicates a chart axis. More...
 
enum  Wt::Chart::AxisValue { Wt::Chart::MinimumValue = 0x1, Wt::Chart::MaximumValue = 0x2, Wt::Chart::ZeroValue = 0x4, Wt::Chart::BothSides = 0x8 }
 Enumeration that indicates a logical location for an axis. More...
 
enum  Wt::Chart::AxisScale {
  Wt::Chart::CategoryScale = 0, Wt::Chart::LinearScale = 1, Wt::Chart::LogScale = 2, Wt::Chart::DateScale = 3,
  Wt::Chart::DateTimeScale = 4
}
 Enumeration that indicates a scale for an axis. More...
 
enum  Wt::Chart::InteractiveAction {
  Wt::Chart::ZoomX, Wt::Chart::ZoomY, Wt::Chart::ZoomXY, Wt::Chart::ZoomMatching,
  Wt::Chart::PanX, Wt::Chart::PanY, Wt::Chart::PanMatching
}
 Enumeration of mouse wheel actions for interactive charts. More...
 
enum  Wt::Chart::SeriesType { Wt::Chart::PointSeries, Wt::Chart::LineSeries, Wt::Chart::CurveSeries, Wt::Chart::BarSeries }
 Enumeration that specifies the type of a chart series. More...
 
enum  Wt::Chart::MarkerType {
  Wt::Chart::NoMarker, Wt::Chart::SquareMarker, Wt::Chart::CircleMarker, Wt::Chart::CrossMarker,
  Wt::Chart::XCrossMarker, Wt::Chart::TriangleMarker, Wt::Chart::CustomMarker, Wt::Chart::StarMarker,
  Wt::Chart::InvertedTriangleMarker, Wt::Chart::AsteriskMarker, Wt::Chart::DiamondMarker
}
 Enumeration that specifies a type of point marker. More...
 
enum  Wt::Chart::FillRangeType { Wt::Chart::NoFill, Wt::Chart::MinimumValueFill, Wt::Chart::MaximumValueFill, Wt::Chart::ZeroValueFill }
 Enumeration that specifies how an area should be filled. More...
 
enum  Wt::Chart::ChartType { Wt::Chart::CategoryChart, Wt::Chart::ScatterPlot }
 Enumeration type that indicates a chart type for a cartesian chart. More...
 
enum  Wt::Chart::AxisProperty
 Enumeration that specifies a property of the axes.
 
enum  Wt::Chart::LegendLocation { Wt::Chart::LegendInside, Wt::Chart::LegendOutside }
 Enumeration type that indicates a legend location. More...
 
enum  Wt::Chart::LabelOption {
  Wt::Chart::NoLabels = 0x00, Wt::Chart::Inside = 0x01, Wt::Chart::Outside = 0x02, Wt::Chart::TextLabel = 0x10,
  Wt::Chart::TextPercentage = 0x20
}
 Enumeration that specifies options for the labels. More...
 
enum  Wt::Chart::Plane { Wt::Chart::XY_Plane, Wt::Chart::XZ_Plane, Wt::Chart::YZ_Plane }
 Lists the three orthogonal planes in 3D. More...
 
enum  Wt::Chart::ChartUpdates { Wt::Chart::CameraMatrix = 0x1, Wt::Chart::GLContext = 0x2, Wt::Chart::GLTextures = 0x4 }
 Lists the different ways that a chart can be updated. More...
 

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

◆ WheelActions

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

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

Enumeration Type Documentation

◆ Axis

Enumeration that indicates a chart axis.

See also
WCartesianChart::axis(Axis)
Enumerator
XAxis 

X axis.

YAxis 

First Y axis (== Y1Axis).

Y1Axis 

First Y axis (== YAxis).

Y2Axis 

Second Y Axis.

OrdinateAxis 

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

XAxis_3D 

X axis on 3D chart.

YAxis_3D 

Y axis on 3D chart.

ZAxis_3D 

Z axis on 3D chart.

◆ AxisScale

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
CategoryScale 

A category scale is set as the scale for the X axis in a CategoryChart, 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, ...).

LinearScale 

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

LogScale 

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

DateScale 

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

DateTimeScale 

A datetime scale is a special linear scale, which is useful for the X axis in a ScatterPlot, 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).

◆ AxisValue

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
MinimumValue 

At the minimum value.

MaximumValue 

At the maximum value.

ZeroValue 

At the zero value (if displayed).

BothSides 

At both sides (MinimumValue and MaximumValue).

◆ ChartType

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

Enumerator
CategoryChart 

The X series are categories.

ScatterPlot 

The X series must be interpreted as numerical data.

◆ ChartUpdates

Lists the different ways that a chart can be updated.

Enumerator
CameraMatrix 

Camera matrix.

GLContext 

GL context.

GLTextures 

GL textures.

◆ FillRangeType

Enumeration that specifies how an area should be filled.

Data series of type LineSeries 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 BarSeries can use this setting to configure the bottom of the chart.

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

Do not fill under the curve.

MinimumValueFill 

Fill from the curve to the chart bottom (min)

MaximumValueFill 

Fill from the curve to the chart top.

ZeroValueFill 

Fill from the curve to the zero Y value.

◆ InteractiveAction

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.

◆ LabelOption

Enumeration that specifies options for the labels.

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

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)

◆ LegendLocation

Enumeration type that indicates a legend location.

Enumerator
LegendInside 

Inside the chart area.

LegendOutside 

Outside the chart area (in the padding area)

◆ MarkerType

Enumeration that specifies a type of point marker.

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

Do not draw point markers.

SquareMarker 

Mark points using a square.

CircleMarker 

Mark points using a circle.

CrossMarker 

Mark points using a cross (+).

XCrossMarker 

Mark points using a cross (x).

TriangleMarker 

Mark points using a triangle.

CustomMarker 

Mark points using a custom marker.

StarMarker 

Mark points using a star.

InvertedTriangleMarker 

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

AsteriskMarker 

Mark points using an asterisk (*).

DiamondMarker 

Mark points using a diamond.

◆ Plane

Lists the three orthogonal planes in 3D.

Enumerator
XY_Plane 

X/Y Plane.

XZ_Plane 

X/Z Plane.

YZ_Plane 

Y/Z Plane.

◆ Series3DType

Enumeration with the possible representations of a WAbstractGridData.

Enumerator
PointSeries3D 

Series rendered as points.

SurfaceSeries3D 

Series rendered as a surface.

BarSeries3D 

Series rendered as bars.

◆ SeriesType

Enumeration that specifies the type of a chart series.

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

Series rendered solely as point markers.

LineSeries 

Series rendered as points connected by straight lines.

CurveSeries 

Series rendered as points connected by curves.

BarSeries 

Series rendered as bars.


Generated on Tue Dec 15 2020 for the C++ Web Toolkit (Wt) by doxygen 1.8.13