<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Calc XY (scatter) chart Sort by x values has wrong x,y in tooltip"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=37407#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Calc XY (scatter) chart Sort by x values has wrong x,y in tooltip"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=37407">bug 37407</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>(In reply to Leyan from <a href="show_bug.cgi?id=37407#c14">comment #14</a>)
<span class="quote">> The bug is still present in version: 7.1.0.0.alpha1+
>
> I had a look, it is due to the "sort by X value" being done in the view part
> (in VDataSeries::doSortByXValues()) without updating the model data, while
> the tooltip text is generated by lcl_getDataPointValueText in
> ObjectNameProvider.cxx in the controller part, which has access to the model
> data, but not the view data and the VDataSeries correctly sorted.
>
> Does it mean the sort should be done elsewhere and apply to the model data
> as well?</span >
Good job! Would you be interested in proposing a patch?
Indeed, it seems you made most of the way for this since I suppose you:
- downloaded LO sources
- built it
- analyzed the code + found root cause
- began to think about a fix
So the only things to do would be:
- provide license statement (just an email on LO dev)
- create gerrit account
- submit a patch
If yes, here's a link to take a look:
<a href="https://wiki.documentfoundation.org/Development/GetInvolved">https://wiki.documentfoundation.org/Development/GetInvolved</a></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>