         .style("text-anchor", "end")
         .text("Flux (1E-17 erg/cm^2/s/Ang)")
 
-    @fluxLine() if @opts.fluxLine
-    @bestFitLine() if @opts.bestFitLine
-    @emissionLines() if @opts.emissionLines
+    @fluxLinedDraw() if @opts.fluxLine is 'show'
+    @bestFitLinedDraw() if @opts.bestFitLine is 'show'
+    @emissionLinesdDraw() if @opts.emissionLines is 'show'
    
-  fluxLine: =>
+  fluxLinedDraw: =>
     fluxLine = d3.svg.line()
       .x((d, i) => @x(@subject.wavelengths[i]))
       .y((d, i) => @y(d))

        .attr('stroke', "blue")
        .attr('fill', 'none')

  emissionLines: (redshiftCorrected=true) =>
    for name, line of @spectralLines
      multiplier = if redshiftCorrected then (1 + line.redshift) else 1
      @svg.append("line")

        .attr('fill', 'none')
        .attr('stroke', 'black')

  bestFitLinedDraw: =>
    bestFitLine = d3.svg.line()
      .x((d, i) => @x(@subject.wavelengths[i]))
      .y((d, i) => @y(d))
