odoo/o-spreadsheet#6228

Created by fw-bot
Merged at bbca47ef68018f2cb44733f8b2d2caad78a65fa5

Statuses:

label
odoo:saas-18.3-saas-17.4-chart-dpr-rar-432495-fw
head
a811f8e8b48cd9fb2802d885be74f8cd9d891bbf
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