Vespucci  1.0.0
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

Definition at line 3174 of file qcustomplot.h.

Constructor & Destructor Documentation

QCPFinancialData::QCPFinancialData ( )

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

Definition at line 20979 of file qcustomplot.cpp.

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

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

Definition at line 20991 of file qcustomplot.cpp.

Member Data Documentation

double QCPFinancialData::close

Definition at line 3179 of file qcustomplot.h.

double QCPFinancialData::high

Definition at line 3179 of file qcustomplot.h.

double QCPFinancialData::key

Definition at line 3179 of file qcustomplot.h.

double QCPFinancialData::low

Definition at line 3179 of file qcustomplot.h.

double QCPFinancialData::open

Definition at line 3179 of file qcustomplot.h.


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