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

Definition at line 3398 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 19434 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 19439 of file qcustomplot.cpp.

Member Data Documentation

◆ key

double QCPBarData::key

Definition at line 3402 of file qcustomplot.h.

Referenced by QCPBars::addData(), and QCPBars::setData().

◆ value

double QCPBarData::value

Definition at line 3402 of file qcustomplot.h.

Referenced by QCPBars::addData(), and QCPBars::setData().


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