Method: Tk::BLT::PlotComponent::GridLine#initialize
- Defined in:
- lib/tkextlib/blt/component.rb
#initialize(chart, keys = {}) ⇒ GridLine
Returns a new instance of GridLine.
863 864 865 866 867 868 869 870 871 |
# File 'lib/tkextlib/blt/component.rb', line 863 def initialize(chart, keys={}) # dummy:: not called by 'new' method @parent = @chart = chart @cpath = @chart.path # GridLine::GridLineID_TBL[@cpath] = self @chart.gridline_configure(keys) unless keys.empty? @path = @id = 'grid' end |