Bug 391067

Summary: Displayed diagram data values do not follow locale settings
Product: [Applications] kdiagram Reporter: Ralf Habacker <ralf.habacker>
Component: KChartAssignee: Dag Andersen <dag.andersen>
Status: REOPENED ---    
Severity: normal CC: jk
Priority: NOR    
Version: 2.8.0   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 4.8.2
Sentry Crash Report:
Attachments: screenshot

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.