Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kbalancechartdlg.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 77 | { | |||
---|---|---|---|---|---|
80 | if (grp.isValid()) { | 80 | if (grp.isValid()) { | ||
81 | KWindowConfig::saveWindowSize(windowHandle(), grp); | 81 | KWindowConfig::saveWindowSize(windowHandle(), grp); | ||
82 | } | 82 | } | ||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | KReportChartView* KBalanceChartDlg::drawChart(const MyMoneyAccount& account) | 85 | KReportChartView* KBalanceChartDlg::drawChart(const MyMoneyAccount& account) | ||
86 | { | 86 | { | ||
87 | MyMoneyReport reportCfg = MyMoneyReport( | 87 | MyMoneyReport reportCfg = MyMoneyReport( | ||
88 | MyMoneyReport::eAssetLiability, | 88 | MyMoneyReport::Row::AssetLiability, | ||
89 | MyMoneyReport::eMonths, | 89 | MyMoneyReport::Column::Months, | ||
90 | eMyMoney::TransactionFilter::Date::Last3ToNext3Months, | 90 | eMyMoney::TransactionFilter::Date::Last3ToNext3Months, | ||
91 | MyMoneyReport::eDetailTotal, | 91 | MyMoneyReport::eDetailTotal, | ||
92 | i18n("%1 Balance History", account.name()), | 92 | i18n("%1 Balance History", account.name()), | ||
93 | i18n("Generated Report") | 93 | i18n("Generated Report") | ||
94 | ); | 94 | ); | ||
95 | reportCfg.setChartByDefault(true); | 95 | reportCfg.setChartByDefault(true); | ||
96 | reportCfg.setChartCHGridLines(false); | 96 | reportCfg.setChartCHGridLines(false); | ||
97 | reportCfg.setChartSVGridLines(false); | 97 | reportCfg.setChartSVGridLines(false); | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |