IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QBarDataItem Class

The QBarDataItem class provides a container for resolved data to be added to bar graphs.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QBarDataItem Class

  • Header: QBarDataItem

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Graphs)

    target_link_libraries(mytarget PRIVATE Qt6::Graphs)

  • qmake: QT += graphs

Detailed Description

A bar data item holds the data for a single rendered bar in a graph. Bar data proxies parse data into QBarDataItem instances for bar graphs.

See Also

Member Function Documentation

 

[constexpr] QBarDataItem::QBarDataItem()

Constructs a bar data item.

[constexpr] QBarDataItem::QBarDataItem(float value)

Constructs a bar data item with the value value.

[constexpr] QBarDataItem::QBarDataItem(float value, float angle)

Constructs a bar data item with the value value and angle angle.

QBarDataItem::QBarDataItem(const QBarDataItem &other)

Constructs a copy of other.

QBarDataItem::~QBarDataItem()

Deletes a bar data item.

[constexpr] float QBarDataItem::rotation() const

Returns the rotation angle in degrees for this data item.

See Also

See also setRotation()

[constexpr] void QBarDataItem::setRotation(float angle)

Sets the rotation angle angle in degrees for this data item.

See Also

See also rotation()

[constexpr] void QBarDataItem::setValue(float val)

Sets the value val to this data item.

See Also

See also value()

[constexpr] float QBarDataItem::value() const

Returns the value of this data item.

See Also

See also setValue()

QBarDataItem &QBarDataItem::operator=(const QBarDataItem &other)

Assigns a copy of other to this object.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+