anchor.diff:  	contentType="text/html"
   	session="true"
       import="
  +            org.opennms.web.servlet.MissingParameterException,
               org.opennms.web.api.Util
       "%>
   
  
positive.code: 		                        <li role="presentation" class="active"><a href="#time" role="tab" data-toggle="tab">Time Span</a></li>
  		                        <li role="presentation"><a href="#stat" role="tab" data-toggle="tab">Trend and Forecast</a></li>
  		                    </ul>
  		
  		                    <p> </p>
  		
  		                    <!-- Tab panes -->
  		                    <div class="tab-content">
  		                        <div role="tabpanel" class="tab-pane active" id="time">
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Training Start</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="training-start" ng-model="forecastingOptions.trainingStart">
  		                                    <span class="help-block">Samples from this number of days ago will be used to train the model, but won't be shown on the graph.</span>
  		                                </div>
  		                            </div>
  		
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Graph Start</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="graph-start" ng-model="forecastingOptions.graphStart">
  		                                    <span class="help-block">Samples from this number of days ago will be shown on the graph.</span>
  		                                </div>
  		                            </div>
  		
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Forecasts</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="forecasts" ng-model="forecastingOptions.forecasts">
  		                                    <span class="help-block">Number of seasons to forecast.</span>
  		                                </div>
  		                            </div>
  		                        </div>
  		                        <div role="tabpanel" class="tab-pane" id="stat">
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Season</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="season" ng-model="forecastingOptions.season">
  		                                    <span class="help-block">Seasonality in days of the sample data. The training set must contain at least two seasons worth of data.</span>
  		                                </div>
  		                            </div>
  		
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Trend Order</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="trend-order" ng-model="forecastingOptions.trendOrder">
  		                                    <span class="help-block">Order of the polynomial used to estimate the trend. Set to this 1 for a line or higher for a curve.</span>
  		                                </div>
  		                            </div>
  		
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Confidence Level</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="confidence-level" ng-model="forecastingOptions.confidenceLevel">
  		                                    <span class="help-block">Level used to calculate the upper and lower confidence bounds.</span>
  		                                </div>
  		                            </div>
  		
  		                            <div class="form-group">
  		                                <label class="col-sm-3 control-label">Outlier Threshold</label>
  		                                <div class="col-sm-9">
  		                                    <input type="text" class="form-control" id="outlier-threshold" ng-model="forecastingOptions.outlierThreshold">
  		                                    <span class="help-block">Percentile used to eliminate outliers. Outliers and missing values are automatically interpolated.</span>
  		                                </div>
  		                            </div>
  
negative.code:                 // Pull the list of named series from the model
                  $scope.series = _.filter($scope.graphModel.series, function(series){ return !_.isEmpty(series.name); });
                  $scope.$apply();
              }).fail(function() {
                  $scope.error = "Failed to retrieve the graph definition for the report named: " + report;
                  $scope.$apply();
              })
          }
  
          function renderGraph(graphModel, start, end) {
  