question: private void createMetricChartPanel ( int metric , DatasetGenerator datasetGenerator , List < GCStatsChartPanel > list ) { ChangingCategoryDatasetWithTTG dataset = datasetGenerator . newCategoryDatasetWithTTG ( metric , false ) ; GCStatsChartPanel panel = new MetricChartPanel ( CHART_PREFIX + DatasetGenerator . getMetricName ( metric ) , DatasetGenerator . getUnitName ( metric ) , dataset , locker ) ; list . add ( panel ) ; }
target:  It adds a new metric chart panel to the tabbed pane set.