Bug 134190 - Chart line colour change from Sidebar has no effect (have to use Area fill color instead)
Summary: Chart line colour change from Sidebar has no effect (have to use Area fill co...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Chart-Sidebar
  Show dependency treegraph
 
Reported: 2020-06-21 12:39 UTC by Buovjaga
Modified: 2025-11-22 15:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2020-06-21 12:39:25 UTC
1. Open Calc, input some numbers
2. Create a chart, Point and lines
3. In edit mode, select the line
4. Change line colour from the Sidebar Properties tab

No effect even after exiting edit mode. Re-entering edit mode we see the colour we selected in the Sidebar, but still not in the chart.

This appears to always have behaved like this. Tested both on Win and Linux.
Comment 1 Xisco Faulí 2020-07-13 14:42:28 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 00be56d9db396d284f66ab723d6fbb898b888dfb
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Muhammet, I thought you might be interested in this issue
Comment 2 Muhammet Kara 2020-07-14 07:10:18 UTC
A very weird behavior. I can change line color for both the point and graph lines, and the border line of the chart. But I do it in the "Area" panel in the sidebar. The Line panel seems to be doing nothing. And if you click the gear icon (top right corner) of the Line panel, it opens the same dialog as the Area panel.

I think this bug report needs re-evaluation.
Comment 3 Buovjaga 2020-07-14 12:44:55 UTC
(In reply to Muhammet Kara from comment #2)
> A very weird behavior. I can change line color for both the point and graph
> lines, and the border line of the chart. But I do it in the "Area" panel in
> the sidebar. The Line panel seems to be doing nothing. And if you click the
> gear icon (top right corner) of the Line panel, it opens the same dialog as
> the Area panel.
> 
> I think this bug report needs re-evaluation.

How should I re-evaluate it?
Comment 4 Buovjaga 2020-07-14 19:48:59 UTC
Bibisected with win32-5.1. The line panel appeared in https://git.libreoffice.org/core/commit/57dcf78e6b17777f499fd7e7c2ee8d129bf0f79b
provide structure for chart line panel
Comment 5 QA Administrators 2022-07-15 03:44:32 UTC Comment hidden (obsolete)
Comment 6 Stéphane Guillou (stragu) 2023-06-23 13:07:09 UTC
Same in recent master build:

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

As Muhammet said, I have to change the colour in Area for it to change. One would expect to change it in the Line section for a line graph. Double-clicking the line opens the Line tab in the Data Series dialog. And one can change the line style in the sidebar, as expected.
Comment 7 QA Administrators 2025-06-23 03:11:58 UTC Comment hidden (obsolete)
Comment 8 kwikius 2025-11-22 15:59:45 UTC
Title:
Chart line colour ignored when transparency = 0% (line rendered black regardless of chosen colour)

Component:
Chart

Version:
LibreOffice 24.2.7.2

OS:
Linux (Ubuntu 24.04.3 LTS, x86_64)

Description

When formatting a chart data series in Calc, the selected line colour is ignored whenever transparency is set to 0%.
In this case, the line always renders in black, regardless of the colour chosen.
If transparency is set to any non-zero value (e.g. 1% or 5%), the selected colour displays correctly.

This indicates a chart rendering bug where transparency = 0% triggers a fallback to a default black stroke.

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

Steps to Reproduce

Open Calc and create a new spreadsheet.

Enter simple numeric data and insert a line chart or XY (scatter) chart.

Double-click the chart to enter edit mode.

Select a data series.

Right-click → Format Data Series…

In the Line tab:

Choose any non-black line colour (e.g. red).

Ensure line style = Continuous.

Set Transparency = 0%.

The line is rendered black, ignoring the selected colour.

Change transparency to 5% (or any value above 0%).

The line immediately displays in the correct selected colour.

Actual Result

With transparency = 0%, the line always renders in black.

The selected line colour is ignored.

Expected Result

Line should display using the chosen colour even when transparency is 0% (fully opaque).

Additional Information

LibreOffice version: 24.2.7.2

OS: Ubuntu 24.04.3 LTS, 64-bit

VCL backend: gtk3 

The issue occurs with new charts and existing charts.

Workaround: set transparency to any non-zero value (even 1%) to restore correct colour rendering.