Bug 159703 - Chart date category display wrong date when only one category exists
Summary: Chart date category display wrong date when only one category exists
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
3.4.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Chart-Labels
  Show dependency treegraph
 
Reported: 2024-02-13 10:33 UTC by Piet
Modified: 2024-02-28 12:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of bar chart with one data row and with multiple data rows (39.10 KB, image/png)
2024-02-13 10:33 UTC, Piet
Details
Sample file demonstrating the bug (18.71 KB, application/vnd.oasis.opendocument.text)
2024-02-15 13:55 UTC, Piet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piet 2024-02-13 10:33:18 UTC
Created attachment 192535 [details]
Screenshot of bar chart with one data row and with multiple data rows

When creating a bar chart in Writer or Calc and adding only one data row and specifying a date for the category, the displayed date category reverts back to 1 January 20XX in stead of displaying the right month and day of the year. When adding a second data row with another date fixes displaying the right months, although it reverts back to first day of the month (which might be intended behaviour). See attached screenshots.
Comment 1 m_a_riosv 2024-02-15 12:55:25 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 2 Piet 2024-02-15 13:55:47 UTC
Created attachment 192586 [details]
Sample file demonstrating the bug
Comment 3 Piet 2024-02-15 13:57:47 UTC
(In reply to m_a_riosv from comment #1)
> Please attach a sample file, reduce the size as much as possible without
> private information, and paste the information in Menu/Help/About
> LibreOffice, there is a copy icon.

Sample file provided.

Requested information:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 4 m_a_riosv 2024-02-16 12:17:09 UTC
Reproducible
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 125fc2ce861c82592b261f2992c893b414396e56
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Inherited from Aoo
Comment 5 Stéphane Guillou (stragu) 2024-02-28 12:21:15 UTC
(In reply to m_a_riosv from comment #4)
> Inherited from Aoo
Careful with chart issues, as often it is necessary to enter edit mode on them to see if the preview updates to something different.

With OOo 3.3, double-clicking the chart makes the label disappear.
Date axes only started in 3.4.

Reproduced on Linux in libreoffice-3.4.0rc1 and a recent trunk build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a1a1d8edb9d4a62b747aa7069b3026e2ba75704d
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded