Method: Tk::BLT::PlotComponent::GridLine#initialize
- Defined in:
- ext/lib/tkextlib/blt/component.rb
#initialize(chart, keys = {}) ⇒ GridLine
Returns a new instance of GridLine.
818 819 820 821 822 823 824 825 826 |
# File 'ext/lib/tkextlib/blt/component.rb', line 818 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 |