KPI charts by category
We now display KPI charts with a single line representing the total
of each run:
In a future version, I would like to be able to select one of the parameters of the execution (institute.code
, crop
, historic
or year
in the case below) and have the chart display individual lines for each category of the selected parameter.
Example: If I select year
, then I expect the chart to show a separate line for the distinct values (e.g. 2023, 2022, 2021...) in that category. The API will fetch run
data, summarize it by the selected parameters (for each included run), and return to the UI a response that can be conveniently used to display the chart.
@ahrybeniuk this requires a new API endpoint.