Summary: | forecast graph uses scientific notation for balance amount | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Jack <ostroffjh> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jack
2010-07-21 17:51:37 UTC
Just got a mail from Sebastian Sauer (KDAB) explaining how to do it: Sure. By reimplementing the AbstractAxis::customizedLabel method it's possible to just provide any formatting. Please see here in the attached Timeline plotter sample the timeaxis.cpp which I just changed to return *always* a scientific notation. ------------------------------------------------- Noted down here as a reminder for the fix SVN commit 1153291 by asoliverez: Reimplement how the labels for the abscissa axis are generated. There's room for improvement (choose an optimized precision based on the report accounts, format as money, etc.) BUG:245335 M +1 -0 CMakeLists.txt A kbalanceaxis.cpp [License: GPL (v2+)] A kbalanceaxis.h [License: GPL (v2+)] M +2 -1 kreportchartview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1153291 |