Exemplo n.º 1
0
 public StrategyDataItemInfo DataItem(string fieldName, Color color, int width)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Color = color, GraphWidth = width
     });
     return(DataItemInfos.Last());
 }
Exemplo n.º 2
0
 public StrategyDataItemInfo DataItem(string fieldName, Color color)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Color = color
     });
     return(DataItemInfos.Last());
 }
Exemplo n.º 3
0
 public StrategyDataItemInfo DataItem(string fieldName, string formatString)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, FormatString = formatString
     });
     return(DataItemInfos.Last());
 }
Exemplo n.º 4
0
 public StrategyDataItemInfo EnumItem(string fieldName)
 {
     DataItemInfos.Add(new StrategyDataItemInfo()
     {
         FieldName = fieldName, Visibility = DataVisibility.Table
     });
     return(DataItemInfos.Last());
 }
Exemplo n.º 5
0
 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());
 }