23 #ifndef KDCHART_STOCK_DIAGRAM_H 24 #define KDCHART_STOCK_DIAGRAM_H 52 void setType(
Type type );
67 void setLowHighLinePen(
const QPen &pen );
68 QPen lowHighLinePen()
const;
70 void setLowHighLinePen(
int column,
const QPen &pen );
71 QPen lowHighLinePen(
int column )
const;
73 void setUpTrendCandlestickBrush(
const QBrush &brush );
74 QBrush upTrendCandlestickBrush()
const;
76 void setDownTrendCandlestickBrush(
const QBrush &brush );
77 QBrush downTrendCandlestickBrush()
const;
79 void setUpTrendCandlestickBrush(
int column,
const QBrush &brush );
80 QBrush upTrendCandlestickBrush(
int column )
const;
82 void setDownTrendCandlestickBrush(
int column,
const QBrush &brush );
83 QBrush downTrendCandlestickBrush(
int column )
const;
85 void setUpTrendCandlestickPen(
const QPen &pen );
86 QPen upTrendCandlestickPen()
const;
88 void setDownTrendCandlestickPen(
const QPen &pen );
89 QPen downTrendCandlestickPen()
const;
91 void setUpTrendCandlestickPen(
int column,
const QPen &pen );
92 QPen upTrendCandlestickPen(
int column )
const;
94 void setDownTrendCandlestickPen(
int column,
const QPen &pen );
95 QPen downTrendCandlestickPen(
int column )
const;
97 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE) 98 virtual const int numberOfAbscissaSegments()
const;
99 virtual const int numberOfOrdinateSegments()
const;
101 int numberOfAbscissaSegments()
const override;
102 int numberOfOrdinateSegments()
const override;
107 void resize(
const QSizeF &size )
override;
109 qreal threeDItemDepth(
int column )
const override;
110 qreal threeDItemDepth(
const QModelIndex &index )
const override;
118 #endif // KDCHART_STOCK_DIAGRAM_H
Base class for diagrams based on a cartesian coordianate system.
Stores information about painting diagrams.
A set of 3D bar attributes.
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Cartesian coordinate plane.
Attributes to customize the appearance of a column in a stock chart.