     else if typeof xmlNode.xml != "undefined"
       xmlNode.xml
 
-  # Helper functions
-  setPressed: (button) =>
-    button.siblings().removeClass 'pressed'
-    button.toggleClass 'pressed'
+
 
 module.exports = Graphs
  active: (params) =>
    super
    @render()
    $('[data-link="graphs"]').addClass 'pressed'
    @options = new Object
    @headingText.html '<h2>Construct Your Question</h2>'

    @options.graphType = params.graphType or 'histogram'

    switch @options.graphType
      when "histogram"

      @options.galaxyType = null
    else
      @options.galaxyType = button.data('type')
    @setPressed button, false

  setDataSource: (e) =>
    button = $(e.currentTarget)
