<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILESAVE ODS Link to source format setting not always saved in chart data label"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131979">131979</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE ODS Link to source format setting not always saved in chart data label
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Chart
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>balazs.varga991@gmail.com, nemeth@numbertext.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>75057
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=159409" name="attach_159409" title="Example file from Calc">attachment 159409</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=159409&action=edit" title="Example file from Calc">[details]</a></span>
Example file from Calc

In Calc when a chart is added and data labels are turned on, they by default
get the Source Format setting turned on. However if this is turned off for a
certain data point, this setting is not saved to the file, leading to the
custom format being reset when the Format Number dialog is opened.


Steps to reproduce:
1.      In Calc add some numbers to cells. Create a simple bar chart from them.
2.      Edit the chart, turn on Data Labels for the data series.
3.      Edit one data point, press the Data Labels tab – Number format button
4.      In the Number Format dialog uncheck the Source Format box and select
some number format, such as Scientific
5.      Save the file as ODS and reopen

Actual results:
When the file is opened in current master the scientific formatting is lost. In
6.3 it was lost only when the Label for Data Series dialog was opened.

Expected results:
Custom number format retained when Label for Data Series dialog is opened and
closed without changing anything.

LibreOffice details:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 95ec2e9b024ff12a3005777c902d7e0975460b1d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GL; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] OOXML Chart object issues"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=75057">Bug 75057</a>] [META] OOXML Chart object issues
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>