##// END OF EJS Templates
Docs fixes
Marek Rosa -
r1657:35717e93d7e0
parent child
Show More
@@ -253,6 +253,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
253 */
253 */
254
254
255 /*!
255 /*!
256 \internal
256 Constructs new axis object which is a child of \a parent. Ownership is taken by
257 Constructs new axis object which is a child of \a parent. Ownership is taken by
257 QChart when axis added.
258 QChart when axis added.
258 */
259 */
@@ -82,6 +82,11 QTCOMMERCIALCHART_BEGIN_NAMESPACE
82 Defines the maximum value on the axis.
82 Defines the maximum value on the axis.
83 */
83 */
84
84
85
86 /*!
87 \fn void QBarCategoriesAxis::categoriesChanged()
88 Axis emits signal when the categories of the axis has changed.
89 */
85 /*!
90 /*!
86 \fn void QBarCategoriesAxis::minChanged(const QString &min)
91 \fn void QBarCategoriesAxis::minChanged(const QString &min)
87 Axis emits signal when \a min of axis has changed.
92 Axis emits signal when \a min of axis has changed.
@@ -152,10 +152,10 QChart* QAbstractSeries::chart() const
152 return d_ptr->m_chart;
152 return d_ptr->m_chart;
153 }
153 }
154
154
155 void QAbstractSeries::adjustView()
155 //void QAbstractSeries::adjustView()
156 {
156 //{
157 //TODO:
157 // //TODO:
158 }
158 //}
159
159
160 /*!
160 /*!
161 \brief Sets the visibility of the series to true
161 \brief Sets the visibility of the series to true
@@ -64,7 +64,6 public:
64 bool isVisible() const;
64 bool isVisible() const;
65 QChart* chart() const;
65 QChart* chart() const;
66
66
67 void adjustView();
68 void show();
67 void show();
69 void hide();
68 void hide();
70
69
@@ -379,15 +379,27 QRectF QChart::margins() const
379 return d_ptr->m_presenter->margins();
379 return d_ptr->m_presenter->margins();
380 }
380 }
381
381
382 /*!
383 Returns the the rect within which the drawing of the chart is done.
384 It does not include the area defines by margins.
385 */
382 QRectF QChart::plotArea() const
386 QRectF QChart::plotArea() const
383 {
387 {
384 return d_ptr->m_presenter->geometry();
388 return d_ptr->m_presenter->geometry();
385 }
389 }
386
390
391 ///*!
392 // TODO: Dummy.
393 // Adjest the ranges of the axes so that all the data of the specified \a series is visible
394 // */
395 //void QChart::adjustViewToSeries(QAbstractSeries* series)
396 //{
397 // //
398 //}
399
387 /*!
400 /*!
388 Sets animation \a options for the chart
401 Sets animation \a options for the chart
389 */
402 */
390
391 void QChart::setAnimationOptions(AnimationOptions options)
403 void QChart::setAnimationOptions(AnimationOptions options)
392 {
404 {
393 d_ptr->m_presenter->setAnimationOptions(options);
405 d_ptr->m_presenter->setAnimationOptions(options);
@@ -435,7 +447,9 QList<QAbstractSeries*> QChart::series() const
435 {
447 {
436 return d_ptr->m_dataset->series();
448 return d_ptr->m_dataset->series();
437 }
449 }
438
450 /*!
451 Sets the minimum \a margins between the plot area (axes) and the edge of the chart widget.
452 */
439 void QChart::setMarginsMinimum(const QRectF& margins)
453 void QChart::setMarginsMinimum(const QRectF& margins)
440 {
454 {
441 d_ptr->m_presenter->setMarginsMinimum(margins);
455 d_ptr->m_presenter->setMarginsMinimum(margins);
@@ -111,8 +111,6 public:
111 void zoom(qreal factor);
111 void zoom(qreal factor);
112 void scroll(qreal dx, qreal dy);
112 void scroll(qreal dx, qreal dy);
113
113
114 void adjustViewToSeries(QAbstractSeries* series = 0);
115
116 QLegend* legend() const;
114 QLegend* legend() const;
117
115
118 void setMarginsMinimum(const QRectF& margins);
116 void setMarginsMinimum(const QRectF& margins);
General Comments 0
You need to be logged in to leave comments. Login now