Skip to main content

How to: Create a 2D Range Area Chart

The following example demonstrates how to create a 2D Range Area chart. To do this, it is necessary to assign the ChartControl.Diagram property to XYDiagram2D, and then add a RangeAreaSeries2D object with points to the diagram's Diagram.Series collection.

Also, this example shows how to add a chart title and to hide markers and labels for both series to improve the chart's appearance.