odoo / o-spreadsheet

Other
193 stars 44 forks source link

[IMP] charts: disable legend for single dataset #4600

Closed anhe-odoo closed 2 months ago

anhe-odoo commented 3 months ago

Task Description

When drawing a chart with only one dataset, we are allowed to choose the position of the legend but no legend will appears even after changing the position. This commit aims to fix thie issue, disabling the select box allowing to change the legend position.

The chart padding has also been adapted to have more padding when there is no title/legend.

Related Task

review checklist

robodoo commented 3 months ago

Pull request status dashboard