Class
SurfaceSeries3DDataPointColorizer

A SurfaceSeries3D colorizer that allows for each data point to provide an individual color.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class SurfaceSeries3DDataPointColorizer : SurfaceSeries3DColorizer, INotifyPropertyChanged

Inheritance: objectSurfaceSeries3DColorizerSurfaceSeries3DDataPointColorizer

Implements: INotifyPropertyChanged

Inherited Members SurfaceSeries3DColorizer.CreateMaterialFromBrush(Brush)SurfaceSeries3DColorizer.OnPropertyChanged(string)SurfaceSeries3DColorizer.PropertyChanged

Constructors

SurfaceSeries3DDataPointColorizer()

Declaration

cs-api-definition
public SurfaceSeries3DDataPointColorizer()

Properties

ColorBinding

Gets or sets the binding that will be used to obtain the Color associated with a certain data item.

Declaration

cs-api-definition
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding ColorBinding { get; set; }

Property Value

DataPointBinding

ColorizationMode

Gets or sets the colorization mode that determines the appearance of the surface.

Declaration

cs-api-definition
public SurfaceSeries3DColorizationMode ColorizationMode { get; set; }

Property Value

SurfaceSeries3DColorizationMode

Methods

GetDataPointColor(SurfacePointInfo)

Gets the Color for this data point.

Declaration

cs-api-definition
public virtual Color GetDataPointColor(SurfacePointInfo surfacePoint)

Parameters

surfacePoint

SurfacePointInfo

Returns

Color

GetMaterial(SurfaceSeries3DColorizerContext)

Gets the material that will determine the appearance of the surface.

Declaration

cs-api-definition
public override Material GetMaterial(SurfaceSeries3DColorizerContext context)

Parameters

context

SurfaceSeries3DColorizerContext

Returns

Material

Overrides SurfaceSeries3DColorizer.GetMaterial(SurfaceSeries3DColorizerContext)

GetSurfacePoints(SurfaceSeries3DColorizerContext)

Gets the surface points that will be used by the colorizer to determine the triangle indexes, texture coordinates, and material.

Declaration

cs-api-definition
public override ReadOnlyCollection<SurfacePointInfo> GetSurfacePoints(SurfaceSeries3DColorizerContext context)

Parameters

context

SurfaceSeries3DColorizerContext

Returns

ReadOnlyCollection<SurfacePointInfo>

Overrides SurfaceSeries3DColorizer.GetSurfacePoints(SurfaceSeries3DColorizerContext)

GetTextureCoordinates(SurfaceSeries3DColorizerContext)

Gets the texture coordinates that will determine the appearance of the surface. The texture coordinates are chosen in respect to the actual display direction of the series.

Declaration

cs-api-definition
public override PointCollection GetTextureCoordinates(SurfaceSeries3DColorizerContext context)

Parameters

context

SurfaceSeries3DColorizerContext

Returns

PointCollection

Overrides SurfaceSeries3DColorizer.GetTextureCoordinates(SurfaceSeries3DColorizerContext)

GetTriangleIndices(SurfaceSeries3DColorizerContext)

Gets the triangle indexes that will determine the appearance of the surface. The triangle indexes are chosen in respect to the actual display direction of the series.

Declaration

cs-api-definition
public override Int32Collection GetTriangleIndices(SurfaceSeries3DColorizerContext context)

Parameters

context

SurfaceSeries3DColorizerContext

Returns

Int32Collection

Overrides SurfaceSeries3DColorizer.GetTriangleIndices(SurfaceSeries3DColorizerContext)

OnColorizationFinished()

Invoked when the colorization phase finishes.

Declaration

cs-api-definition
protected override void OnColorizationFinished()

Overrides SurfaceSeries3DColorizer.OnColorizationFinished()

OnColorizationStarted(SurfaceSeries3DColorizerContext)

Invoked when the colorization phase starts.

Declaration

cs-api-definition
protected override void OnColorizationStarted(SurfaceSeries3DColorizerContext context)

Parameters

context

SurfaceSeries3DColorizerContext

Overrides SurfaceSeries3DColorizer.OnColorizationStarted(SurfaceSeries3DColorizerContext)