Class: RubyPost::XLabel

Inherits:
GraphLabel show all
Defined in:
lib/graph.rb

Overview

place an x label on the graph overrides and position and place settings

Instance Attribute Summary

Attributes inherited from BaseLabel

#position, #text

Instance Method Summary collapse

Methods inherited from GraphLabel

#initialize

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

#compileObject



276
277
278
# File 'lib/graph.rb', line 276

def compile
  'glabel.bot(' + @text + ", OUT)" + compile_options + ";\n"
end