public int Compare(PaneData <TX, TY> x, PaneData <TX, TY> y) { // compare x and y for each valueField by valueComparers var compareResults = _fieldValueComparers.Select((comparer, i) => comparer.Compare(x.FieldValues[i], y.FieldValues[i])); return(compareResults.FirstOrDefault(compareResult => compareResult != 0)); }
public void AddPane(PaneData <TX, TY> pane) { _allPanes.Add(pane); pane.Chart = this; }