Skip to main content
A newer version of this page is available. .

Combining Different Series Views

  • 3 minutes to read

This document describes limitations that should be taken into account when plotting series of different view types together on the same chart control.

The DevExpress ASP.NET Chart Control allows you to combine series of different view types into a single chart, and display them simultaneously. For instance, you can combine bars and lines together on the same diagram as shown in the images below.

SeriesView_CompositeChart.png

Note

Series of different view types can be plotted within the same diagram, if their view types support the same diagram type.

Furthermore, the type of a chart’s diagram is determined by the view type of the first visible series in the chart’s collection. The Diagram object is equal to null (Nothing in Visual Basic) until the chart has at least one series.

It is not possible to plot 2D and 3D series, or a Pie series and a Bar series, because their diagram types are different - so you can only plot two independent chart controls side-by-side.

The following image demonstrates two charts with different diagram types (XY-Diagram and XY-Diagram 3D). Each chart contains series of different view types, adapted for the diagram type.

IntroducingXtraCharts_3

The following table lists the available diagram types, and series view types they support.

2D Diagram Type Compatible Series View Types
SimpleDiagram Pie Chart, Doughnut Chart, Nested Doughnut Chart and Funnel Chart
SwiftPlotDiagram Swift Plot
XYDiagram Area Chart, Bubble Chart, Candle Stick Chart, Full-Stacked Area Chart, Full-Stacked Bar Chart, Full-Stacked Spline Area Chart, Line Chart, Overlapped Range Bar Chart, Point Chart, Scatter Line Chart, Side-by-Side Bar Chart, Side-by-Side Stacked Bar Chart, Side-by-Side Full-Stacked Bar Chart, Side-by-Side Range Bar Chart, Spline Area Chart, Spline Chart, Stacked Area Chart, Stacked Bar Chart, Stacked Spline Area Chart, Step Line Chart and Stock Chart
GanttDiagram Overlapped Gantt Chart and Side-by-Side Gantt Chart
RadarDiagram Radar Area Chart, Radar Line Chart, Scatter Radar Line Chart and Radar Point Chart
PolarDiagram Polar Area Chart, Polar Line Chart, Scatter Polar Line Chart and Polar Point Chart
3D Diagram Type Compatible Series View Types
SimpleDiagram3D Pie Chart and Doughnut Chart
XYDiagram3D Area Chart, Full-Stacked Area Chart, Full-Stacked Bar Chart, Full-Stacked Spline Area Chart, Line Chart, Manhattan Bar Chart, Side-by-Side Bar Chart, Side-by-Side Stacked Bar Chart, Side-by-Side Full-Stacked Bar Chart, Spline Area Chart, Spline Chart, Stacked Area Chart, Stacked Bar Chart, Stacked Spline Area Chart and Step Line Chart
FunnelDiagram3D Funnel Chart

For more detailed information on each diagram type, refer to the corresponding document in the Diagram section of the documentation.

Note

Auto-executable sample projects that combine 2D or 3D series view types are available in the DevExpress Code Central database, which you can download from How to combine several charts on a single 2D XY-diagram and How to combine several charts on a single 3D XY-diagram.

See Also