odoo/o-spreadsheet#7293

Created by fw-bot
Merged at 0de6c3310e183bc2e95e8b417e9e4e6b0521b734

Statuses:

label
odoo:saas-18.3-18.0-chart-show-value-clip-adrm-469386-fw
head
fcd1f0e8403f3b8e2011debe86af7615b0828f06
merged
5 days ago by BI, Adrien Minne (adrm)
odoo/o-spreadsheet
18.0 #7225
saas-18.2 #7292
saas-18.3 #7293
saas-18.4 #7294
19.0 #7295
master #7296

[FIX] chart: clip show value text to chart area

Description

The text of the "Show Value" feature can go out of the chart and overlap with the legend/title. This commit clips the text to the chart area.

Task: 5125970

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: #7225