Closed MelinaGoula closed 4 months ago
Comparison of stacked bar chart functions
Previous (stacked_chart
)
Rewrite (horizontal_grouped_bar_chart
)
Example of (vertical_grouped_bar_chart
)
Functionality that was not carried over from multi_linechart
to multi_linechart_test
(the temporary new version):
Example plot with multi_linechart
showing a lot of the functionality
Recreated with multi_linechart_test
:
I am not sure how to deal with legend placement in cases like this where there is not a lot of free space. One alternative is to follow the previous format of having multiple columns in the legend which would look like this:
I am not sure how to deal with legend placement in cases like this where there is not a lot of free space. One alternative is to follow the previous format of having multiple columns in the legend which would look like this:
Have you considered having the legend always outside the plot? This could help with consistency no matter the data being plotted!
Functionality that was not carried over from multi_linechart to multi_linechart_test (the temporary new version): .... Recreated with multi_linechart_test:
I think the ticks would be an important feature for this graph type which we often use for timeseries. In our demos people are always trying to pinpoint the specific date that graphed events happen. Maybe dark ticks for the labelled points and lighter ticks for the others as a default?
@MelinaGoula your 3 new charting functions are very elegant compared with the old versions, well done! See a few comments above.
I have made the following changes and I think this is ready for re-review:
One thing I think can be done in the future to improve the code structure is to not have as many function parameters passed in the helper functions, but this can be probably only be done by refactoring the code.
Functions to review:
horizontal_grouped_bar_chart
vertical_grouped_bar_chart
multi_linechart_test