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 2.2.10
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.