iCub-main
Loading...
Searching...
No Matches
QCPBarData Class Reference

Holds the data of one single data point (one bar) for QCPBars. More...

#include <qcustomplot.h>

Public Member Functions

 QCPBarData ()
 Constructs a bar data point with key and value set to zero.
 QCPBarData (double key, double value)
 Constructs a bar data point with the specified key and value.

Public Attributes

double key
double value

Detailed Description

Holds the data of one single data point (one bar) for QCPBars.

The container for storing multiple data points is QCPBarDataMap.

The stored data is:

  • key: coordinate on the key axis of this bar
  • value: height coordinate on the value axis of this bar
See also
QCPBarDataaMap

Definition at line 2711 of file qcustomplot.h.

Constructor & Destructor Documentation

◆ QCPBarData() [1/2]

QCPBarData::QCPBarData ( )

Constructs a bar data point with key and value set to zero.

Definition at line 17407 of file qcustomplot.cpp.

◆ QCPBarData() [2/2]

QCPBarData::QCPBarData ( double key,
double value )

Constructs a bar data point with the specified key and value.

Definition at line 17416 of file qcustomplot.cpp.

Member Data Documentation

◆ key

double QCPBarData::key

Definition at line 2716 of file qcustomplot.h.

◆ value

double QCPBarData::value

Definition at line 2716 of file qcustomplot.h.


The documentation for this class was generated from the following files: