@@ -29,7 +29,10 | |||||
29 | <td valign="top"> |
|
29 | <td valign="top"> | |
30 | <ul> |
|
30 | <ul> | |
31 | <li><a href="qchart.html">QChart</a></li> |
|
31 | <li><a href="qchart.html">QChart</a></li> | |
32 | <li><a href="qaxis.html">QAxis</a></li> |
|
32 | <li><a href="qabstractaxis.html">QAbstractAxis</a></li> | |
|
33 | <li><a href="qvaluesaxis.html">QValuesAxis</a></li> | |||
|
34 | <li><a href="qbarcategoriesaxis.html">QBarCategoriesAxis</a></li> | |||
|
35 | <li><a href="qintervalaxis.html">QIntervalAxis</a></li> | |||
33 | <li><a href="qaxiscategories.html">QAxisCategories</a></li> |
|
36 | <li><a href="qaxiscategories.html">QAxisCategories</a></li> | |
34 | <li><a href="qchartview.html">QChartView</a></li> |
|
37 | <li><a href="qchartview.html">QChartView</a></li> | |
35 | <li><a href="qlegend.html">QLegend</a></li> |
|
38 | <li><a href="qlegend.html">QLegend</a></li> |
@@ -26,6 +26,71 | |||||
26 | #include <QDebug> |
|
26 | #include <QDebug> | |
27 |
|
27 | |||
28 | QTCOMMERCIALCHART_BEGIN_NAMESPACE |
|
28 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | |
|
29 | /*! | |||
|
30 | \class QBarCategoriesAxis | |||
|
31 | \brief The QBarCategoriesAxis class is used for manipulating chart's axis. | |||
|
32 | \mainclass | |||
|
33 | ||||
|
34 | Axis can be setup to show axis line with tick marks, grid lines and shades. | |||
|
35 | */ | |||
|
36 | ||||
|
37 | /*! | |||
|
38 | \qmlclass Axis QBarCategoriesAxis | |||
|
39 | \brief The Axis element is used for manipulating chart's axes. | |||
|
40 | ||||
|
41 | Axis can be setup to show axis line with tick marks, grid lines and shades. | |||
|
42 | ||||
|
43 | To access Axes you can use ChartView API. For example: | |||
|
44 | \code | |||
|
45 | ChartView { | |||
|
46 | axisX.min: "Feb" | |||
|
47 | axisX.max: "Jun" | |||
|
48 | // Add a few series... | |||
|
49 | } | |||
|
50 | \endcode | |||
|
51 | */ | |||
|
52 | ||||
|
53 | /*! | |||
|
54 | \property QBarCategoriesAxis::categories | |||
|
55 | Defines the categories of axis | |||
|
56 | */ | |||
|
57 | /*! | |||
|
58 | \qmlproperty QStringList Axis::categories | |||
|
59 | Defines the categories of axis | |||
|
60 | */ | |||
|
61 | ||||
|
62 | /*! | |||
|
63 | \property QBarCategoriesAxis::min | |||
|
64 | Defines the minimum value on the axis. | |||
|
65 | */ | |||
|
66 | /*! | |||
|
67 | \qmlproperty real Axis::min | |||
|
68 | Defines the minimum value on the axis. | |||
|
69 | */ | |||
|
70 | ||||
|
71 | /*! | |||
|
72 | \property QBarCategoriesAxis::max | |||
|
73 | Defines the maximum value on the axis. | |||
|
74 | */ | |||
|
75 | /*! | |||
|
76 | \qmlproperty real Axis::max | |||
|
77 | Defines the maximum value on the axis. | |||
|
78 | */ | |||
|
79 | ||||
|
80 | /*! | |||
|
81 | \fn void QBarCategoriesAxis::minChanged(const QString &min) | |||
|
82 | Axis emits signal when \a min of axis has changed. | |||
|
83 | */ | |||
|
84 | ||||
|
85 | /*! | |||
|
86 | \fn void QBarCategoriesAxis::maxChanged(const QString &max) | |||
|
87 | Axis emits signal when \a max of axis has changed. | |||
|
88 | */ | |||
|
89 | ||||
|
90 | /*! | |||
|
91 | \fn void QBarCategoriesAxis::rangeChanged(const QString &min, const QString &max) | |||
|
92 | Axis emits signal when \a min or \a max of axis has changed. | |||
|
93 | */ | |||
29 |
|
94 | |||
30 | QBarCategoriesAxis::QBarCategoriesAxis(QObject *parent): |
|
95 | QBarCategoriesAxis::QBarCategoriesAxis(QObject *parent): | |
31 | QAbstractAxis(*new QBarCategoriesAxisPrivate(this),parent) |
|
96 | QAbstractAxis(*new QBarCategoriesAxisPrivate(this),parent) |
@@ -26,6 +26,26 | |||||
26 | #include <QDebug> |
|
26 | #include <QDebug> | |
27 |
|
27 | |||
28 | QTCOMMERCIALCHART_BEGIN_NAMESPACE |
|
28 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | |
|
29 | /*! | |||
|
30 | \class QIntervalAxis | |||
|
31 | \brief The QIntervalAxis class is used for manipulating chart's axis. | |||
|
32 | \mainclass | |||
|
33 | ||||
|
34 | Axis can be setup to show axis line with tick marks, grid lines and shades. | |||
|
35 | */ | |||
|
36 | ||||
|
37 | /*! | |||
|
38 | \qmlclass Axis QIntervalAxis | |||
|
39 | \brief The Axis element is used for manipulating chart's axes. | |||
|
40 | ||||
|
41 | Axis can be setup to show axis line with tick marks, grid lines and shades. | |||
|
42 | ||||
|
43 | To access Axes you can use ChartView API. For example: | |||
|
44 | \code | |||
|
45 | // TODO :) | |||
|
46 | \endcode | |||
|
47 | */ | |||
|
48 | ||||
29 |
|
49 | |||
30 | QIntervalAxis::QIntervalAxis(QObject *parent): |
|
50 | QIntervalAxis::QIntervalAxis(QObject *parent): | |
31 | QValuesAxis(*new QIntervalAxisPrivate(this),parent) |
|
51 | QValuesAxis(*new QIntervalAxisPrivate(this),parent) |
General Comments 0
You need to be logged in to leave comments.
Login now