File: QwtPlotTradingCurve.3

package info (click to toggle)
qwt 6.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,848 kB
  • ctags: 15,811
  • sloc: cpp: 57,382; makefile: 41
file content (688 lines) | stat: -rw-r--r-- 17,066 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
.TH "QwtPlotTradingCurve" 3 "Thu Dec 11 2014" "Version 6.1.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtPlotTradingCurve \- 
.PP
\fBQwtPlotTradingCurve\fP illustrates movements in the price of a financial instrument over time\&.  

.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_plot_tradingcurve\&.h>\fP
.PP
Inherits \fBQwtPlotSeriesItem\fP, and \fBQwtSeriesStore< QwtOHLCSample >\fP\&.
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBSymbolStyle\fP { \fBNoSymbol\fP = -1, \fBBar\fP, \fBCandleStick\fP, \fBUserSymbol\fP = 100 }"
.br
.RI "\fISymbol styles\&. \fP"
.ti -1c
.RI "enum \fBDirection\fP { \fBIncreasing\fP, \fBDecreasing\fP }"
.br
.RI "\fIDirection of a price movement\&. \fP"
.ti -1c
.RI "enum \fBPaintAttribute\fP { \fBClipSymbols\fP = 0x01 }"
.br
.ti -1c
.RI "typedef QFlags< \fBPaintAttribute\fP > \fBPaintAttributes\fP"
.br
.RI "\fIPaint attributes\&. \fP"
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQwtPlotTradingCurve\fP (const QString &\fBtitle\fP=QString::null)"
.br
.ti -1c
.RI "\fBQwtPlotTradingCurve\fP (const \fBQwtText\fP &\fBtitle\fP)"
.br
.ti -1c
.RI "virtual \fB~QwtPlotTradingCurve\fP ()"
.br
.RI "\fIDestructor\&. \fP"
.ti -1c
.RI "virtual int \fBrtti\fP () const "
.br
.ti -1c
.RI "void \fBsetPaintAttribute\fP (\fBPaintAttribute\fP, bool on=true)"
.br
.ti -1c
.RI "bool \fBtestPaintAttribute\fP (\fBPaintAttribute\fP) const "
.br
.ti -1c
.RI "void \fBsetSamples\fP (const QVector< \fBQwtOHLCSample\fP > &)"
.br
.ti -1c
.RI "void \fBsetSamples\fP (\fBQwtSeriesData\fP< \fBQwtOHLCSample\fP > *)"
.br
.ti -1c
.RI "void \fBsetSymbolStyle\fP (\fBSymbolStyle\fP style)"
.br
.ti -1c
.RI "\fBSymbolStyle\fP \fBsymbolStyle\fP () const "
.br
.ti -1c
.RI "void \fBsetSymbolPen\fP (const QColor &, qreal width=0\&.0, Qt::PenStyle=Qt::SolidLine)"
.br
.ti -1c
.RI "void \fBsetSymbolPen\fP (const QPen &)"
.br
.RI "\fISet the symbol pen\&. \fP"
.ti -1c
.RI "QPen \fBsymbolPen\fP () const "
.br
.ti -1c
.RI "void \fBsetSymbolBrush\fP (\fBDirection\fP, const QBrush &)"
.br
.ti -1c
.RI "QBrush \fBsymbolBrush\fP (\fBDirection\fP) const "
.br
.ti -1c
.RI "void \fBsetSymbolExtent\fP (double width)"
.br
.RI "\fISet the extent of the symbol\&. \fP"
.ti -1c
.RI "double \fBsymbolExtent\fP () const "
.br
.ti -1c
.RI "void \fBsetMinSymbolWidth\fP (double)"
.br
.ti -1c
.RI "double \fBminSymbolWidth\fP () const "
.br
.ti -1c
.RI "void \fBsetMaxSymbolWidth\fP (double)"
.br
.ti -1c
.RI "double \fBmaxSymbolWidth\fP () const "
.br
.ti -1c
.RI "virtual void \fBdrawSeries\fP (QPainter *painter, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect, int from, int to) const "
.br
.ti -1c
.RI "virtual QRectF \fBboundingRect\fP () const "
.br
.ti -1c
.RI "virtual \fBQwtGraphic\fP \fBlegendIcon\fP (int index, const QSizeF &) const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBinit\fP ()"
.br
.RI "\fIInitialize internal members\&. \fP"
.ti -1c
.RI "virtual void \fBdrawSymbols\fP (QPainter *, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect, int from, int to) const "
.br
.ti -1c
.RI "virtual void \fBdrawUserSymbol\fP (QPainter *, \fBSymbolStyle\fP, const \fBQwtOHLCSample\fP &, Qt::Orientation, bool inverted, double width) const "
.br
.RI "\fIDraw a symbol for a symbol style >= UserSymbol\&. \fP"
.ti -1c
.RI "void \fBdrawBar\fP (QPainter *painter, const \fBQwtOHLCSample\fP &, Qt::Orientation, bool inverted, double width) const "
.br
.RI "\fIDraw a bar\&. \fP"
.ti -1c
.RI "void \fBdrawCandleStick\fP (QPainter *, const \fBQwtOHLCSample\fP &, Qt::Orientation, double width) const "
.br
.RI "\fIDraw a candle stick\&. \fP"
.ti -1c
.RI "virtual double \fBscaledSymbolWidth\fP (const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect) const "
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBQwtPlotTradingCurve\fP illustrates movements in the price of a financial instrument over time\&. 

\fBQwtPlotTradingCurve\fP supports candlestick or bar ( OHLC ) charts that are used in the domain of technical analysis\&.
.PP
While the length ( height or width depending on \fBorientation()\fP ) of each symbol depends on the corresponding OHLC sample the size of the other dimension can be controlled using:
.PP
.IP "\(bu" 2
\fBsetSymbolExtent()\fP
.IP "\(bu" 2
setSymbolMinWidth()
.IP "\(bu" 2
setSymbolMaxWidth()
.PP
.PP
The extent is a size in scale coordinates, so that the symbol width is increasing when the plot is zoomed in\&. Minimum/Maximum width is in widget coordinates independent from the zoom level\&. When setting the minimum and maximum to the same value, the width of the symbol is fixed\&. 
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBQwtPlotTradingCurve::Direction\fP"

.PP
Direction of a price movement\&. 
.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fIIncreasing \fP\fP
The closing price is higher than the opening price\&. 
.TP
\fB\fIDecreasing \fP\fP
The closing price is lower than the opening price\&. 
.SS "enum \fBQwtPlotTradingCurve::PaintAttribute\fP"
Attributes to modify the drawing algorithm\&. 
.PP
\fBSee Also:\fP
.RS 4
\fBsetPaintAttribute()\fP, \fBtestPaintAttribute()\fP 
.RE
.PP

.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fIClipSymbols \fP\fP
Check if a symbol is on the plot canvas before painting it\&. 
.SS "enum \fBQwtPlotTradingCurve::SymbolStyle\fP"

.PP
Symbol styles\&. The default setting is QwtPlotSeriesItem::CandleStick\&. 
.PP
\fBSee Also:\fP
.RS 4
\fBsetSymbolStyle()\fP, \fBsymbolStyle()\fP 
.RE
.PP

.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fINoSymbol \fP\fP
Nothing is displayed\&. 
.TP
\fB\fIBar \fP\fP
A line on the chart shows the price range (the highest and lowest prices) over one unit of time, e\&.g\&. one day or one hour\&. Tick marks project from each side of the line indicating the opening and closing price\&. 
.TP
\fB\fICandleStick \fP\fP
The range between opening/closing price are displayed as a filled box\&. The fill brush depends on the direction of the price movement\&. The box is connected to the highest/lowest values by lines\&. 
.TP
\fB\fIUserSymbol \fP\fP
SymbolTypes >= UserSymbol are displayed by \fBdrawUserSymbol()\fP, that needs to be overloaded and implemented in derived curve classes\&.
.PP
\fBSee Also:\fP
.RS 4
\fBdrawUserSymbol()\fP 
.RE
.PP

.SH "Constructor & Destructor Documentation"
.PP 
.SS "QwtPlotTradingCurve::QwtPlotTradingCurve (const QString &title = \fCQString::null\fP)\fC [explicit]\fP"
Constructor 
.PP
\fBParameters:\fP
.RS 4
\fItitle\fP Title of the curve 
.RE
.PP

.SS "QwtPlotTradingCurve::QwtPlotTradingCurve (const \fBQwtText\fP &title)\fC [explicit]\fP"
Constructor 
.PP
\fBParameters:\fP
.RS 4
\fItitle\fP Title of the curve 
.RE
.PP

.SH "Member Function Documentation"
.PP 
.SS "QRectF QwtPlotTradingCurve::boundingRect () const\fC [virtual]\fP"

.PP
\fBReturns:\fP
.RS 4
Bounding rectangle of all samples\&. For an empty series the rectangle is invalid\&. 
.RE
.PP

.PP
Reimplemented from \fBQwtPlotSeriesItem\fP\&.
.SS "void QwtPlotTradingCurve::drawBar (QPainter *painter, const \fBQwtOHLCSample\fP &sample, Qt::Orientationorientation, boolinverted, doublewidth) const\fC [protected]\fP"

.PP
Draw a bar\&. 
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Qt painter, initialized with pen/brush 
.br
\fIsample\fP Sample, already translated into paint device coordinates 
.br
\fIorientation\fP Vertical or horizontal 
.br
\fIinverted\fP When inverted is false the open tick is painted to the left/top, otherwise it is painted right/bottom\&. The close tick is painted in the opposite direction of the open tick\&. painted in the opposite d opposite direction\&. 
.br
\fIwidth\fP Width or height of the candle, depending on the orientation
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBBar\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::drawCandleStick (QPainter *painter, const \fBQwtOHLCSample\fP &sample, Qt::Orientationorientation, doublewidth) const\fC [protected]\fP"

.PP
Draw a candle stick\&. 
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Qt painter, initialized with pen/brush 
.br
\fIsample\fP Samples already translated into paint device coordinates 
.br
\fIorientation\fP Vertical or horizontal 
.br
\fIwidth\fP Width or height of the candle, depending on the orientation
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBCandleStick\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::drawSeries (QPainter *painter, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect, intfrom, intto) const\fC [virtual]\fP"
Draw an interval of the curve
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter 
.br
\fIxMap\fP Maps x-values into pixel coordinates\&. 
.br
\fIyMap\fP Maps y-values into pixel coordinates\&. 
.br
\fIcanvasRect\fP Contents rectangle of the canvas 
.br
\fIfrom\fP Index of the first point to be painted 
.br
\fIto\fP Index of the last point to be painted\&. If to < 0 the curve will be painted to its last point\&.
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBdrawSymbols()\fP 
.RE
.PP

.PP
Implements \fBQwtPlotSeriesItem\fP\&.
.SS "void QwtPlotTradingCurve::drawSymbols (QPainter *painter, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect, intfrom, intto) const\fC [protected]\fP, \fC [virtual]\fP"
Draw symbols
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter 
.br
\fIxMap\fP x map 
.br
\fIyMap\fP y map 
.br
\fIcanvasRect\fP Contents rectangle of the canvas 
.br
\fIfrom\fP Index of the first point to be painted 
.br
\fIto\fP Index of the last point to be painted
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBdrawSeries()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::drawUserSymbol (QPainter *painter, \fBSymbolStyle\fPsymbolStyle, const \fBQwtOHLCSample\fP &sample, Qt::Orientationorientation, boolinverted, doublesymbolWidth) const\fC [protected]\fP, \fC [virtual]\fP"

.PP
Draw a symbol for a symbol style >= UserSymbol\&. The implementation does nothing and is intended to be overloaded
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Qt painter, initialized with pen/brush 
.br
\fIsymbolStyle\fP Symbol style 
.br
\fIsample\fP Samples already translated into paint device coordinates 
.br
\fIorientation\fP Vertical or horizontal 
.br
\fIinverted\fP True, when the opposite scale ( Qt::Vertical: x, Qt::Horizontal: y ) is increasing in the opposite direction as QPainter coordinates\&. 
.br
\fIsymbolWidth\fP Width of the symbol in paint device coordinates 
.RE
.PP

.SS "\fBQwtGraphic\fP QwtPlotTradingCurve::legendIcon (intindex, const QSizeF &size) const\fC [virtual]\fP"

.PP
\fBReturns:\fP
.RS 4
A rectangle filled with the color of the symbol pen
.RE
.PP
\fBParameters:\fP
.RS 4
\fIindex\fP Index of the legend entry ( usually there is only one ) 
.br
\fIsize\fP Icon size
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetLegendIconSize()\fP, \fBlegendData()\fP 
.RE
.PP

.PP
Reimplemented from \fBQwtPlotItem\fP\&.
.SS "double QwtPlotTradingCurve::maxSymbolWidth () const"

.PP
\fBReturns:\fP
.RS 4
Maximum for the symbol width 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMaxSymbolWidth()\fP, \fBminSymbolWidth()\fP, \fBsymbolExtent()\fP 
.RE
.PP

.SS "double QwtPlotTradingCurve::minSymbolWidth () const"

.PP
\fBReturns:\fP
.RS 4
Minmum for the symbol width 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMinSymbolWidth()\fP, \fBmaxSymbolWidth()\fP, \fBsymbolExtent()\fP 
.RE
.PP

.SS "int QwtPlotTradingCurve::rtti () const\fC [virtual]\fP"

.PP
\fBReturns:\fP
.RS 4
\fBQwtPlotItem::Rtti_PlotTradingCurve\fP 
.RE
.PP

.PP
Reimplemented from \fBQwtPlotItem\fP\&.
.SS "double QwtPlotTradingCurve::scaledSymbolWidth (const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRectF &canvasRect) const\fC [protected]\fP, \fC [virtual]\fP"
Calculate the symbol width in paint coordinates
.PP
The width is calculated by scaling the symbol extent into paint device coordinates bounded by the minimum/maximum symbol width\&.
.PP
\fBParameters:\fP
.RS 4
\fIxMap\fP Maps x-values into pixel coordinates\&. 
.br
\fIyMap\fP Maps y-values into pixel coordinates\&. 
.br
\fIcanvasRect\fP Contents rectangle of the canvas
.RE
.PP
\fBReturns:\fP
.RS 4
Symbol width in paint coordinates
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsymbolExtent()\fP, \fBminSymbolWidth()\fP, \fBmaxSymbolWidth()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setMaxSymbolWidth (doublewidth)"
Set a maximum for the symbol width
.PP
A value <= 0\&.0 means an unlimited width
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP Width in paint device coordinates 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBmaxSymbolWidth()\fP, \fBsetMinSymbolWidth()\fP, \fBsetSymbolExtent()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setMinSymbolWidth (doublewidth)"
Set a minimum for the symbol width
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP Width in paint device coordinates 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBminSymbolWidth()\fP, \fBsetMaxSymbolWidth()\fP, \fBsetSymbolExtent()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setPaintAttribute (\fBPaintAttribute\fPattribute, boolon = \fCtrue\fP)"
Specify an attribute how to draw the curve
.PP
\fBParameters:\fP
.RS 4
\fIattribute\fP Paint attribute 
.br
\fIon\fP On/Off 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBtestPaintAttribute()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSamples (const QVector< \fBQwtOHLCSample\fP > &samples)"
Initialize data with an array of samples\&. 
.PP
\fBParameters:\fP
.RS 4
\fIsamples\fP Vector of samples
.RE
.PP
\fBSee Also:\fP
.RS 4
QwtPlotSeriesItem::setData() 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSamples (\fBQwtSeriesData\fP< \fBQwtOHLCSample\fP > *data)"
Assign a series of samples
.PP
\fBsetSamples()\fP is just a wrapper for \fBsetData()\fP without any additional value - beside that it is easier to find for the developer\&.
.PP
\fBParameters:\fP
.RS 4
\fIdata\fP Data 
.RE
.PP
\fBWarning:\fP
.RS 4
The item takes ownership of the data object, deleting it when its not used anymore\&. 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSymbolBrush (\fBDirection\fPdirection, const QBrush &brush)"
Set the symbol brush
.PP
\fBParameters:\fP
.RS 4
\fIdirection\fP Direction type 
.br
\fIbrush\fP Brush used to fill the body of all candlestick symbols with the direction
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsymbolBrush()\fP, \fBsetSymbolPen()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSymbolExtent (doubleextent)"

.PP
Set the extent of the symbol\&. The width of the symbol is given in scale coordinates\&. When painting a symbol the width is scaled into paint device coordinates by \fBscaledSymbolWidth()\fP\&. The scaled width is bounded by \fBminSymbolWidth()\fP, \fBmaxSymbolWidth()\fP
.PP
\fBParameters:\fP
.RS 4
\fIextent\fP Symbol width in scale coordinates
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsymbolExtent()\fP, \fBscaledSymbolWidth()\fP, \fBsetMinSymbolWidth()\fP, \fBsetMaxSymbolWidth()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSymbolPen (const QColor &color, qrealwidth = \fC0\&.0\fP, Qt::PenStylestyle = \fCQt::SolidLine\fP)"
Build and assign the symbol pen
.PP
In Qt5 the default pen width is 1\&.0 ( 0\&.0 in Qt4 ) what makes it non cosmetic ( see QPen::isCosmetic() )\&. This method has been introduced to hide this incompatibility\&.
.PP
\fBParameters:\fP
.RS 4
\fIcolor\fP Pen color 
.br
\fIwidth\fP Pen width 
.br
\fIstyle\fP Pen style
.RE
.PP
\fBSee Also:\fP
.RS 4
pen(), brush() 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSymbolPen (const QPen &pen)"

.PP
Set the symbol pen\&. The symbol pen is used for rendering the lines of the bar or candlestick symbols
.PP
\fBSee Also:\fP
.RS 4
\fBsymbolPen()\fP, \fBsetSymbolBrush()\fP 
.RE
.PP

.SS "void QwtPlotTradingCurve::setSymbolStyle (\fBSymbolStyle\fPstyle)"
Set the symbol style
.PP
\fBParameters:\fP
.RS 4
\fIstyle\fP Symbol style
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsymbolStyle()\fP, \fBsetSymbolExtent()\fP, \fBsetSymbolPen()\fP, \fBsetSymbolBrush()\fP 
.RE
.PP

.SS "QBrush QwtPlotTradingCurve::symbolBrush (\fBDirection\fPdirection) const"

.PP
\fBParameters:\fP
.RS 4
\fIdirection\fP 
.RE
.PP
\fBReturns:\fP
.RS 4
Brush used to fill the body of all candlestick symbols with the direction
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetSymbolPen()\fP, \fBsymbolBrush()\fP 
.RE
.PP

.SS "double QwtPlotTradingCurve::symbolExtent () const"

.PP
\fBReturns:\fP
.RS 4
Extent of a symbol in scale coordinates 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetSymbolExtent()\fP, \fBscaledSymbolWidth()\fP, \fBminSymbolWidth()\fP, \fBmaxSymbolWidth()\fP 
.RE
.PP

.SS "QPen QwtPlotTradingCurve::symbolPen () const"

.PP
\fBReturns:\fP
.RS 4
Symbol pen 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetSymbolPen()\fP, \fBsymbolBrush()\fP 
.RE
.PP

.SS "\fBQwtPlotTradingCurve::SymbolStyle\fP QwtPlotTradingCurve::symbolStyle () const"

.PP
\fBReturns:\fP
.RS 4
Symbol style 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetSymbolStyle()\fP, \fBsymbolExtent()\fP, \fBsymbolPen()\fP, \fBsymbolBrush()\fP 
.RE
.PP

.SS "bool QwtPlotTradingCurve::testPaintAttribute (\fBPaintAttribute\fPattribute) const"

.PP
\fBReturns:\fP
.RS 4
True, when attribute is enabled 
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBPaintAttribute\fP, \fBsetPaintAttribute()\fP 
.RE
.PP


.SH "Author"
.PP 
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.