Skip to main content

BubbleSeries3D Class

Represents the 3D Bubble series.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class BubbleSeries3D :
    MarkerSeries3D,
    IXYWSeriesView,
    IXYSeriesView,
    ISeriesView

Example

The following example demonstrates how to create a 3D Bubble chart. To do this, it is necessary to assign the ChartControl.Diagram property to XYDiagram3D, and then add a BubbleSeries3D object with points to the diagram’s Diagram.Series collection.

<Window x:Class="Bubble3DChart.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:dxc="http://schemas.devexpress.com/winfx/2008/xaml/charts" Title="Window1" Height="350" Width="500">
    <Grid>
        <dxc:ChartControl Name="chartControl1">
            <dxc:ChartControl.Diagram>
                <dxc:XYDiagram3D>
                    <dxc:XYDiagram3D.Series>
                        <dxc:BubbleSeries3D ColorEach="True" MinSize="0.3" MaxSize="1" AutoSize="False">
                            <dxc:BubbleSeries3D.Points>
                                <dxc:SeriesPoint Argument="A" Value="10" dxc:BubbleSeries3D.Weight="4" />
                                <dxc:SeriesPoint Argument="B" Value="12" dxc:BubbleSeries3D.Weight="1" />
                                <dxc:SeriesPoint Argument="C" Value="14" dxc:BubbleSeries3D.Weight="3" />
                                <dxc:SeriesPoint Argument="D" Value="17" dxc:BubbleSeries3D.Weight="2" />
                            </dxc:BubbleSeries3D.Points>
                        </dxc:BubbleSeries3D>
                    </dxc:XYDiagram3D.Series>
                </dxc:XYDiagram3D>
            </dxc:ChartControl.Diagram>
        </dxc:ChartControl>
    </Grid>
</Window>

Implements

See Also