 |
KD Chart 2
[rev.2.7]
|
Go to the documentation of this file.
23 #ifndef KDCHART_STOCK_DIAGRAM_H
24 #define KDCHART_STOCK_DIAGRAM_H
97 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
101 int numberOfAbscissaSegments()
const override;
102 int numberOfOrdinateSegments()
const override;
107 void resize(
const QSizeF &size )
override;
118 #endif // KDCHART_STOCK_DIAGRAM_H
void setThreeDBarAttributes(int column, const ThreeDBarAttributes &attr)
void setDownTrendCandlestickBrush(const QBrush &brush)
QPen lowHighLinePen(int column) const
ThreeDBarAttributes threeDBarAttributes(int column) const
QPen downTrendCandlestickPen() const
void setLowHighLinePen(const QPen &pen)
Attributes to customize the appearance of a column in a stock chart.
void setDownTrendCandlestickPen(int column, const QPen &pen)
void setUpTrendCandlestickBrush(const QBrush &brush)
void setStockBarAttributes(int column, const StockBarAttributes &attr)
QBrush upTrendCandlestickBrush(int column) const
void setUpTrendCandlestickPen(const QPen &pen)
void setDownTrendCandlestickBrush(int column, const QBrush &brush)
void setLowHighLinePen(int column, const QPen &pen)
Stores information about painting diagrams.
void setThreeDBarAttributes(const ThreeDBarAttributes &attr)
virtual const int numberOfAbscissaSegments() const
QBrush downTrendCandlestickBrush(int column) const
void paint(PaintContext *paintContext) override
Draw the diagram contents to the rectangle and painter, that are passed in as part of the paint conte...
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
qreal threeDItemDepth(int column) const override
QPen lowHighLinePen() const
Base class for diagrams based on a cartesian coordianate system.
void resize(const QSizeF &size) override
Called by the widget's sizeEvent.
QPen downTrendCandlestickPen(int column) const
virtual const int numberOfOrdinateSegments() const
ThreeDBarAttributes threeDBarAttributes() const
const QPair< QPointF, QPointF > calculateDataBoundaries() const override
QPen upTrendCandlestickPen() const
qreal threeDItemDepth(const QModelIndex &index) const override
QPen upTrendCandlestickPen(int column) const
StockDiagram(QWidget *parent=0, CartesianCoordinatePlane *plane=0)
A set of 3D bar attributes.
void setUpTrendCandlestickPen(int column, const QPen &pen)
QBrush downTrendCandlestickBrush() const
QBrush upTrendCandlestickBrush() const
Cartesian coordinate plane.
StockBarAttributes stockBarAttributes(int column) const
void setUpTrendCandlestickBrush(int column, const QBrush &brush)
void setDownTrendCandlestickPen(const QPen &pen)
void setStockBarAttributes(const StockBarAttributes &attr)
StockBarAttributes stockBarAttributes() const