122 void SetLog(
int x,
int y,
int z) { fLogX =
x; fLogY =
y; fLogZ =
z;}
virtual void SetMean(Double_t mean)
TCandle()
TCandle default constructor.
Double_t fMedian
Position of the median.
static Double_t fBoxRange
The fraction which is covered by the box (0 < x < 1), default 0.5.
If this bit is not set it is vertical.
Double_t fWhiskerUp
Position of the upper whisker end.
bool IsOption(CandleOption opt)
Return true is this option is activated in fOption.
int ParseOption(char *optin)
Parsing of the option-string.
static Bool_t fScaledCandle
shall the box-width be scaled to each other by the integral of a box?
void SetHistogram(TH1D *proj)
Double_t fAxisMin
The Minimum which is visible by the axis (used by zero indicator)
Double_t * fDatapoints
position of all Datapoints within this candle
Double_t fDrawPointsX[kNMAXPOINTS]
x-coord for every outlier, ..
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.
Double_t fHistoWidth
The histo width (the height of the max bin)
#define ClassDef(name, id)
Double_t fCandleWidth
The candle width.
int fLogX
make the candle appear logx-like
void SetCandleWidth(const Double_t width)
void SetHistoWidth(const Double_t width)
void PaintBox(Int_t nPoints, Double_t *x, Double_t *y, Bool_t swapXY)
Paint a box for candle.
Double_t GetMedian() const
static Bool_t fScaledViolin
shall the violin or histos be scaled to each other by the maximum height?
Double_t fDrawPointsY[kNMAXPOINTS]
y-coord for every outlier, ..
Double_t fHistoPointsX[kNMAXPOINTS]
x-coord for the polyline of the histo
Double_t fBoxDown
Position of the lower box end.
void ConvertToPadCoords(Double_t minAxis, Double_t maxAxis, Double_t axisMinCoord, Double_t axisMaxCoord)
The coordinates in the TParallelCoordVar-class are in Pad-Coordinates, so we need to convert them...
Double_t fBoxUp
Position of the upper box end.
int fLogY
make the candle appear logy-like
The candle plot painter class.
void Calculate()
Calculates all values needed by the candle definition depending on the candle options.
Double_t fAxisMax
The Maximum which is visible by the axis (used by zero indicator)
void SetLog(int x, int y, int z)
1-D histogram with a double per channel (see TH1 documentation)}
virtual void Paint(Option_t *option="")
Paint one candle with its current attributes.
static void SetBoxRange(const Double_t bRange)
Static function to set fBoxRange, by setting whisker-range, one can force the box of the candle-chart...
bool fDismiss
True if the candle cannot be painted.
static void SetScaledCandle(const Bool_t cScale=true)
Static function to set scaling between candles-withs.
static Double_t fWhiskerRange
The fraction which is covered by the whiskers (0 < x < 1), default 1.
static const double x1[5]
char fOptionStr[128]
String to draw the candle.
CandleOption fOption
Setting the style of the candle.
Double_t fMedianErr
The size of the notch.
Double_t fHistoPointsY[kNMAXPOINTS]
y-coord for the polyline of the histo
int GetCandleOption(const int pos)
Long64_t fNDrawPoints
max number of outliers or other point to be shown
you should not use this method at all Int_t Int_t z
static void SetWhiskerRange(const Double_t wRange)
Static function to set fWhiskerRange, by setting whisker-range, one can force the whiskers to cover t...
virtual void SetQ2(Double_t q2)
static void SetScaledViolin(const Bool_t vScale=true)
Static function to set scaling between violin-withs.
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
int fLogZ
make the candle appear logz-like
const char * GetDrawOption()
Long64_t fNDatapoints
Number of Datapoints within this candle.
void SetAxisPosition(const Double_t candlePos)