Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kbalancechartdlg.cpp
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 68 | if (grp.isValid()) { | |||
---|---|---|---|---|---|
69 | saveDialogSize(grp); | 69 | saveDialogSize(grp); | ||
70 | } | 70 | } | ||
71 | } | 71 | } | ||
72 | 72 | | |||
73 | KReportChartView* KBalanceChartDlg::drawChart(const MyMoneyAccount& account) | 73 | KReportChartView* KBalanceChartDlg::drawChart(const MyMoneyAccount& account) | ||
74 | { | 74 | { | ||
75 | MyMoneyReport reportCfg = MyMoneyReport( | 75 | MyMoneyReport reportCfg = MyMoneyReport( | ||
76 | MyMoneyReport::eAssetLiability, | 76 | MyMoneyReport::eAssetLiability, | ||
77 | MyMoneyReport::eMonths, | 77 | MyMoneyReport::Column::Months, | ||
78 | MyMoneyTransactionFilter::last3ToNext3Months, | 78 | MyMoneyTransactionFilter::last3ToNext3Months, | ||
79 | MyMoneyReport::eDetailTotal, | 79 | MyMoneyReport::eDetailTotal, | ||
80 | i18n("%1 Balance History", account.name()), | 80 | i18n("%1 Balance History", account.name()), | ||
81 | i18n("Generated Report") | 81 | i18n("Generated Report") | ||
82 | ); | 82 | ); | ||
83 | reportCfg.setChartByDefault(true); | 83 | reportCfg.setChartByDefault(true); | ||
84 | reportCfg.setChartGridLines(false); | 84 | reportCfg.setChartGridLines(false); | ||
85 | reportCfg.setChartDataLabels(false); | 85 | reportCfg.setChartDataLabels(false); | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |