Method: Chart#set_first_sheet

Defined in:
lib/WriteExcel/chart.rb

#set_first_sheetObject

set_first_sheet()

Set this worksheet as the first visible sheet. This is necessary when there are a large number of worksheets and the activated worksheet is not visible on the screen.



182
183
184
185
# File 'lib/WriteExcel/chart.rb', line 182

def set_first_sheet
  hidden      = 0 # Active worksheet can't be hidden.

  firstsheet  = index
end