ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
QCPBarData Class Reference

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

#include <qcustomplot.h>

Public Member Functions

 QCPBarData ()
 
 QCPBarData (double key, double 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

Constructor & Destructor Documentation

◆ QCPBarData() [1/2]

QCPBarData::QCPBarData ( )

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

◆ QCPBarData() [2/2]

QCPBarData::QCPBarData ( double  key,
double  value 
)

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

Member Data Documentation

◆ key

double QCPBarData::key

◆ value

double QCPBarData::value

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