Tk::Canvas
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 901 def initialize(*args) # args := ([parent] [, keys]) if args[0].kind_of?(Tk::Canvas) parent = args.shift @path = parent.path else super(*args) # create canvas widget end @chart = _create_chart end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 922 def colours(*list) tk_call_without_enc(@chart, 'colours', *list) self end
# File tk/lib/tkextlib/tcllib/plotchart.rb, line 917 def plot(*dat) # argument is a list of [label, value] tk_call(@chart, 'plot', dat.flatten) self end
This page was generated for Ruby 1.9.2
Ruby-doc.org is hosted by James Britt and Neurogami, an avant garage research + development in Scottsdale, AZ.
Generated with the Rubydoc Rdoc Generator 0.9.3.