Description: I wrote a macro which creates a chart with two ellipses. But if I save and reopen it, one ellipse disappears. Steps to Reproduce: 1.Open the attached file 2.Click on the Button 3.Save, Close and Reopen the file Actual Results: One ellipse disappears Expected Results: Two ellipses Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.4.4.2 / LibreOffice Community Build ID: 85569322deea74ec9134968a29af2df5663baa21 CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
Created attachment 184999 [details] A file for test
After running the macro, editing the chart, there is only one x-y data. And doing Menu/Tools/Update - Update all, one ellipse disappear. Seems you need to rework the macro. There is https://ask.libreoffice.org/, where if you need you can receive good help about macros.
Hello, You are right. My code was not correct. This is not a bug. I attach a file with working macros. Sorry. Thanks.
Created attachment 185009 [details] A file with correctly working macros