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.

This class was introduced in QtDataVisualization 1.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QBarDataItem Class▲

  • Header: QBarDataItem

  • Since: QtDataVisualization 1.0

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 visualization.

See Also▲

Member Function Documentation▲

 

QBarDataItem::QBarDataItem()▲

Constructs a bar data item.

QBarDataItem::QBarDataItem(float value)▲

Constructs a bar data item with the value value.

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.

float QBarDataItem::rotation() const▲

Returns the rotation angle in degrees for this data item.

See Also▲

See also setRotation()

void QBarDataItem::setRotation(float angle)▲

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

See Also▲

See also rotation()

void QBarDataItem::setValue(float val)▲

Sets the value val to this data item.

See Also▲

See also value()

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+