Skip to main content

Bubble3DSeriesView.AutoSize Property

Indicates whether bubble sizes are calculated automatically.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public bool AutoSize { get; set; }

Property Value

Type Description
Boolean

true, if bubble sizes should be calculated automatically; otherwise, false.

Remarks

To manually limit the size of bubbles, specify the MinSize and MaxSize properties.

When AutoSize is enabled and series point values (shown along a z-axis) are significantly greater (less) than bubble weights, the Chart may allocate too large (little) space for the z-axis in comparison to the x- and y-axes. In this case, use the Chart3DControl.AspectRatio property to customize the chart axes’ ratio.

<dxc:Chart3DControl AspectRatio="5 5 2">
    <dxc:Series3DStorage>
        <dxc:Series3D DisplayName="Series 1">
            <dxc:Series3D.View>
                <dxc:Bubble3DSeriesView AutoSize="True"/>
            </dxc:Series3D.View>
            <dxc:SeriesPoint3DStorage>
                <dxc:SeriesPoint3D XArgument="10" YArgument="20" Value="4231" dxc:Bubble3DSeriesView.Weight="2" />
                <dxc:SeriesPoint3D XArgument="20" YArgument="10" Value="7351" dxc:Bubble3DSeriesView.Weight="1" />
                <dxc:SeriesPoint3D XArgument="20" YArgument="20" Value="7561" dxc:Bubble3DSeriesView.Weight="5" />
            </dxc:SeriesPoint3DStorage>
        </dxc:Series3D>
    </dxc:Series3DStorage>
</dxc:Chart3DControl>
See Also