A charting library implemented using the Wt Painting system.
More...
|
enum | Wt::Chart::Series3DType { Wt::Chart::Series3DType::Point,
Wt::Chart::Series3DType::Surface,
Wt::Chart::Series3DType::Bar
} |
| Enumeration with the possible representations of a WAbstractGridData. More...
|
|
enum | Wt::Chart::Axis {
Wt::Chart::Axis::X = 0,
Wt::Chart::Axis::Y = 1,
Wt::Chart::Axis::Y1 = Y,
Wt::Chart::Axis::Y2 = 2,
Wt::Chart::Axis::Ordinate = Y,
Wt::Chart::Axis::X3D = 0,
Wt::Chart::Axis::Y3D = 3,
Wt::Chart::Axis::Z3D = 1
} |
| Enumeration that indicates a chart axis. More...
|
|
enum | Wt::Chart::AxisValue { Wt::Chart::AxisValue::Minimum = 0x1,
Wt::Chart::AxisValue::Maximum = 0x2,
Wt::Chart::AxisValue::Zero = 0x4,
Wt::Chart::AxisValue::Both = 0x8
} |
| Enumeration that indicates a logical location for an axis. More...
|
|
enum | Wt::Chart::AxisScale {
Wt::Chart::AxisScale::Discrete = 0,
Wt::Chart::AxisScale::Linear = 1,
Wt::Chart::AxisScale::Log = 2,
Wt::Chart::AxisScale::Date = 3,
Wt::Chart::AxisScale::DateTime = 4
} |
| Enumeration that indicates a scale for an axis. More...
|
|
enum | Wt::Chart::InteractiveAction {
Wt::Chart::InteractiveAction::ZoomX,
Wt::Chart::InteractiveAction::ZoomY,
Wt::Chart::InteractiveAction::ZoomXY,
Wt::Chart::InteractiveAction::ZoomMatching,
Wt::Chart::InteractiveAction::PanX,
Wt::Chart::InteractiveAction::PanY,
Wt::Chart::InteractiveAction::PanMatching
} |
| Enumeration of mouse wheel actions for interactive charts. More...
|
|
enum | Wt::Chart::SeriesType { Wt::Chart::SeriesType::Point,
Wt::Chart::SeriesType::Line,
Wt::Chart::SeriesType::Curve,
Wt::Chart::SeriesType::Bar
} |
| Enumeration that specifies the type of a chart series. More...
|
|
enum | Wt::Chart::MarkerType {
Wt::Chart::MarkerType::None,
Wt::Chart::MarkerType::Square,
Wt::Chart::MarkerType::Circle,
Wt::Chart::MarkerType::Cross,
Wt::Chart::MarkerType::XCross,
Wt::Chart::MarkerType::Triangle,
Wt::Chart::MarkerType::Custom,
Wt::Chart::MarkerType::Star,
Wt::Chart::MarkerType::InvertedTriangle,
Wt::Chart::MarkerType::Asterisk,
Wt::Chart::MarkerType::Diamond
} |
| Enumeration that specifies a type of point marker. More...
|
|
enum | Wt::Chart::FillRangeType { Wt::Chart::FillRangeType::None,
Wt::Chart::FillRangeType::MinimumValue,
Wt::Chart::FillRangeType::MaximumValue,
Wt::Chart::FillRangeType::ZeroValue
} |
| Enumeration that specifies how an area should be filled. More...
|
|
enum | Wt::Chart::ChartType { Wt::Chart::ChartType::Category,
Wt::Chart::ChartType::Scatter
} |
| 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::LegendLocation::Inside,
Wt::Chart::LegendLocation::Outside
} |
| Enumeration type that indicates a legend location. More...
|
|
enum | Wt::Chart::LabelOption {
Wt::Chart::LabelOption::None = 0x00,
Wt::Chart::LabelOption::Inside = 0x01,
Wt::Chart::LabelOption::Outside = 0x02,
Wt::Chart::LabelOption::TextLabel = 0x10,
Wt::Chart::LabelOption::TextPercentage = 0x20
} |
| Enumeration that specifies options for the labels. More...
|
|
enum | Wt::Chart::Plane { Wt::Chart::Plane::XY,
Wt::Chart::Plane::XZ,
Wt::Chart::Plane::YZ
} |
| Lists the three orthogonal planes in 3D. More...
|
|
enum | Wt::Chart::ChartUpdates { Wt::Chart::ChartUpdates::CameraMatrix = 0x1,
Wt::Chart::ChartUpdates::GLContext = 0x2,
Wt::Chart::ChartUpdates::GLTextures = 0x4
} |
| Lists the different ways that a chart can be updated. 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.
◆ WheelActions
◆ Axis
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.
|
◆ 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 |
---|
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).
|
◆ 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 |
---|
Minimum | The minimum value.
|
Maximum | The maximum value.
|
Zero | The zero value (if displayed).
|
Both | At both sides (Minimum and Maximum).
|
◆ ChartType
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.
|
◆ 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 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.
|
◆ 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 |
---|
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)
|
◆ LegendLocation
Enumeration type that indicates a legend location.
Enumerator |
---|
Inside | Inside the chart area.
|
Outside | 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 |
---|
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.
|
◆ Plane
Lists the three orthogonal planes in 3D.
Enumerator |
---|
XY | X/Y Plane.
|
XZ | X/Z Plane.
|
YZ | Y/Z Plane.
|
◆ Series3DType
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.
|
◆ SeriesType
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.
|