##// END OF EJS Templates
Various docs fixes
Marek Rosa -
r1638:039a92a11dcb
parent child
Show More
@@ -100,10 +100,16 QBarCategoriesAxis::QBarCategoriesAxis(QObject *parent):
100 {
100 {
101 }
101 }
102
102
103 /*!
104 Destroys the object
105 */
103 QBarCategoriesAxis::~QBarCategoriesAxis()
106 QBarCategoriesAxis::~QBarCategoriesAxis()
104 {
107 {
105 }
108 }
106
109
110 /*!
111 \internal
112 */
107 QBarCategoriesAxis::QBarCategoriesAxis(QBarCategoriesAxisPrivate &d,QObject *parent):QAbstractAxis(d,parent)
113 QBarCategoriesAxis::QBarCategoriesAxis(QBarCategoriesAxisPrivate &d,QObject *parent):QAbstractAxis(d,parent)
108 {
114 {
109
115
@@ -54,10 +54,16 QIntervalAxis::QIntervalAxis(QObject *parent):
54 {
54 {
55 }
55 }
56
56
57 /*!
58 Destroys the object
59 */
57 QIntervalAxis::~QIntervalAxis()
60 QIntervalAxis::~QIntervalAxis()
58 {
61 {
59 }
62 }
60
63
64 /*!
65 \internal
66 */
61 QIntervalAxis::QIntervalAxis(QIntervalAxisPrivate &d,QObject *parent):QValuesAxis(d,parent)
67 QIntervalAxis::QIntervalAxis(QIntervalAxisPrivate &d,QObject *parent):QValuesAxis(d,parent)
62 {
68 {
63
69
@@ -114,11 +114,17 QValuesAxis::QValuesAxis(QObject *parent) :
114
114
115 }
115 }
116
116
117 /*!
118 \internal
119 */
117 QValuesAxis::QValuesAxis(QValuesAxisPrivate &d,QObject *parent) : QAbstractAxis(d,parent)
120 QValuesAxis::QValuesAxis(QValuesAxisPrivate &d,QObject *parent) : QAbstractAxis(d,parent)
118 {
121 {
119
122
120 }
123 }
121
124
125 /*!
126 Destroys the object
127 */
122 QValuesAxis::~QValuesAxis()
128 QValuesAxis::~QValuesAxis()
123 {
129 {
124
130
@@ -43,7 +43,7 protected:
43 public:
43 public:
44 virtual ~QAbstractBarSeries();
44 virtual ~QAbstractBarSeries();
45
45
46 virtual QAbstractSeries::SeriesType type() const = 0;
46 // virtual QAbstractSeries::SeriesType type() const = 0;
47
47
48 void setBarWidth(qreal width);
48 void setBarWidth(qreal width);
49 qreal barWidth() const;
49 qreal barWidth() const;
@@ -157,11 +157,21 void QAbstractSeries::adjustView()
157 //TODO:
157 //TODO:
158 }
158 }
159
159
160 /*!
161 \brief Sets the visibility of the series to true
162
163 \sa setVisible(), isVisible()
164 */
160 void QAbstractSeries::show()
165 void QAbstractSeries::show()
161 {
166 {
162 setVisible(true);
167 setVisible(true);
163 }
168 }
164
169
170 /*!
171 \brief Sets the visibility of the series to false
172
173 \sa setVisible(), isVisible()
174 */
165 void QAbstractSeries::hide()
175 void QAbstractSeries::hide()
166 {
176 {
167 setVisible(false);
177 setVisible(false);
@@ -307,6 +307,7 void QChart::zoom(qreal factor)
307
307
308 /*!
308 /*!
309 Returns the pointer to the x axis object of the chart asociated with the specified \a series
309 Returns the pointer to the x axis object of the chart asociated with the specified \a series
310 If no series is provided then pointer to currently visible axis is provided
310 */
311 */
311 QAbstractAxis* QChart::axisX(QAbstractSeries* series) const
312 QAbstractAxis* QChart::axisX(QAbstractSeries* series) const
312 {
313 {
@@ -315,6 +316,7 QAbstractAxis* QChart::axisX(QAbstractSeries* series) const
315
316
316 /*!
317 /*!
317 Returns the pointer to the y axis object of the chart asociated with the specified \a series
318 Returns the pointer to the y axis object of the chart asociated with the specified \a series
319 If no series is provided then pointer to currently visible axis is provided
318 */
320 */
319 QAbstractAxis* QChart::axisY(QAbstractSeries *series) const
321 QAbstractAxis* QChart::axisY(QAbstractSeries *series) const
320 {
322 {
@@ -325,8 +327,26 QAbstractAxis* QChart::axisY(QAbstractSeries *series) const
325 NOTICE: This function has to be called after series has been added to the chart if no customized axes are set to the chart. Otherwise axisX(), axisY() calls return NULL.
327 NOTICE: This function has to be called after series has been added to the chart if no customized axes are set to the chart. Otherwise axisX(), axisY() calls return NULL.
326
328
327 Creates the axes for the chart based on the series that has already been added to the chart.
329 Creates the axes for the chart based on the series that has already been added to the chart.
328 If QXYSeries derived series has been added to the chart then QValuesAxes are created as X and Y axes for the series.
330
329 If QBarSeries or series types derived from it has been added then QBarCategoriesAxis is created as X axis and QValueAxis as Y axis.
331 \table
332 \header
333 \o Series type
334 \o X-axis
335 \o Y-axis
336 \row
337 \o QXYSeries
338 \o QValuesAxis
339 \o QValuesAxis
340 \row
341 \o QBarSeries
342 \o QBarCategoriesAxis
343 \o QValuesAxis
344 \row
345 \o QPieSeries
346 \o None
347 \o None
348 \endtable
349
330 If there are several QXYSeries derived series added to the chart and no other series type has been added then only one pair of axes is created.
350 If there are several QXYSeries derived series added to the chart and no other series type has been added then only one pair of axes is created.
331 If there are sevaral series added of different types then each series gets its own axes pair.
351 If there are sevaral series added of different types then each series gets its own axes pair.
332
352
General Comments 0
You need to be logged in to leave comments. Login now