https://bugs.documentfoundation.org/show_bug.cgi?id=168191

            Bug ID: 168191
           Summary: Incorrect labels of X-Axis while creating charts in
                    Calc and Impress in 25.8. Resets to correct labels
                    after reopening saved file.
           Product: LibreOffice
           Version: 25.8.0.4 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Impress Issue: I am not able to change the x-axis labels in Impress. Using the
data table when I try to change the name of the rows from Row1 to New Row1, the
changes don't get reflected at all. The updates in the Column names work fine.
Calc Issue: When I am using numeric values x-axis (e.g., year) and I select
"First column as label", instead of having the values provided as x-axis it
takes 1,2,3,...
Both these issues get resolved when you save the file as an ODP/ODS and reopen
the file.

Steps to Reproduce:
In Impress:
1. Insert > Chart. A Chart appears on the slide
2. View > Data Table. The data table dialog box appears.
3. Change categories from "Row 1" to "New Row 1" or any other name of your
choice
4. Notice that the Row labels don't change.
5. Change the Column Names from "Column 1" to "New Column 1" or any other name
of your choice
6. Notice that the Column Name changes as expected
BUG: Look at the new chart's x-axis labels.

In Calc: 
1. Add the below information in the spreadhseet
Year    Sales (Mn)
2021    55
2022    65
2023    100
2024    125

2. Highlight the 2x5 set of data.

3. Insert > Chart.

4. In the "3. Data Range" step, set:

Data series in columns = ON

First row as label = ON

First column as label = ON

5. Press "Finish" button.

BUG: Look at the new chart's x-axis labels.

Finally: Save both Calc and Impress files and reopen them to see that they have
the right values

Actual Results:
For the Impress Chart: The x-axis labels remain Row 1, Row 2, etc.

For Calc Chart: it shows x-axis labels of:

1 | 2 | 3 | 4

Expected Results:
For the Impress Chart: x-axis labels: New Row 1 | New Row 2| New Row 3| New Row
4
For Calc Chart: x-axis labels : 2021 | 2022 | 2023 | 2024


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.8.1.1 (X86_64)
Build ID: 54047653041915e595ad4e45cccea684809c77b5
CPU threads: 4; OS: Linux 6.16; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to