#include "KDChartStockDiagram_p.h"
Go to the source code of this file.
Functions | |
int | StockDiagram::Private::closeValueColumn () const |
Returns the column of the close value in the model. | |
void | StockDiagram::Private::drawCandlestick (const CartesianDiagramDataCompressor::DataPoint &open, const CartesianDiagramDataCompressor::DataPoint &high, const CartesianDiagramDataCompressor::DataPoint &low, const CartesianDiagramDataCompressor::DataPoint &close, PaintContext *context) |
Draws a line connecting the low and the high value of an OHLC chart. | |
void | StockDiagram::Private::drawLine (int col, const QPointF &point1, const QPointF &point2, PaintContext *context) |
Draws a line connecting two points. | |
void | StockDiagram::Private::drawOHLCBar (const CartesianDiagramDataCompressor::DataPoint &open, const CartesianDiagramDataCompressor::DataPoint &high, const CartesianDiagramDataCompressor::DataPoint &low, const CartesianDiagramDataCompressor::DataPoint &close, PaintContext *context) |
int | StockDiagram::Private::highValueColumn () const |
Returns the column of the high value in the model. | |
int | StockDiagram::Private::lowValueColumn () const |
Returns the column of the low value in the model. | |
int | StockDiagram::Private::openValueColumn () const |
Returns the column of the open value in the model. | |
StockDiagram::Private::Private (const Private &r) | |
StockDiagram::Private::Private () | |
QRectF | StockDiagram::Private::projectCandlestick (PaintContext *context, const QPointF &open, const QPointF &close, qreal width) const |
Projects a candlestick onto the coordinate plane. | |
QPointF | StockDiagram::Private::projectPoint (PaintContext *context, const QPointF &point) const |
Projects a point onto the coordinate plane. | |
StockDiagram::Private::~Private () |