public DataFileSchema(DataFile datafile) { ColumnNames = new List <string>(datafile.ColumnNames); GroupBy = "None"; ColumnNumericMap = new Dictionary <string, bool>(); foreach (var col in datafile.ColumnNames) { ColumnNumericMap[col] = datafile.IsNumeric(col); } }
public void SetDataFile(DataFile dataFile, bool useForSplatter) { if (useForSplatter) { comboBoxGroup.Items.Add("None"); } foreach (var dim in dataFile.ColumnNames) { if (dataFile.IsNumeric(dim)) { comboBoxHorizontal.Items.Add(dim); comboBoxVertical.Items.Add(dim); } comboBoxGroup.Items.Add(dim); } }