QCPFinancialData Class Reference
Author: Emanuel Eichhammer

· · · ·
Public Functions | Public Members
QCPFinancialData Class Reference

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

## Public Functions
| QCPFinancialData ()
| QCPFinancialData (double key, double open, double high, double low, double close)

## Public Members
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::QCPFinancialData | ( |  | ) |

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

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

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

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

- src/plottables/plottable-financial.h
- src/plottables/plottable-financial.cpp