Description
We intend to fund this development as part of an upcoming tender process. This feature request shall start a discussion about how the developed functionality could get upstreamed to the main project.
Issue: The currently enabled line and bar chart widgets are limited by using only x and y parameters. For example, you are not able to chart time x value x type in a line chart with the factor type used as a colour. This additional parameter would result in a multi-line chart. See this current example:
Current line chart implementation for charting time and AVG value for a dataset. You can only pick one colour for the graph resulting in a single line chart.
Objective: To enable grouping of datasets in charts the colour for each line/bar should be set as attribute-based on categorial field values. See this example of the same dataset rendered as Apache Superset line chart:
Example of a line chart with colour as additional grouping level which results in multiple lines.
The metric ‘art’ is used to group by and a colour ramp is fetched to create a multi-line chart.
The same functionality shall be provided for bar charts which will result in stacked charts, like drafted here: