 
     self
 
-  addThresholdVisualization = (variableX, variableY, showReferenceLine) ->
-    rendering =  createThresholdVisualization _metricFrame.metrics, variableX, variableY, showReferenceLine, (metric, index) ->
+  createThresholdVisualizationPane = (variableX, variableY, showReferenceLine) ->
+    rendering =  createThresholdVisualization _filteredMetrics, variableX, variableY, showReferenceLine, (metric, index) ->
       _.inspect
         content: createThresholdInspection _metricFrame.thresholdVariables, metric, index
         template: 'geyser'


    self

  configureVisualization = (caption, type, variableX, variableY, go) ->
    parameters =
      visualizationTypes: _visualizationTypes


  _visualizationTypes = [ _metricsVisualizationType, _thresholdVisualizationType ]

  initialize = (scorings) ->
    _metricFrame = createMetricFrameFromScorings scorings
    scoringVariable.domain = map _metricFrame.metrics, (metric) ->
