plot(type, *args)
click to toggle source
def plot(type, *args)
self.__send__("plot_#{type.to_s.tr('-', '_')}", *args)
end
plot_circle(*args)
click to toggle source
def plot_circle(*args)
tk_call_without_enc(@chart, 'plot', 'circle', *(args.flatten))
self
end
plot_filled_circle(*args)
click to toggle source
def plot_filled_circle(*args)
tk_call_without_enc(@chart, 'plot', 'filled-circle', *(args.flatten))
self
end
plot_filled_rectangle(*args)
click to toggle source
def plot_filled_rectangle(*args)
tk_call_without_enc(@chart, 'plot', 'filled-rectangle', *(args.flatten))
self
end
plot_rectangle(*args)
click to toggle source
def plot_rectangle(*args)
tk_call_without_enc(@chart, 'plot', 'rectangle', *(args.flatten))
self
end