Bar

Population: Age Structure
Data Estimate for 2020
0-14 years
15-64 years
65 years and older

Bar series visualize data as rectangular bars. Follow the steps below to create a bar series:

  1. Use the DxChart.Data property to specify a data source.
  2. Add a DxChartBarSeries object to chart markup.
  3. Use series ArgumentField and ValueField properties to specify data source fields that supply arguments and values (bars).
  4. 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.Sum method.

The DxChart component allows you to add multiple series objects to component markup. Each series can specify data used via the Data property.