A charting library implemented using the Wt Painting system.
More...
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.
Enumeration that indicates a chart axis.
- See also
- WCartesianChart::axis(Axis)
Enumerator |
---|
X |
X axis.
|
Y |
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.
|
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).
|
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).
|
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)
|
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.
|
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.
|
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.
|