odoo/o-spreadsheet#5036

Created by fw-bot
Merged at 6c0b2764d9bfc89342707dece778b2cde9a22904

Statuses:

label
odoo:master-master-chart-handle_multiple_combo_bars-anhe-9l_L-fw
head
e7b67ab42019e2c951ad1caaa7d13a8dfec32c5e
merged
1 year ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet
18.0 #4957
saas-18.2
saas-18.3
saas-18.4
19.0
saas-19.1
master #5036

[FW][IMP] charts: handles multiple bars in combo chart

Task Description

This task adds the possibility to choose which series are bar and line in a combo chart, make the user able to change this for each data series in the design pannel.
When there is no bar series in the set, the first one is always considered as a bar chart, to stay consistent with the previous behavior.

Related Task

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo

Forward-Port-Of: #4957