odoo/o-spreadsheet#4957

Created by BI, Hendrickx Anthony (anhe)
Merged at 449782abe4e6a5da824b63efcaeb4faaada22480

Statuses:

label
odoo:master-chart-handle_multiple_combo_bars-anhe
head
9d43b699f483ccf2e9628064e8984ae5a3325d7c
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

[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