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

Holds the data of one single data point for QCPFinancial. More...

#include <qcustomplot.h>

Public Member Functions

 QCPFinancialData ()
 
 QCPFinancialData (double key, double open, double high, double low, double close)
 

Public Attributes

double key
 
double open
 
double high
 
double low
 
double close
 

Detailed Description

Holds the data of one single data point for QCPFinancial.

The container for storing multiple data points is QCPFinancialDataMap.

The stored data is:

  • key: coordinate on the key axis of this data point
  • open: The opening value at the data point
  • high: The high/maximum value at the data point
  • low: The low/minimum value at the data point
  • close: The closing value at the data point
See also
QCPFinancialDataMap

Constructor & Destructor Documentation

◆ QCPFinancialData() [1/2]

QCPFinancialData::QCPFinancialData ( )

Constructs a data point with key and all values set to zero.

◆ QCPFinancialData() [2/2]

QCPFinancialData::QCPFinancialData ( double  key,
double  open,
double  high,
double  low,
double  close 
)

Constructs a data point with the specified key and OHLC values.

Member Data Documentation

◆ close

double QCPFinancialData::close

◆ high

double QCPFinancialData::high

◆ key

double QCPFinancialData::key

◆ low

double QCPFinancialData::low

◆ open

double QCPFinancialData::open

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