         format = null
       else
         value = chart_id
+
       chart_settings[holder_id].chart_id = value
       chart_settings[holder_id].format = format
       App.settings.save({charts: chart_settings})

          new_chart.series.add(s)

        # if the chart was pinned as table let's set the instance variable
        show_as_table = App.settings.get('charts')[holder_id].format == 'table'
        if show_as_table
          new_chart.view.display_as_table = true


      @chart_holders[holder_id].get 'id'
    catch e
      null

  # The default is defined for the main chart only
  load_default: =>
