       # before which the node is inserted. In our case, the
       # node to insert is the highlight node and the before
       # selector is the bolus tick selector.
-      highlightNodeFunc = -> highlightNode 
+      highlightNodeFunc = -> highlightNode
       bolusTick.insert(highlightNodeFunc, 'line')
       # Add the legend.
       legend = svg.select('.nv-legend')

        # series key.
        reg.data_series = registration_data_series(reg, i)
      reg_data = ((reg.data_series for reg in session.registrations))
    
      # Return the chart configuration.
      data: [scan_data].concat(reg_data)
      xValues: (coord[0] for coord in scan_data.values)
      yFormat: yFormat
      highlightBolusArrival: (chart) ->
        highlightBolusArrival(session, chart)
  ]

    # e.g. ['1', '2', ..., '12'] for 12 series.
    #
    # @param session the session object
    # @param element the chart Angular jQueryLite element
    # @returns the nvd3 chart configuration
    configureChart: (session, element) ->
      # @param intensities the intensity value array
      # @returns the intensity chart [x, y] coordinates
      coordinates = (intensities) ->
