diff options
author | Sonja Galovic <galovicsonja@gmail.com> | 2022-04-30 21:01:57 +0200 |
---|---|---|
committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-04-30 21:01:57 +0200 |
commit | b1c19a1729f5a875ab486e06d5bc70c9d59cc44c (patch) | |
tree | b5056687a127d2b349b1f4434a5a26dd82f616c9 /backend | |
parent | 1c723f051d723a743718f11c69e39b7913235bb7 (diff) |
Regulisan odabir kolona i zatamnjenje kolona koje su unchecked (column-table). Backend: u klasu Experiment dodat type i u ColumnInfo columnType. Frontend: u ColumnInfo columnType. Promenjene boje boxplota.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/api/api/Models/ColumnInfo.cs | 4 | ||||
-rw-r--r-- | backend/api/api/Models/Experiment.cs | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/backend/api/api/Models/ColumnInfo.cs b/backend/api/api/Models/ColumnInfo.cs index 04450fef..be3c7251 100644 --- a/backend/api/api/Models/ColumnInfo.cs +++ b/backend/api/api/Models/ColumnInfo.cs @@ -4,9 +4,10 @@ { public ColumnInfo() { } - public ColumnInfo(string columnName, bool isNumber, int numNulls, float mean, float min, float max, float median, string[] uniqueValues) + public ColumnInfo(string columnName, string columnType, bool isNumber, int numNulls, float mean, float min, float max, float median, string[] uniqueValues) { this.columnName = columnName; + this.columnType = columnType; this.isNumber = isNumber; this.numNulls = numNulls; this.mean = mean; @@ -17,6 +18,7 @@ } public string columnName { get; set; } + public string columnType { get; set; } public bool isNumber { get; set; } public int numNulls { get; set; } public float mean { get; set; } diff --git a/backend/api/api/Models/Experiment.cs b/backend/api/api/Models/Experiment.cs index 6f665c52..f7bec083 100644 --- a/backend/api/api/Models/Experiment.cs +++ b/backend/api/api/Models/Experiment.cs @@ -10,6 +10,7 @@ namespace api.Models public string _id { get; set; } public string name { get; set; } public string description { get; set; } + public string type { get; set; } public List<string> ModelIds { get; set; } public string datasetId { get; set; } public string uploaderId { get; set; } |