Unable to make a clean gradient

Question

https://imgur.com/Mn93Hoe

As see in the pictures above I'm unable to make a clean gradient. From one color to another. Instead there's always a third color in between and no way to edit it.

My goal it to put a mild gradient on my chart background

https://i.imgur.com/Xs6VTWV.png

Version Info

Version: 7.6.4.1 (X86_64) / LibreOffice Community Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded

Posted Feb 24, 2024, 1:06 AM UTC

22
Tex2002ans•

Hmmm, very strange. I did the same settings on my end and it looks fine:

In this version:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
3
wolfkinOP•

Ugh that feels rather limiting featurewise. So if I'm understanding correctly. I can't start blank and create a gradient from scratch. I have to take an existing one and clone and adjust. On top of which even though some of the gradients use more than two colors. I'll only ever be able to adjust the first and last.

2
Tex2002ans•

Ugh that feels rather limiting featurewise. [...] I can't start blank and create a gradient from scratch. I have to take an existing one then clone and adjust. On top of which, even though some of the gradients use more than two colors. I'll only ever be able to adjust the first and last.

Gradients were just expanded in LO 7.6. Before, only 2 colors were allowed.

For more details, see the:

where the dev explained:

Added support for multicolor gradients (Armin Le Grand, allotropia)

LibreOffice 7.6 has a new feature called "multicolor gradients" (MCGR) implemented by Armin Le Grand. A multicolor gradient still goes from a starting color to final color, but now additional colors are possible in between.

Although the 'Gradient' tab in the 'Area' dialog has not yet been adapted to the new feature, you can use such gradients. The document "InfoPresentation MultiColor Gradients LO76.odp" lists hints on what you can already do, and the 'Gradient' list in the dialog contains three multicolor gradient examples.

So, this "Multi-Color Gradients" (MCGR) support is extremely new, plus still being expanded on in the UI and things.

1
wolfkinOP•

Well thank you for the info. I can play with it for now and I'll definitely check out those videos. I don't often watch LO videos but when it's on something I know a little bit about and actually am invested in they're fascinating.

And maybe it came out the wrong way but to be clear I wasn't trying to disparage LO with my last reply I was just trying to make sure I understood the limitations as they currently are. Thanks again for the info.

2
Tex2002ans•

I don't often watch LO videos but when it's on something I know a little bit about and actually am invested in they're fascinating.

Yeah, it's pretty bleeding-edge, newly added stuff, so there isn't very good info/documentation on it yet. And like I said, the UI is still being tweaked/developed for it.

But like I mentioned, you can now use code to generate:

  • Beginning color
  • End color
  • Multi-color stops/colors in between.

And maybe it came out the wrong way but to be clear I wasn't trying to disparage LO with my last reply I was just trying to make sure I understood the limitations as they currently are. Thanks again for the info.

Yep. No problem.

For more info, also see:

and, if you want to see the exact code changes dealing with this, see:

2
AutoModeratorMOD•

IMPORTANT: If you're asking for help with LibreOffice, please make sure your post includes lots of information that could be relevant, such as:

  1. Full LibreOffice information from Help > About LibreOffice (it has a copy button).
  2. Format of the document (.odt, .docx, .xlsx, ...).
  3. A link to the document itself, or part of it, if you can share it.
  4. Anything else that may be relevant.

(You can edit your post or put it in a comment.)

This information helps others to help you.

Important: If your post doesn't have enough info, it will eventually be removed, to stop this subreddit from filling with posts that can't be answered.

Thank you :-)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1