Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specificities for 1 column data #33

Closed
dragoudin opened this issue Sep 5, 2022 · 4 comments
Closed

Add specificities for 1 column data #33

dragoudin opened this issue Sep 5, 2022 · 4 comments
Labels
enhancement Enhancement of existing functionality

Comments

@dragoudin
Copy link
Contributor

What feature do you want to see added?

In the case of 1 column data only, it would be good to have for Overview / History area consistent data (because if one column, it will be full green...).
In this case, in overview and history we would like to see the first level of data:

  Atkie1
  Atkie2
  Atkie3...

Usually, my use of this plugin is for 1 column data (and I will create multiple report for each column). I want to see the repartition of data for each column parameter

Upstream changes

No response

@dragoudin dragoudin added the enhancement Enhancement of existing functionality label Sep 5, 2022
@simonsymhoven
Copy link
Member

Hi @dragoudin, thanks for you request. Please can you provide more details? I am not sure if I understand what you exactly mean.

@dragoudin
Copy link
Contributor Author

Hi
I consider the example provided. If we consider that we have only one column (for example "incorrect" only).
In the overview, we will get only "incorrect" (100% of my data).
So in case of one column, instead having statistics for each column, it would be better to have statistics on top level rows (Atkie1...). These data would be more suggestive.

In case of multiple columns, then for overview, viewing each proportions of columns make sense.

image

@simonsymhoven
Copy link
Member

@dragoudin
I implemented this request, can you please have a look at it:

Bildschirmfoto 2022-09-06 um 09 55 55

The color mapping will be quite long, because you need a color for each item, e.g.:

{
  "items": [
    {
      "id": "Aktie",
      "name": "Aktie",
      "items": [
        {
          "id": "Aktie_1",
          "name": "Aktie 1",
          "result": {
            "incorrect": 3541
          }
        },
        {
          "id": "Aktie_2",
          "name": "Aktie 2",
          "result": {
            "incorrect": 4488
          }
        },
        {
          "id": "Aktie_3",
          "name": "Aktie 3",
          "result": {
            "incorrect": 2973
          }
        }
      ]
    },
    {
      "id": "Not_Found",
      "name": "Not_Found",
      "result": {
        "incorrect": 8701
      }
    },  
    {
      "id": "Renten",
      "name": "Renten",
      "items": [
        {
          "id": "Rente_1",
          "name": "Rente1",
          "result": {
            "incorrect": 5762
          }
        },
        {
          "id": "Rente_2",
          "name": "Rente2",
          "result": {
            "incorrect": 2271
          }
        }
      ]
    },
    {
      "id": "Derivat",
      "name": "Derivat",
      "result": {
        "incorrect": 2271
      }
    }
  ],
  "colors": {
    "Aktie": "#EF9A9A",
    "Aktie_1": "#FFF59D",
    "Aktie_2": "#A5D6A7",
    "Aktie_3": "#FFCE30",
    "Not_Found": "#E83845",
    "Renten": "#E389B9",
    "Rente_1": "#746AB0",
    "Rente_2": "#288BA8",
    "Derivat": "#0088FF"
  }
}

@simonsymhoven
Copy link
Member

closed by #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants