| chartcategoryaxisx.cpp |
|
3407 |
- |
| chartcategoryaxisx_p.h |
CHARTCATEGORYAXISX_H |
1056 |
- |
| chartcategoryaxisy.cpp |
|
3418 |
- |
| chartcategoryaxisy_p.h |
CHARTCATEGORYAXISY_H |
1052 |
- |
| polarchartcategoryaxisangular.cpp |
|
1904 |
- |
| polarchartcategoryaxisangular_p.h |
|
1049 |
- |
| polarchartcategoryaxisradial.cpp |
|
1917 |
- |
| polarchartcategoryaxisradial_p.h |
|
1041 |
- |
| qcategoryaxis.cpp |
!
\class QCategoryAxis
\inmodule QtCharts
\brief The QCategoryAxis class places named ranges on the axis.
This class can be used to explain the underlying data by adding labeled categories.
Unlike QBarCategoryAxis, QCategoryAxis allows the widths of the category ranges to
be specified freely.
Example code on how to use QCategoryAxis:
\image api_category_axis.png {Screenshot cutout showing the y-axis being
categorised by first, second, and third}
\code
QChartView *chartView = new QChartView;
QLineSeries *series = new QLineSeries;
// ...
chartView->chart()->addSeries(series);
QCategoryAxis *axisY = new QCategoryAxis;
axisY->setMin(0);
axisY->setMax(52);
axisY->setStartValue(15);
axisY->append("First", 20);
axisY->append("Second", 37);
axisY->append("Third", 52);
chartView->chart()->setAxisY(axisY, series);
\endcode
|
11042 |
- |
| qcategoryaxis.h |
|
1788 |
- |
| qcategoryaxis_p.h |
|
1181 |
- |