예제 #1
0
 public void OnColumnsChanged(SeriesList series, IEnumerable <Series> removed, IEnumerable <Series> added)
 {
     Series[] rm = removed.ToArray();
     if (rm.Length == 0)
     {
         foreach (var s in added)
         {
             if (s.Count > Count)
             {
                 Count = s.Count;
             }
         }
     }
     else
     {
         int count = 0;
         foreach (var s in series)
         {
             count = Math.Max(count, s.Count);
         }
         Count = count;
     }
 }
예제 #2
0
 public void OnColumnsChanged(SeriesList series, IEnumerable <Series> removed, IEnumerable <Series> added)
 {
     Rows.OnColumnsChanged(series, removed, added);
 }