<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 - CHARTS: Bad display on data label in percent stacked chart"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111936">111936</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CHARTS: Bad display on data label in percent stacked chart
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.2.6.2 release
</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>bouron.d@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Data label takes bad format in percent stacked chart. It displays a percent
format with two decimals instead of source format.
Steps to Reproduce:
1. Click on a cell value in Calc. (See attachments)
2. Click on "Insert Chart" button and select "Column" or "Bar" chart type.
3. Select "Percent Stacked"
4. Right click on columns and select "Insert Data Label"
Actual Results:
In attachment "test_number", data label has incoherent formatting (800.00%
instead of 8 for example).
In attachment "test_percent", data label is formatted as percent with two
decimals (7.61% instead of 7.6% for example).
Expected Results:
Data label format should be the same as source, like "Normal" or "Stacked"
chart type.
Reproducible: Always
User Profile Reset: No
Additional Info:
In source code, data label format are defined according to Y axis. In percent
stacked chart, we shouldn't consider this axis but source.
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101
Firefox/55.0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>