odoo/o-spreadsheet#6227

Created by fw-bot
Merged at 660057e76b260d629fef5807d1a7deee99ab29c6

Statuses:

label
odoo:saas-18.2-saas-17.4-chart-dpr-rar-431162-fw
head
585886cfa76296283c3eccc9bcffc948b86a4fc0
merged
8 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
saas-17.4 #6072
18.0 #6165
saas-18.1 #6167
saas-18.2 #6227
saas-18.3 #6228
saas-18.4
19.0
master #6229

[FW][FIX] ChartRuntime: take devicePixelRatio in account

The homebrew charts did not take the devicePixel into account to draw in the canvas which ultimately led to blurry charts in some screens (notably on Macs).

task-4661712

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

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: #6167
Forward-Port-Of: #6072