ColorObjectColorizer3D Class

Colorizer that colors points using the color specified by the color data member.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public class ColorObjectColorizer3D :
    Colorizer3DBase
Public Class ColorObjectColorizer3D
    Inherits Colorizer3DBase

Remarks

This colorizer works only if the data is provided by the Series3DDataSourceAdapter or SeriesPoint3DDataSourceAdapter.

Examples

This example demonstrates how to colorize series point markers in colors stored in a data source. To do this, assign an ColorObjectColorizer3D object to the Series3DViewBase.Colorizer property.

<dxc:Series3D DisplayName="Series 1">
    <dxc:Series3D.View>
        <dxc:Bubble3DSeriesView MinSize="0.5"
                                MaxSize="2">
            <dxc:Bubble3DSeriesView.Colorizer>
                <dxc:ColorObjectColorizer3D/>
            </dxc:Bubble3DSeriesView.Colorizer>
            <dxc:Bubble3DSeriesView.MarkerModel>
                <dxc:Marker3DSpherePointModel SphereDetalizationLevel="Normal"/>
            </dxc:Bubble3DSeriesView.MarkerModel>
        </dxc:Bubble3DSeriesView>
    </dxc:Series3D.View>
    <dxc:SeriesPoint3DDataSourceAdapter DataSource="{Binding Path=DataPoints}"
                                        XArgumentDataMember="XArgument"
                                        YArgumentDataMember="YArgument"
                                        ValueDataMember="Value"
                                        dxc:Bubble3DSeriesView.WeightDataMember="Weight"
                                        ColorDataMember="Color"/>
</dxc:Series3D>
See Also