24 #ifndef ROOT_TAttMarket 100 void SetLog(
int x,
int y) { fLogX =
x; fLogY =
y; }
virtual void SetMean(Double_t mean)
TCandle()
TCandle default constructor.
Double_t fMedian
Position of the median.
Double_t fWhiskerUp
Position of the upper whisker end.
bool IsOption(CandleOption opt)
Return true is this option is activated in fOption.
Double_t fNDatapoints
Number of Datapoints within this candle.
int ParseOption(char *optin)
Parsing of the option-string.
void SetHistogram(TH1D *proj)
Double_t * fDatapoints
position of all Datapoints within this candle
void SetLog(int x, int y)
void PaintLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Bool_t swapXY)
Paint a line for candle.
void SetOption(CandleOption opt)
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Double_t fMean
Position of the mean.
virtual void SetMedian(Double_t median)
static const double x2[5]
Fill Area Attributes class.
#define ClassDef(name, id)
Double_t fCandleWidth
The candle width.
Double_t GetMedian() const
Double_t fBoxDown
Position of the lower box end.
Double_t fBoxUp
Position of the upper box end.
The candle plot painter class.
void Calculate()
Calculates all values needed by the candle definition depending on the candle options.
void SetWidth(const Double_t width)
tomato 1-D histogram with a double per channel (see TH1 documentation)}
virtual void Paint(Option_t *option="")
Paint one candle with its current attributes.
void PaintBox(Int_t nPoints, Double_t *x, Double_t *y, Bool_t swapXY, Bool_t fill)
Paint a box for candle.
bool fDismiss
True if the candle cannot be painted.
static const double x1[5]
CandleOption fOption
Setting the style of the candle.
int GetCandleOption(const int pos)
virtual void SetQ2(Double_t q2)
Double_t fWhiskerDown
Position of the lower whisker end.
Double_t fPosCandleAxis
x-pos for a vertical candle
virtual void SetQ1(Double_t q1)
virtual ~TCandle()
TCandle default destructor.
virtual void SetQ3(Double_t q3)
bool fIsRaw
0: for TH1 projection, 1: using raw data
void SetAxisPosition(const Double_t candlePos)