QBarLegendMarker Class | Qt Charts 5.13.0

Qt 5.13 | Qt Charts | C++ Classes | QBarLegendMarker

Qt Charts | Commercial or GPLv3

# QBarLegendMarker Class

The QBarLegendMarker class is a legend marker for a bar series. More...

Header: | #include <QBarLegendMarker>
Inherits: | QLegendMarker

- List of all members, including inherited members
- Obsolete members

## Public Functions

virtual | ~QBarLegendMarker()
QBarSet * | barset()

## Reimplemented Public Functions

virtual QAbstractBarSeries * | series() override
virtual QLegendMarker::LegendMarkerType | type() override

- 16 public functions inherited from QLegendMarker
- 30 public functions inherited from QObject

## Related Non-Members

typedef | QObjectList
QList<T> | qFindChildren(const QObject *obj, const QRegExp &regExp)
T | qobject_cast(QObject *object)
T | qobject_cast(const QObject *object)

## Macros

| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
| Q_CLASSINFO(Name, Value)
| Q_DISABLE_COPY(Class)
| Q_DISABLE_COPY_MOVE(Class)
| Q_DISABLE_MOVE(Class)
| Q_EMIT
| Q_ENUM(...)
| Q_ENUM_NS(...)
| Q_FLAG(...)
| Q_FLAG_NS(...)
| Q_GADGET
| Q_INTERFACES(...)
| Q_INVOKABLE
| Q_NAMESPACE
| Q_OBJECT
| Q_PROPERTY(...)
| Q_REVISION
| Q_SET_OBJECT_NAME(Object)
| Q_SIGNAL
| Q_SIGNALS
| Q_SLOT
| Q_SLOTS

### Additional Inherited Members

- 7 properties inherited from QLegendMarker
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 9 signals inherited from QLegendMarker
- 2 signals inherited from QObject
- 9 static public members inherited from QObject
- 9 protected functions inherited from QObject

## Detailed Description

A bar legend marker is related to QAbstractBarSeries derived classes. With a bar series, each marker is related to one QBarSet.

See also QLegend, QAbstractBarSeries, and QBarSet.

## Member Function Documentation

### `[virtual]` QBarLegendMarker::~QBarLegendMarker()

Removes the legend marker for a bar set.

### QBarSet *QBarLegendMarker::barset()

Returns the bar set related to the marker.

### `[override virtual]` QAbstractBarSeries *QBarLegendMarker::series()

Reimplements: QLegendMarker::series().

### `[override virtual]` QLegendMarker::LegendMarkerType QBarLegendMarker::type()

Reimplements: QLegendMarker::type().