Vespucci  1.0.0
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 2852 of file qcustomplot.h.

Constructor & Destructor Documentation

QCPBarData::QCPBarData ( )

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

Definition at line 18844 of file qcustomplot.cpp.

QCPBarData::QCPBarData ( double  key,
double  value 
)

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

Definition at line 18853 of file qcustomplot.cpp.

Member Data Documentation

double QCPBarData::key

Definition at line 2857 of file qcustomplot.h.

double QCPBarData::value

Definition at line 2857 of file qcustomplot.h.


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