 
       @$el.on 'shown', =>
         @valueChart()
-        @varianceChart()
+
+        if @model.get('target')
+          @varianceChart()
 
       @$el.modal()


      container = $('#rate-chart')[0]
      graphOpts =
        title: "% Variance from Target"
        xaxis:
          mode: 'time'
          labelsAngle: 45

        markers:
          show: true

      graph = Flotr.draw(container, dataSeries, graphOpts)

    varianceChart: ->
      yLabel = 'Variance from Target'
