Can we use enum for TAttLine:SetLineStyle(Style_t)
, e.g. h -> SetLineStyle(kDotted)
instead of h -> SetLineStyle(2)
?
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
couet
2
TAttFill does not have the method SetLineStyle
Apologies. I had TAttLine in mind.
couet
4
The enum for line styles is:
enum ELineStyle { kSolid = 1, kDashed, kDotted, kDashDotted };
kDotted should work … kDotted corresponds to line style number 3.
1 Like
couet
6
Done.
It will be visible tomorrow in the ref guide.
system
Closed
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.