odoo/o-spreadsheet#6072

Created by BI, Rémi Rahir (rar)
Merged at f8e4e3f89aa70205b47303013c6b31e8793c96a9

Statuses:

label
odoo:saas-17.4-chart-dpr-rar
head
cd323a2eb8d4d34279f54bca05c66bfd15c79ee0
merged
8 months ago by BI, Lucas Lefèvre (lul)
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

[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