Skip to main content

SeriesPoint3DDataSourceAdapter.DataSource Property

Gets or sets the data source which should be visualized.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v21.2.dll

Declaration

public object DataSource { get; set; }

Property Value

Type Description
Object

The data source object.

Example

In this example the manually created series will be populated with randomly generated points.

The following classes and properties are used in this example.

Class or Property Description
Chart3DControl.SeriesSource The series source of the Chart3D control.
Series3DStorage The storage of manually created series.
Series3D An individual series.
Series3DBase.View The view of the series.
Bar3DSeriesView The Bar series view.
Series3D.PointSource The source of series points.
SeriesPoint3DDataSourceAdapter Converts data objects to series points.

View Example

Namespace Bar3DChart
   Public Class Point
        Private privateX As Double
        Public Property X() As Double
            Get
                Return privateX
            End Get
            Private Set(ByVal value As Double)
                privateX = value
            End Set
        End Property
        Private privateY As Double
        Public Property Y() As Double
            Get
                Return privateY
            End Get
            Private Set(ByVal value As Double)
                privateY = value
            End Set
        End Property
        Private privateZ As Double
        Public Property Z() As Double
            Get
                Return privateZ
            End Get
            Private Set(ByVal value As Double)
                privateZ = value
            End Set
        End Property

        Public Sub New(ByVal x As Double, ByVal y As Double, ByVal z As Double)
            Me.X = x
            Me.Y = y
            Me.Z = z
        End Sub
   End Class
End Namespace
See Also