Bug 391067 - Displayed diagram data values do not follow locale settings
Summary: Displayed diagram data values do not follow locale settings
Status: REOPENED
Alias: None
Product: kdiagram
Classification: Applications
Component: KChart (show other bugs)
Version: 2.8.0
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-25 21:03 UTC by Ralf Habacker
Modified: 2021-03-09 13:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.2


Attachments
screenshot (63.67 KB, image/png)
2018-02-25 21:03 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2018-02-25 21:03:23 UTC
Created attachment 110996 [details]
screenshot

Data values displayed on report diagrams do not follow locale setting as shown by the appended screenshot. Kmymoney has been configured to using german locale, but the data vales are displayed in english/us style.
Comment 1 Ralf Habacker 2018-02-25 21:06:52 UTC
Git commit 11de5dbcc14a880dd8b74fa8e00c5657e944b713 by Ralf Habacker.
Committed on 25/02/2018 at 21:06.
Pushed by habacker into branch '4.8'.

Fix 'Displayed diagram data values do not follow locale settings'

The fix has been done in local copy of KDChart and needs to be
submitted upstream to the KDChart maintainers.
FIXED-IN:4.8.2

M  +1    -1    libkdchart/src/CMakeLists.txt
M  +3    -23   libkdchart/src/KDChart/KDChartAbstractDiagram_p.cpp
M  +0    -1    libkdchart/src/KDChart/KDChartAbstractDiagram_p.h

https://commits.kde.org/kmymoney/11de5dbcc14a880dd8b74fa8e00c5657e944b713
Comment 2 Ralf Habacker 2021-03-09 13:21:43 UTC
Moved to kdiagram project to allow KF5 builds to benefit from this fix. 
The open question is what is the Qt5 equivalent for calling KGlobal::locale()->formatNumber on the KDE4 variant.