[Libreoffice-bugs] [Bug 37407] Calc XY (scatter) chart Sort by x values has wrong x, y in tooltip

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 14 22:23:26 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=37407

--- Comment #14 from Leyan <ouyang.leyan at hotmail.com> ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201114/98c395fe/attachment.htm>


More information about the Libreoffice-bugs mailing list