def title=(string_or_hash, redraw = true)
      t = string_or_hash.is_a?(String) ? {text: string_or_hash} : string_or_hash.to_h
      set_title(t, nil, redraw)
    end
def title=(string_or_hash, redraw = true)
      t = string_or_hash.is_a?(String) ? {text: string_or_hash} : string_or_hash.to_h
      set_title(t, nil, redraw)
    end
Change the title (but not subtitle) of the chart.
 @param string_or_hash [String,Hash]
   If a string, then only the title text will be changed.
   If a hash it should contain title options.
 @param redraw [Boolean] optional, whether to redraw immediately, defaults to true
 @see http://api.highcharts.com/highstock#Chart.setTitle