The following example demonstrates how to create a DevExpress.XtraCharts.ChartControl with series of the StackedLineSeriesView type, and add this chart to a form at runtime. Before proceeding with this example, first create a Windows Forms Application in Visual Studio, and include all necessary assemblies to the References list of your project.
Then, add the following code to the Form.Load event handler.↧