Chart Category Groups is the optional mechanism of grouping data that provides the labels for chart elements. For example, in a column chart, Country Name fields placed in the Category region generate country labels for x-axes (United States, Italy, and so forth). You can nest categories. Multiple categories nest x-axes labels. For example, in a column chart with sales data, the first category group could be a county, and the second category group could be TerritoryId. The column chart would display groupings of products by TerritoryId on the x-axis. Following is the RDL that describes a Category grouping. From this point forward, the section surrounded by the <CategoryGroupings> tag is abbreviatedas {CATEGORY GROUPS}. <CategoryGroupings> <CategoryGrouping> <DynamicCategories> <Grouping Name="chart1_CategoryGroup1"> <GroupExpressions> <GroupExpression>=Fields!SalesOrderNumber.Value</GroupExpression> </GroupExpressions> </Grouping> <Label>=Fields!SalesOrderNumber.Value</Label> </DynamicCategories> </CategoryGrouping> </CategoryGroupings> |