-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] charts: fix trend line for datetime
Task Description This commit aims to fix a wrong computation for trend line when using date (or datetime) as label. The issue can be reproduced following this: 1. Create a new spreadsheet 2. In A1:A4, enter 1/8, 1/9, 1/10 and 1/12 3. In B1:B4, enter 1, 4, 9 and 25 4. Create a new chart with A1:A4 as labels and B1:B4 as data series 5. Add a polynomial trend line of degree 2 We should have a perfect fit, as we have a quadradic progression with the month number, but it's not the case Related Task: Task: 0 Part-of: #5069 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
- Loading branch information
Showing
3 changed files
with
80 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters