odoo/o-spreadsheet#8624

Created by BI, Adrien Minne (adrm)

Blocked

label
odoo:master-scorecard-data-source-adrm
head
21e1d8445250f5f092cf129353a6ed71dd28dfde
odoo/o-spreadsheet
master #8624 missing r+

[REF] charts: add dataSources to gauge/scorecards

Description

Scorecard and gauge do not use data sources like the other charts. This commit changes it, and make them use data sources as well.

The biggest difference is that now the data sources can result style as well as cell content.

Some other changes:
- the scorecard/gauge now have the use row X as header as the other charts. It's not great.
- the ChartLabelRange component was deleted. It was only used once, and had no business logic.

Task: 6180128

review checklist