Bug 151927 - Invisible Chart lines and labels. Fix: Add Option: Chart default background-color
Summary: Invisible Chart lines and labels. Fix: Add Option: Chart default background-c...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2022-11-06 08:11 UTC by lopeonline
Modified: 2023-05-10 11:05 UTC (History)
2 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 lopeonline 2022-11-06 08:11:15 UTC
Description:
The Chart grid lines and Axis labels/legends etc are all invisible.
Because it's using the default text color (set to white) for grid lines and all labels. But then it's not using the cell default background color for the chart background, it's using (hard-coded) white as the chart background.

So it's white lines and white text on white background = Everything Invisible.


Steps to Reproduce:
1. Set default colors
Tools > Options > LibreOffice > Application Colors > General
Document Background > Black
Application Background > Black
Font Color > White

2. Enter cell data
Name Value
Red    1
Green  2
Blue   3

3. Select those cells
4. Insert > Chart


Actual Results:
Chart lines and legend and labels are all invisible, white on white.

Expected Results:
There should be an option for default chart background color,
that should be used,
instead of hard-coding chart background white.
Millions of people use dark mode.
LibreOffice doesn't have "dark mode" but lots of people (myself incl) use a grey theme and setup the colors as above, to get close to a dark-mode.
This works fine for cells, but setting font-color to white breaks Charts; because there is no option for chart default background color.



Reproducible: Always


User Profile Reset: Yes

Additional Info:
Manually fixing an invisible chart:
Finish creating the chart, then
1. Right click the chart
2. Format chart area
3. Click Area tab
4. Click Color button
5. Under Colors and Palette: Click (Dark Grey color)
6. Click OK
Comment 1 Rafael Lima 2022-11-06 14:08:41 UTC
In LibreOffice 7.4 you can go to Tools - Options - Application Colors and choose the LibreOffice Dark color scheme.

The chart background will still be white, but the lines will work as expected.
Comment 2 Heiko Tietze 2023-02-27 16:01:16 UTC
Chart lines are #B3B3B3 for me, visible on white and black canvas; and not dependent on application colors. There are special Chart colors settings in tools > options, yet not including the grid lines.

So I cannot confirm the issue, and changing the color to automatic sounds wrong to me.
Comment 3 Heiko Tietze 2023-05-10 11:05:21 UTC
No response, resolving ID.