Chart library

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::WAxis
 Class which represents an axis of a cartesian chart. More...
class  Wt::Chart::WCartesianChart
 A cartesian chart. More...
class  Wt::Chart::SeriesIterator
 Abstract base class for iterating over series data in WChart2DRenderer. More...
class  Wt::Chart::WChart2DRenderer
 Helper class for rendering 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::WPieChart
 A pie chart. More...
class  Wt::Chart::WStandardPalette
 Standard styling for rendering series in charts. More...

Enumerations

enum  Wt::Chart::Axis {
  Wt::Chart::XAxis = 0, Wt::Chart::YAxis = 1, Wt::Chart::Y1Axis = YAxis, Wt::Chart::Y2Axis = 2,
  Wt::Chart::OrdinateAxis = YAxis
}
 Enumeration that indicates a chart axis. More...
enum  Wt::Chart::AxisLocation { Wt::Chart::MinimumValue, Wt::Chart::MaximumValue, Wt::Chart::ZeroValue }
 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 }
 Enumeration that indicates a scale for an axis. 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
}
 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::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...

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.


Enumeration Type Documentation

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).

Enumeration that indicates a logical location for an axis.

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

See also:
WAxis::setLocation(AxisLocation)
Enumerator:
MinimumValue  At the minimum value.
MaximumValue  At the maximum value.
ZeroValue  At the zero value (if displayed).

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.
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).

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.

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.

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.

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).

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.

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 Sep 1 17:51:14 2009 for Wt by doxygen 1.5.6