Skip to main content
A newer version of this page is available. .

ColorObjectColorizer3D Class

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

Namespace: DevExpress.Xpf.Charts

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

Declaration

public class ColorObjectColorizer3D :
    Colorizer3DBase

Remarks

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

Example

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>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColorObjectColorizer3D class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also