Skip to main content

How to: Create a 3D Full-Stacked Area Chart

  • 2 minutes to read

The following example demonstrates how to create a 3D Full-Stacked Area chart. To do this, it is necessary to assign the ChartControl.Diagram property to XYDiagram3D, and then add two AreaFullStackedSeries3D objects with points to the diagram’s Diagram.Series collection.

Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports System.Windows.Navigation
Imports System.Windows.Shapes

Namespace FullStackedArea3DChart
    ''' <summary>
    ''' Interaction logic for Window1.xaml
    ''' </summary>
    Partial Public Class Window1
        Inherits Window
        Public Sub New()
            InitializeComponent()
        End Sub
    End Class
End Namespace