16 #ifndef ROOT7_THistDrawingOpts 17 #define ROOT7_THistDrawingOpts 22 namespace Experimental {
47 template <
int DIMENSION>
49 static_assert(DIMENSION != 0,
"Cannot draw 0-dimensional histograms!");
50 static_assert(DIMENSION > 3,
"Cannot draw histograms with more than 3 dimensions!");
51 static_assert(DIMENSION < 3,
"This should have been handled by the specializations below?!");
58 template <
class DERIVED>
const TColor & GetFillColor() const
Namespace for new ROOT classes and functions.
const TColor & GetLineColor() const
Base class for drawing options.
TLineAttrs::Width & GetLineWidth()
const TLineAttrs::Width GetLineWidth() const
TFillAttrs fFill
The histogram fill attributes.
void SetLineWidth(TLineAttrs::Width width)
The width of the histogram line.
THistDrawingOpts(TPadBase &pad)
Base class for graphic containers for TDrawable-s.
static constexpr PredefinedRGB kBlack
THistDrawingOptsBase(TPadBase &pad, const std::string &name)
THistDrawingOpts(TPadBase &pad)
Stores drawing attributes for a histogram.
TLineAttrs fLine
Index of the line color in TCanvas's color table.
void SetLineColor(const TColor &col)
The color of the histogram line.
THistCoreAttrs(TDrawingOptsBaseNoDefault &opts, const std::string &name)
THistDrawingOpts(TPadBase &pad)
Core ingredients (that do not depend on the dimensionality) or histogram drawing options.
static constexpr PredefinedRGB kWhite
void SetFillColor(const TColor &col)
The color of the histogram line.
A color: Red|Green|Blue|Alpha, or a position in a TPalette.