datavisyn / visyn_core

BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Bar plot #89

Open dvchristianbors opened 12 months ago

dvchristianbors commented 12 months ago
### Bar plot issues and improvements
- [x] Fix horizontal/vertical dialog in settings (currently, you always have to toggle twice to make it work)
- [x] If faceting, show plots below each other, introducing a scroll area so that plots can be scrolled through vertically
- [x] Also support negative values (allowing a negative axis)
- [x] Categorical colors from column in ranking
- [x] Bin numerical values in group column and assign blue scheme color scale
- [x] Handle bar selection
- [x] Display inbound selection as opaque + transparent bar
- [ ] https://github.com/datavisyn/visyn_core/issues/478
- [ ] https://github.com/datavisyn/communication_xaira_ordino/issues/28
- [ ] Add categorical column, aggregation type, and aggregation column to chart title (instead of common legend)
- [ ] Twice grouped bar plot (stacked bars) - Add a label within the bars that indicates the category
- [ ] Twice grouped bar plot (grouped bars) - Do not show label, as it could lead to overplotting, only show the labels on mouseover
- [ ] Horizontal bars: Introduce a heuristic for prioritizing label length - Show a maximum of up to 50 characters, after that ellipsize the label. Make bar width smaller to account for the increased label width. If stacked bar plots show labels within the plot, make the labels shorter to account for longer labels within the plot
- [ ] Only show bars for existing values (when creating stacked bars, omit plotting 'undefined' bars, and also adjust the remaining bar heights -- https://stackoverflow.com/questions/47390740/hide-empty-bars-in-grouped-stacked-bar-chart-chart-js
- [ ] Downloaded screenshot is clipped: https://github.com/datavisyn/visyn_core/issues/479
### fGSEA - Protein abundance plot
- [x] Make axis labels readable
- [ ] Sort does not work as expected
### Protein Summary - Protein abundance plot
- [x] Bars are too narrow
- [x] Bar plot does not update when comparison results change
- [x] Color bar plots by condition, not channel
- [x] Only show one plot per row, make view scrollable and show facets below each other

User stories

dv-usama-ansari commented 3 months ago

.