diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2016-12-23 13:01:04 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2017-01-05 05:45:55 +0000 |
commit | a9f99c07082399d792bd92fd435a503fbc1f875f (patch) | |
tree | 72d98d5f4288f29e9cdc9ce42f42526f7a6beb06 | |
parent | 225f3fd89499a5387e1ecaaa29c04bd8a2467042 (diff) |
Doc: Add missing method and signal for ValueAxis type
Task-number: QTBUG-57787
Change-Id: I3e7f7de0a3635632f7ba6485ec9ee74d402c7f52
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | src/charts/axis/valueaxis/qvalueaxis.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/charts/axis/valueaxis/qvalueaxis.cpp b/src/charts/axis/valueaxis/qvalueaxis.cpp index d650d3ba..da8d7713 100644 --- a/src/charts/axis/valueaxis/qvalueaxis.cpp +++ b/src/charts/axis/valueaxis/qvalueaxis.cpp @@ -211,6 +211,13 @@ QT_CHARTS_BEGIN_NAMESPACE */ /*! + \qmlsignal ValueAxis::rangeChanged(string min, string max) + This signal is emitted when \a min or \a max value of the axis changes. + + The corresponding signal handler is \c onRangeChanged. +*/ + +/*! \fn void QValueAxis::labelFormatChanged(const QString &format) This signal is emitted when the \a format of axis labels changes. */ @@ -333,6 +340,14 @@ QAbstractAxis::AxisType QValueAxis::type() const } /*! + \qmlmethod ValueAxis::applyNiceNumbers() + Modifies the current range and number of tick marks on the axis to look + \e nice. The algorithm considers numbers that can be expressed as a form of + 1*10^n, 2* 10^n, or 5*10^n to be nice numbers. These numbers are used for + setting spacing for the tick marks. +*/ + +/*! Modifies the current range and number of tick marks on the axis to look \e nice. The algorithm considers numbers that can be expressed as a form of 1*10^n, 2* 10^n, or 5*10^n to be nice numbers. These numbers are used for setting spacing for the tick marks. |