Bug 339697

Summary: Legeng in report showes 7 first entries(first 7 categories) instead of 7 most valueble acording to the chart.
Product: [Applications] kmymoney Reporter: Octopuss <spm5243>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 4.6.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.0
Attachments: Image of the issue

Description Octopuss 2014-10-05 11:47:30 UTC
The report "Income and Expense" (and all others) create a legend acourding to appearing of entrances by date, not by value.

Reproducible: Always

Steps to Reproduce:
1. Create more than 7 categories
2. Enter entries into the ledger (by one of each categrory)
3. Open the report

Actual Results:  
You see the legend, with only 7 first categories of entries you entered in the ledger. Not the categories with the most expens or income.

Expected Results:  
A legend, where the most valuable category stand at the first row and so on.
Comment 1 Octopuss 2014-10-05 11:49:00 UTC
Created attachment 88974 [details]
Image of the issue
Comment 2 NSLW 2017-09-11 19:03:56 UTC
Git commit b433b0d22cebc5593b159b0e2d7f61c1b0c030ec by Łukasz Wojniłowicz.
Committed on 11/09/2017 at 16:52.
Pushed by wojnilowicz into branch 'master'.

Show most valuable entries in legend
FIXED-IN:5.0
Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>

M  +34   -2    kmymoney/reports/kreportchartview.cpp

https://commits.kde.org/kmymoney/b433b0d22cebc5593b159b0e2d7f61c1b0c030ec