summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib/tkextlib/blt/graph.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-29 10:27:32 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-29 10:27:32 +0000
commitf433e2abf2c67f058e6be7b00e0efdc9db52d592 (patch)
treecbb6b4949c30f48663e44b9ebc0b429a1990cbde /ext/tk/lib/tkextlib/blt/graph.rb
parent0ae184922a2a7eb9555def093a765bbf83403273 (diff)
downloadruby-f433e2abf2c67f058e6be7b00e0efdc9db52d592.tar.gz
ruby-f433e2abf2c67f058e6be7b00e0efdc9db52d592.tar.xz
ruby-f433e2abf2c67f058e6be7b00e0efdc9db52d592.zip
* lib/tkextlib/blt/component.rb: cannot create elements except
default type of element. * lib/tkextlib/blt/barchart.rb: ditto. * lib/tkextlib/blt/graph.rb: ditto. * lib/tkextlib/blt/stripchart.rb: ditto. * lib/tkextlib/blt/component.rb: axis command option gets proper object type of arguments. * sample/tkextlib/blt/calendar.rb: new sample. * sample/tkextlib/blt/pareto.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkextlib/blt/graph.rb')
-rw-r--r--ext/tk/lib/tkextlib/blt/graph.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/tk/lib/tkextlib/blt/graph.rb b/ext/tk/lib/tkextlib/blt/graph.rb
index b16c72458..e9fbdd587 100644
--- a/ext/tk/lib/tkextlib/blt/graph.rb
+++ b/ext/tk/lib/tkextlib/blt/graph.rb
@@ -26,6 +26,7 @@ module Tk::BLT
end
private :__strval_optkeys
+=begin
BarElement_ID = ['blt_graph_bar'.freeze, '00000'.taint].freeze
def bar(elem=nil, keys={})
@@ -40,6 +41,7 @@ module Tk::BLT
tk_send('bar', elem, keys)
Element.new(self, elem, :without_creating=>true)
end
+=end
def extents(item)
num_or_str(tk_send_without_enc('extents', item))