odoo/o-spreadsheet#7531
Created by BI, Adrien Minne (adrm)
- label
- odoo:master-smart-chart-calendar-adrm
- head
- d6582eb0ce715ceed58cb6dd5f6b1e18f43c5573
| odoo/o-spreadsheet | |
|---|---|
| master | #7531 missing r+ |
[IMP] calendar chart: automatically detect calendar charts
Description:
[FIX] calendar chart: hide scales borders
The calendar chart grid lines aren't shown, but the borders between
chartArea and the ticks labels was still shown. Depending on the
screen, zoom, and size of the chart, the border would be more or less
visible. This commit hides these borders.
[IMP] demo: add calender chart demo data
[FIX] calendar chart: fix typing
The type CalendarChartGranularity would accept granularities that
are only valid for pivots and not for calendar charts.
[IMP] calendar chart: automatically detect calendar chart
If a chart is created on a dataset with dates in the first column
and numbers in the second column, we should create a calendar chart
by default.
Task: 5357420
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