Page MenuHomePhabricator

Stacked Data ignores set chart type
Closed, WontfixPublic

Description

Setting the chart type to anything but area and enabling 'Stacked data' changes the displayed chart to an area chart, no matter what was initially selected.
Disabling 'Stacked data' again changes the chart back to whatever chart type it had displayed originally.

Event Timeline

kraeuter created this task.

That was a very quick finding. Yes, the current implementation only supports stacked area charts. That means, for now the 'stacked data' option should only be selectable if charty type equals area chart.

The underlying plotting library plot.ly would further support stacked bar charts.

Stacked bar charts are also supported, but handled differently than stacked area charts.

Stacked bar-charts: https://plot.ly/javascript/bar-charts/#stacked-bar-chart
Stacked area-charts: https://plot.ly/javascript/filled-area-plots/#stacked-area-chart

The code for this is almost there but not should be handle more properly.

kislinsk added a project: Auto-closed.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs