After formattting data points (changing colors) in a calc graph is not shown in Legend. see attached picture.

(Edit: activated screenshot -AK)
      
    After formattting data points (changing colors) in a calc graph is not shown in Legend. see attached picture.

(Edit: activated screenshot -AK)
To return to normal, you must Reset Data Point. Then, to change color in legend and chart, you must choose Format Data Series…, not Format Data Point….

Tested with LibreOffice 6.4.7.2 (x86); OS: Windows 6.1.
Add Answer is reserved for solutions. If you think the answer is not satisfactory, add a comment below, or click edit (below your question) to add more information. Thanks.
Check the mark (
 → 
) to the left of the answer that solves your question.