worksheet.rb : add attributes_from_sparkline and cust_max_min

  Extract method from write_sparkline_group