Class: PDF::Charts::StdDev::Label
- Defined in:
- lib/extensions/pdf-writer/pdf/charts/stddev.rb
Overview
A label for displaying the scale (vertical) of data in the dataset or the data set identifiers.
Instance Attribute Summary collapse
-
#background_color ⇒ Object
The background color of the label.
-
#decimal_precision ⇒ Object
The decimal precision of the label.
-
#height ⇒ Object
The height of the label, in PDF user units.
-
#pad ⇒ Object
The padding of the label.
-
#text_color ⇒ Object
The text color of the label.
-
#text_size ⇒ Object
The text size, in points, of the label.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Label
constructor
A new instance of Label.
Constructor Details
#initialize {|_self| ... } ⇒ Label
Returns a new instance of Label.
30 31 32 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 30 def initialize yield self if block_given? end |
Instance Attribute Details
#background_color ⇒ Object
The background color of the label. Ignored for scale labels.
38 39 40 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 38 def background_color @background_color end |
#decimal_precision ⇒ Object
The decimal precision of the label. Only used for scale labels.
46 47 48 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 46 def decimal_precision @decimal_precision end |
#height ⇒ Object
The height of the label, in PDF user units. Ignored for scale labels.
36 37 38 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 36 def height @height end |
#pad ⇒ Object
The padding of the label. Only used for scale labels.
44 45 46 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 44 def pad @pad end |
#text_color ⇒ Object
The text color of the label.
40 41 42 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 40 def text_color @text_color end |
#text_size ⇒ Object
The text size, in points, of the label.
42 43 44 |
# File 'lib/extensions/pdf-writer/pdf/charts/stddev.rb', line 42 def text_size @text_size end |