Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kbalancechartdlg.cpp
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | 90 | MyMoneyReport reportCfg = MyMoneyReport( | |||
---|---|---|---|---|---|
91 | MyMoneyReport::eAssetLiability, | 91 | MyMoneyReport::eAssetLiability, | ||
92 | MyMoneyReport::eMonths, | 92 | MyMoneyReport::eMonths, | ||
93 | MyMoneyTransactionFilter::last3ToNext3Months, | 93 | MyMoneyTransactionFilter::last3ToNext3Months, | ||
94 | MyMoneyReport::eDetailTotal, | 94 | MyMoneyReport::eDetailTotal, | ||
95 | i18n("%1 Balance History", account.name()), | 95 | i18n("%1 Balance History", account.name()), | ||
96 | i18n("Generated Report") | 96 | i18n("Generated Report") | ||
97 | ); | 97 | ); | ||
98 | reportCfg.setChartByDefault(true); | 98 | reportCfg.setChartByDefault(true); | ||
99 | reportCfg.setChartGridLines(false); | 99 | reportCfg.setChartCHGridLines(false); | ||
100 | reportCfg.setChartSVGridLines(false); | ||||
100 | reportCfg.setChartDataLabels(false); | 101 | reportCfg.setChartDataLabels(false); | ||
101 | reportCfg.setChartType(MyMoneyReport::eChartLine); | 102 | reportCfg.setChartType(MyMoneyReport::eChartLine); | ||
102 | reportCfg.setIncludingForecast(true); | 103 | reportCfg.setIncludingForecast(true); | ||
103 | reportCfg.setIncludingBudgetActuals(true); | 104 | reportCfg.setIncludingBudgetActuals(true); | ||
104 | if (account.accountType() == MyMoneyAccount::Investment) { | 105 | if (account.accountType() == MyMoneyAccount::Investment) { | ||
105 | QStringList::const_iterator it_a; | 106 | QStringList::const_iterator it_a; | ||
106 | for (it_a = account.accountList().begin(); it_a != account.accountList().end(); ++it_a) | 107 | for (it_a = account.accountList().begin(); it_a != account.accountList().end(); ++it_a) | ||
107 | reportCfg.addAccount(*it_a); | 108 | reportCfg.addAccount(*it_a); | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |