public StrategyDataItemInfo DataItem(string fieldName, Color color, int width) { DataItemInfos.Add(new StrategyDataItemInfo() { FieldName = fieldName, Color = color, GraphWidth = width }); return(DataItemInfos.Last()); }
public StrategyDataItemInfo DataItem(string fieldName, Color color) { DataItemInfos.Add(new StrategyDataItemInfo() { FieldName = fieldName, Color = color }); return(DataItemInfos.Last()); }
public StrategyDataItemInfo DataItem(string fieldName, string formatString) { DataItemInfos.Add(new StrategyDataItemInfo() { FieldName = fieldName, FormatString = formatString }); return(DataItemInfos.Last()); }
public StrategyDataItemInfo EnumItem(string fieldName) { DataItemInfos.Add(new StrategyDataItemInfo() { FieldName = fieldName, Visibility = DataVisibility.Table }); return(DataItemInfos.Last()); }
public StrategyDataItemInfo TimeItem(string fieldName) { DataItemInfos.Add(new StrategyDataItemInfo() { FieldName = fieldName, Visibility = DataVisibility.Table, Type = DataType.DateTime, FormatString = "dd.MM.yyyy hh:mm" }); return(DataItemInfos.Last()); }