All supported axes attributes for: line, ticks, labels, title, min/max, log, reverse, ...
Definition at line 29 of file RAttrAxis.hxx.
Private Attributes | |
RAttrLine | fAttrLine {this, "line"} |
! line attributes | |
RAttrValue< RPadLength > | fEndingSize {this, "ending_size", 0.02_normal} |
! axis ending size | |
RAttrValue< std::string > | fEndingStyle {this, "ending_style", ""} |
! axis ending style - none, arrow, circle | |
RAttrText | fLabelsAttr {this, "labels"} |
! text attributes for labels | |
RAttrValue< bool > | fLabelsCenter {this, "labels_center", false} |
! center labels | |
RAttrValue< RPadLength > | fLabelsOffset {this, "labels_offset", {}} |
! axis labels offset - relative | |
RAttrValue< double > | fLog {this, "log", 0} |
! log scale, <1 off, 1 - base10, 2 - base 2, 2.71 - exp, 3, 4, ... | |
RAttrValue< bool > | fReverse {this, "reverse", false} |
! reverse scale | |
RAttrColor | fTicksColor {this, "ticks_color"} |
! ticks color | |
RAttrValue< std::string > | fTicksSide {this, "ticks_side", "normal"} |
! ticks position - normal, invert, both | |
RAttrValue< RPadLength > | fTicksSize {this, "ticks_size", 0.02_normal} |
! ticks size | |
RAttrValue< bool > | fTimeDisplay {this, "time", false} |
! time display | |
RAttrValue< std::string > | fTimeFormat {this, "time_format", ""} |
! time format | |
RAttrValue< double > | fTimeOffset {this, "time_offset", 0} |
! time offset to display | |
RAttrValue< std::string > | fTitle {this, "title", ""} |
! axis title | |
RAttrText | fTitleAttr {this, "title"} |
! axis title text attributes | |
RAttrValue< RPadLength > | fTitleOffset {this, "title_offset", {}} |
! axis title offset - relative | |
RAttrValue< std::string > | fTitlePos {this, "title_position", "right"} |
! axis title position - left, right, center | |
RAttrValue< double > | fZoomMax {this, "zoommax", 0.} |
! axis zoom max | |
RAttrValue< double > | fZoomMin {this, "zoommin", 0.} |
! axis zoom min | |
Additional Inherited Members | |
Public Member Functions inherited from ROOT::Experimental::RAttrBase | |
RAttrBase ()=default | |
virtual | ~RAttrBase ()=default |
Protected Member Functions inherited from ROOT::Experimental::RAttrBase | |
RAttrBase (const RAttrBase &src) | |
RAttrBase (RAttrBase *parent, const std::string &prefix) | |
RAttrBase (RDrawable *drawable, const std::string &prefix) | |
const Rec_t | AccessAttr (const std::string &name) const |
Find attributes container and full-qualified name for value. | |
const Val_t | AccessValue (const std::string &name, bool use_style=true) const |
Search value with given name in attributes. | |
void | AssignDrawable (RDrawable *drawable, const std::string &prefix) |
Return value from attributes container - no style or defaults are used. | |
void | AssignParent (RAttrBase *parent, const std::string &prefix) |
Assign parent object for this RAttrBase. | |
void | Clear () |
Clear all respective values from drawable. Only defaults can be used. | |
void | ClearValue (const std::string &name) |
Clear value if any with specified name. | |
virtual RAttrMap | CollectDefaults () const |
Collect all attributes in derived class Works only if such class has dictionary. | |
void | CopyTo (RAttrBase &tgt, bool use_style=true) const |
Copy attributes into target object. | |
bool | CopyValue (const std::string &name, const RAttrMap::Value_t &value, bool check_type=true) |
Copy attributes from other object. | |
Rec_t | EnsureAttr (const std::string &name) |
Ensure attribute with give name exists - creates container for attributes if required. | |
template<typename RET_TYPE , typename MATCH_TYPE = void> | |
auto | Eval (const std::string &name, bool use_dflts=true) const |
Evaluate attribute value. | |
virtual const RAttrMap & | GetDefaults () const |
Return default values for attributes, empty for base class. | |
const std::string & | GetPrefix () const |
template<typename T > | |
T | GetValue (const std::string &name) const |
template<typename T = void> | |
bool | HasValue (const std::string &name, bool check_defaults=false) const |
bool | IsSame (const RAttrBase &src, bool use_style=true) const |
Check if all values which are evaluated in this object are exactly the same as in tgt object. | |
virtual bool | IsValue () const |
bool | IsValueEqual (const std::string &name, const RAttrMap::Value_t &value, bool use_style=false) const |
Check if provided value equal to attribute in the map. | |
void | MoveTo (RAttrBase &tgt) |
Move all fields into target object. | |
RAttrBase & | operator= (const RAttrBase &src) |
void | SetNoValue (const std::string &name) |
Set <NoValue> for attribute. | |
void | SetValue (const std::string &name, bool value) |
Set boolean value. | |
void | SetValue (const std::string &name, const RPadLength &value) |
Set PadLength value. | |
void | SetValue (const std::string &name, const std::string &value) |
Set string value. | |
void | SetValue (const std::string &name, double value) |
Set double value. | |
void | SetValue (const std::string &name, int value) |
Set integer value. | |
#include <ROOT/RAttrAxis.hxx>
|
inlineprivate |
Definition at line 87 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 108 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 78 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 62 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 85 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 90 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 95 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 113 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 118 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 111 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 65 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 68 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 107 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 104 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 98 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 77 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 125 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 120 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 134 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 131 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 57 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 56 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 59 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 58 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 115 of file RAttrAxis.hxx.
|
private |
Definition at line 86 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 93 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 94 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 89 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 92 of file RAttrAxis.hxx.
Definition at line 114 of file RAttrAxis.hxx.
Definition at line 117 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 110 of file RAttrAxis.hxx.
Definition at line 64 of file RAttrAxis.hxx.
Definition at line 67 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 103 of file RAttrAxis.hxx.
Definition at line 106 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 102 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 101 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 100 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 97 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 70 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 124 of file RAttrAxis.hxx.
Definition at line 121 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 129 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 128 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 133 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 127 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 130 of file RAttrAxis.hxx.
Definition at line 61 of file RAttrAxis.hxx.
Definition at line 55 of file RAttrAxis.hxx.
Definition at line 54 of file RAttrAxis.hxx.
|
inlineprivate |
Definition at line 122 of file RAttrAxis.hxx.
|
private |
! line attributes
Definition at line 38 of file RAttrAxis.hxx.
|
private |
! axis ending size
Definition at line 40 of file RAttrAxis.hxx.
|
private |
! axis ending style - none, arrow, circle
Definition at line 39 of file RAttrAxis.hxx.
|
private |
! text attributes for labels
Definition at line 44 of file RAttrAxis.hxx.
|
private |
! center labels
Definition at line 46 of file RAttrAxis.hxx.
|
private |
! axis labels offset - relative
Definition at line 45 of file RAttrAxis.hxx.
|
private |
! log scale, <1 off, 1 - base10, 2 - base 2, 2.71 - exp, 3, 4, ...
Definition at line 33 of file RAttrAxis.hxx.
|
private |
! reverse scale
Definition at line 34 of file RAttrAxis.hxx.
|
private |
! ticks color
Definition at line 43 of file RAttrAxis.hxx.
|
private |
! ticks position - normal, invert, both
Definition at line 41 of file RAttrAxis.hxx.
|
private |
! ticks size
Definition at line 42 of file RAttrAxis.hxx.
|
private |
! time display
Definition at line 35 of file RAttrAxis.hxx.
|
private |
! time format
Definition at line 37 of file RAttrAxis.hxx.
|
private |
! time offset to display
Definition at line 36 of file RAttrAxis.hxx.
|
private |
! axis title
Definition at line 48 of file RAttrAxis.hxx.
|
private |
! axis title text attributes
Definition at line 47 of file RAttrAxis.hxx.
|
private |
! axis title offset - relative
Definition at line 50 of file RAttrAxis.hxx.
|
private |
! axis title position - left, right, center
Definition at line 49 of file RAttrAxis.hxx.
|
private |
! axis zoom max
Definition at line 32 of file RAttrAxis.hxx.
|
private |
! axis zoom min
Definition at line 31 of file RAttrAxis.hxx.