/// <summary>
 ///  Creates a new chromatogram trace provider for each entity item data using the specified creation arguments.
 /// </summary>
 /// <param name="args">A <see cref="ChromatogramChartDataProviderCreatorArgs"/> instance containing the additional information.</param>
 /// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
 /// <param name="entityItemData">The entity item data for which to create chromatogram data providers</param>
 /// <returns>A list of <see cref="IChromatogramChartDataProvider"/> instances.</returns>
 public IReadOnlyList <IChromatogramChartDataProvider> Create(
     ChromatogramChartDataProviderCreatorArgs args,
     IReadOnlyList <EntityItemData> entityItemData,
     CancellationToken cancellationToken)
 {
     return
         (ChromatogramChartDataProvider.RetrieveTracesAndPeaks <UnknownFeatureIonInstanceItem, ChromatogramPeakItem>(
              args.EntityDataService,
              entityItemData).Select(
              s =>
              new ChromatogramChartDataProvider <UnknownFeatureIonInstanceItem>(
                  s.Item1,
                  PrepareCurveToolTip,
                  PreparePointToolTip,
                  s.Item2.Values.SelectMany(s2 => s2).SumPoints(),
                  s.Item3,
                  s.Item2.Keys.First().Item1,
                  s.Item2.Keys.First().Item2,
                  ReportFileInformationService)
     {
         CurveColor = System.Windows.Media.Colors.Orange,
         CurveId = 0
     }).ToList());
 }
 /// <summary>
 ///  Creates a new chromatogram trace provider for each entity item data using the specified creation arguments.
 /// </summary>
 /// <param name="args">A <see cref="ChromatogramChartDataProviderCreatorArgs"/> instance containing the additional information.</param>
 /// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
 /// <param name="entityItemData">The entity item data for which to create chromatogram data providers</param>
 /// <returns>A list of <see cref="IChromatogramChartDataProvider"/> instances.</returns>
 public IReadOnlyList<IChromatogramChartDataProvider> Create(
     ChromatogramChartDataProviderCreatorArgs args,
     IReadOnlyList<EntityItemData> entityItemData,
     CancellationToken cancellationToken)
 {
     return
         ChromatogramChartDataProvider.RetrieveTracesAndPeaks<UnknownFeatureIonInstanceItem, ChromatogramPeakItem>(
             args.EntityDataService,
             entityItemData).Select(
                 s =>
                     new ChromatogramChartDataProvider<UnknownFeatureIonInstanceItem>(
                         s.Item1,
                         PrepareCurveToolTip,
                         PreparePointToolTip,
                         s.Item2.Values.SelectMany(s2 => s2).SumPoints(),
                         s.Item3,
                         s.Item2.Keys.First().Item1,
                         s.Item2.Keys.First().Item2,
                         ReportFileInformationService)
                     {
                         CurveColor = System.Windows.Media.Colors.Orange,
                         CurveId = 0
                     }).ToList();
 }