Skip to content

Commit

Permalink
Remove reporting period from holdings and taxonomy chart widget
Browse files Browse the repository at this point in the history
Both widgets do not support the reporting period
  • Loading branch information
buchen committed Nov 13, 2023
1 parent d1f8cc3 commit 00a307d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import name.abuchen.portfolio.ui.views.dashboard.ClientFilterConfig;
import name.abuchen.portfolio.ui.views.dashboard.DashboardData;
import name.abuchen.portfolio.ui.views.dashboard.DashboardResources;
import name.abuchen.portfolio.ui.views.dashboard.ReportingPeriodConfig;
import name.abuchen.portfolio.ui.views.dashboard.WidgetDelegate;
import name.abuchen.portfolio.util.TextUtil;

Expand All @@ -33,7 +32,6 @@ protected CircularChartWidget(Widget widget, DashboardData data)
{
super(widget, data);

addConfig(new ReportingPeriodConfig(this));
addConfig(new ClientFilterConfig(this));
addConfig(new ChartHeightConfig(this));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ public class EarningsByTaxonomyChartWidget extends CircularChartWidget<Map<Inves
public EarningsByTaxonomyChartWidget(Widget widget, DashboardData data)
{
super(widget, data);

addConfigAfter(LabelConfig.class, new TaxonomyConfig(this));
addConfigAfter(TaxonomyConfig.class, new ReportingPeriodConfig(this));

// adding in reverse
addConfigAfter(ClientFilterConfig.class, new GrossNetTypeConfig(this));
Expand Down

0 comments on commit 00a307d

Please sign in to comment.