| Class | Tk::BLT::PlotComponent::Legend |
| In: |
tk/lib/tkextlib/blt/component.rb
|
| Parent: | TkObject |
| OBJ_TBL | = | {} |
# File tk/lib/tkextlib/blt/component.rb, line 681 def self.new(chart, keys={}) return OBJ_TBL[chart.path] if OBJ_TBL[chart.path] super(chart, keys) end
# File tk/lib/tkextlib/blt/component.rb, line 686 def initialize(chart, keys={}) @parent = @chart = chart @cpath = @chart.path Crosshairs::OBJ_TBL[@cpath] = self @chart.crosshair_configure(keys) unless keys.empty? @path = @id = 'legend' end
# File tk/lib/tkextlib/blt/component.rb, line 716 def activate(*args) @chart.legend_activate(*args) end
# File tk/lib/tkextlib/blt/component.rb, line 709 def configinfo(key=nil) @chart.legend_configinfo(key) end
# File tk/lib/tkextlib/blt/component.rb, line 705 def configure(key, value=None) @chart.legend_configure(key, value) self end
# File tk/lib/tkextlib/blt/component.rb, line 712 def current_configinfo(key=nil) @chart.current_legend_configinfo(key) end
# File tk/lib/tkextlib/blt/component.rb, line 720 def deactivate(*args) @chart.legend_deactivate(*args) end
ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.