##// END OF EJS Templates
qaxis doc update
Jani Honkonen -
r1350:dd78105a8d95
parent child
Show More
@@ -36,6 +36,24 QTCOMMERCIALCHART_BEGIN_NAMESPACE
36 */
36 */
37
37
38 /*!
38 /*!
39 \property QAxis::labelsVisible
40
41 Defines if axis labels are visible.
42 */
43
44 /*!
45 \property QAxis::min
46
47 Defines the minimum value on the axis.
48 */
49
50 /*!
51 \property QAxis::max
52
53 Defines the maximum value on the axis.
54 */
55
56 /*!
39 \fn bool QAxis::isAxisVisible() const
57 \fn bool QAxis::isAxisVisible() const
40 \brief Returns if axis is visible
58 \brief Returns if axis is visible
41 \sa setAxisVisible()
59 \sa setAxisVisible()
@@ -61,12 +79,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE
61 */
79 */
62
80
63 /*!
81 /*!
64 \fn bool QAxis::labelsVisible() const
65 \brief Returns if grid is visible
66 \sa setLabelsVisible()
67 */
68
69 /*!
70 \fn QPen QAxis::labelsPen() const
82 \fn QPen QAxis::labelsPen() const
71 \brief Returns the pen used to labels.
83 \brief Returns the pen used to labels.
72 \sa setLabelsPen()
84 \sa setLabelsPen()
@@ -240,9 +252,6 QPen QAxis::gridLinePen() const
240 return d_ptr->m_gridLinePen;
252 return d_ptr->m_gridLinePen;
241 }
253 }
242
254
243 /*!
244 Sets if axis' labels are \a visible.
245 */
246 void QAxis::setLabelsVisible(bool visible)
255 void QAxis::setLabelsVisible(bool visible)
247 {
256 {
248 if (d_ptr->m_labelsVisible != visible) {
257 if (d_ptr->m_labelsVisible != visible) {
@@ -383,9 +392,6 qreal QAxis::shadesOpacity() const
383 return d_ptr->m_shadesOpacity;
392 return d_ptr->m_shadesOpacity;
384 }
393 }
385
394
386 /*!
387 Sets \a min value on the axis.
388 */
389 void QAxis::setMin(qreal min)
395 void QAxis::setMin(qreal min)
390 {
396 {
391 setRange(min,d_ptr->m_max);
397 setRange(min,d_ptr->m_max);
@@ -396,9 +402,6 qreal QAxis::min() const
396 return d_ptr->m_min;
402 return d_ptr->m_min;
397 }
403 }
398
404
399 /*!
400 Sets \a max value on the axis.
401 */
402 void QAxis::setMax(qreal max)
405 void QAxis::setMax(qreal max)
403 {
406 {
404 setRange(d_ptr->m_min,max);
407 setRange(d_ptr->m_min,max);
General Comments 0
You need to be logged in to leave comments. Login now