wpf-devexpress-dot-xpf-dot-charts-dot-colorobjectcolorizer3d.md
Colorizer that colors points using the color specified by the color data member.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public class ColorObjectColorizer3D :
Colorizer3DBase
Public Class ColorObjectColorizer3D
Inherits Colorizer3DBase
This colorizer works only if the data is provided by the Series3DDataSourceAdapter or SeriesPoint3DDataSourceAdapter.
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>
Object DispatcherObject DependencyObject Freezable Chart3DDependencyObject Colorizer3DBase ColorObjectColorizer3D
See Also