Class: RubyPost::GraphTitle
- Inherits:
-
GraphLabel
- Object
- Object
- BaseLabel
- GraphLabel
- RubyPost::GraphTitle
- Defined in:
- lib/graph.rb
Overview
place a title on the top of the graph overrides and position and place settings
Instance Attribute Summary
Attributes inherited from BaseLabel
Instance Method Summary collapse
Methods inherited from GraphLabel
Methods inherited from BaseLabel
#add_option, #bot, #bottom, #bottom_left, #bottom_right, #color, #colour, #compile_options, #initialize, #left, #lft, #llft, #lrt, #right, #rotate, #rt, #scale, #set_position, #set_text, #top, #top_left, #top_right, #translate, #ulft, #urt
Constructor Details
This class inherits a constructor from RubyPost::GraphLabel
Instance Method Details
#compile ⇒ Object
306 307 308 |
# File 'lib/graph.rb', line 306 def compile 'glabel.top(' + @text + ", OUT)" + + ";\n" end |