odoo/o-spreadsheet#7292

Created by fw-bot
Merged at 4a7bdf00ec926fdcf9c4f3e8765db3f9ec7a616c

Statuses:

label
odoo:saas-18.2-18.0-chart-show-value-clip-adrm-466615-fw
head
b894ff83f95f89acf3fcb28564bc2efd3568244e
merged
4 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