/usr/include/Wt/Chart/WChartGlobal is in libwt-dev 3.1.10-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WCHARTGLOBAL_H_
#define WCHARTGLOBAL_H_
namespace Wt {
namespace Chart {
/*! \brief Enumeration that specifies the type of a chart series.
*
* \sa WDataSeries::setType(SeriesType)
* \sa WCartesianChart
*
* \ingroup charts
*/
enum SeriesType {
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.
};
/*! \brief Enumeration that specifies a type of point marker.
*
* \sa WDataSeries::setMarker(MarkerType marker)
* \sa WCartesianChart
*
* \ingroup charts
*/
enum MarkerType {
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.
};
/*! \brief 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.
*
* \sa WDataSeries::setFillRange(FillRangeType range)
* \sa WCartesianChart
*
* \ingroup charts
*/
enum FillRangeType {
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.
};
/*! \brief Enumeration type that indicates a chart type for a cartesian
* chart.
*
* \ingroup charts
*/
enum ChartType {
CategoryChart, //!< The X series are categories
ScatterPlot //!< The X series must be interpreted as numerical data
};
/*! \brief Enumeration type that indicates a legend location.
*
* \ingroup charts
*/
enum LegendLocation {
LegendInside, //!< Inside the chart area
LegendOutside //!< Outside the chart area (in the padding area)
};
}
}
#endif // WCHARTGLOBAL_H_
|