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.
Description
Status | Assigned | Task | ||
---|---|---|---|---|
Wontfix | None | T23104 Deprecate QmitkPlotWidget | ||
Wontfix | None | T26070 Stacked Data ignores set chart type |
Event Timeline
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.
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