Project: Birt
Bug 281940 Improve the usability of the aggregation function
Reported: 2009-06-29 22:37:02 | Status: verified fixed

Since the category grouping is enabled by default, SUM aggregation is set as default aggregation function. However, user may not know the categories are groupied and the Y values are aggregated, especially for constant value. Hence, we should improve the usability of the grouping and aggregation function so that it's more apparent to see them enabled or not. Following enhancements could be done with little UI change: 1. If aggregation function (such as SUM) is set to the query, the text field or combo should change the tooltip like this: SUM(row["name"]), rather than previous row["name"]. 2. If grouping is disabled, change the icon of grouping and sorting button. The icon could be current one appending a red cross. If grouping is enabled, the icon is the same with current one.

Files changed in fix:
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/AggregateEditorComposite.java chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/BaseDataDefinitionComponent.java chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/swt/DataDefinitionTextManager.java chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/swt/IQueryExpressionManager.java