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; } }
public void OnColumnsChanged(SeriesList series, IEnumerable <Series> removed, IEnumerable <Series> added) { Rows.OnColumnsChanged(series, removed, added); }