Population: Age Structure
Data Estimate for 2020
Male: 0-14 years
Male: 15-64 years
Male: 65 years and older
Female: 0-14 years
Female: 15-64 years
Female: 65 years and older
Side-by-side stacked bar series plot data as vertically stacked rectangular bars positioned next to one another to visualize and compare cumulative values across different stacks (you must add more than one series of this type). Within a stack, each bar series uses the top of the previous series as its baseline. Follow the steps below to create side-by-side stacked bar series:
- Use the DxChart.Data property to specify a data source.
- Add DxChartStackedBarSeries objects to chart markup. Each series can specify data used via the Data property.
- Use series ArgumentField and ValueField properties to specify data source fields that supply arguments and values (bars).
- Use the Stack property to create a side-by-side stacked bar chart. This demo displays gender-specific stacks.
- Optional. Specify series Filter and SummaryMethod properties to filter and aggregate series values. This demo filters data by age group. It also groups arguments by country and calculates aggregate values using the
Enumerable.Summethod.