North America
Europe
Asia
Stacked line series visualize cumulative values (you need to add more than one series). The topmost series displays the total of all available values. Follow the steps below to create a stacked line series:
- Use the DxChart.Data property to specify a data source.
- Add a DxChartStackedLineSeries object to chart markup.
- Use series ArgumentField and ValueField properties to specify data source fields that supply arguments and values for chart points.
- Optional. Specify series Filter and SummaryMethod properties to filter and aggregate series values. This demo filters data by region. It also groups arguments by date and calculates aggregate values using the
Enumerable.Sum
method.
Each series can specify its data via the Data property.
Line-based series support point markers and labels. Use checkboxes to show or hide these elements.