| 1 | // Copyright (C) 2023 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | /*! |
| 5 | * \class QBarDataItem |
| 6 | * \inmodule QtGraphs |
| 7 | * \ingroup graphs_3D |
| 8 | * \brief The QBarDataItem class provides a container for resolved data to be |
| 9 | * added to bar graphs. |
| 10 | * |
| 11 | * A bar data item holds the data for a single rendered bar in a graph. |
| 12 | * Bar data proxies parse data into QBarDataItem instances for bar graphs. |
| 13 | * |
| 14 | * \sa QBarDataProxy, {Qt Graphs C++ Classes for 3D} |
| 15 | */ |
| 16 | |
| 17 | /*! |
| 18 | * \fn constexpr QBarDataItem::QBarDataItem() noexcept |
| 19 | * Constructs a bar data item. |
| 20 | */ |
| 21 | |
| 22 | /*! |
| 23 | * \fn explicit constexpr QBarDataItem::QBarDataItem(float value) noexcept |
| 24 | * Constructs a bar data item with the value \a value. |
| 25 | */ |
| 26 | |
| 27 | /*! |
| 28 | * \fn explicit constexpr QBarDataItem::QBarDataItem(float value, float angle) noexcept |
| 29 | * Constructs a bar data item with the value \a value and angle \a angle. |
| 30 | */ |
| 31 | |
| 32 | /*! |
| 33 | * \fn void QBarDataItem::setValue(float val) |
| 34 | * Sets the value \a val to this data item. |
| 35 | */ |
| 36 | |
| 37 | /*! |
| 38 | * \fn float QBarDataItem::value() const |
| 39 | * Returns the value of this data item. |
| 40 | */ |
| 41 | |
| 42 | /*! |
| 43 | * \fn void QBarDataItem::setRotation(float angle) |
| 44 | * Sets the rotation angle \a angle in degrees for this data item. |
| 45 | */ |
| 46 | |
| 47 | /*! |
| 48 | * \fn float QBarDataItem::rotation() const |
| 49 | * Returns the rotation angle in degrees for this data item. |
| 50 | */ |
| 51 | |