Version

Customizing Markers

In the UltraDataChart™ control, most of the Series provide support for various markers. The appearance of markers is managed through the properties of the Chart Series that inherit from MarkerSeries class.

Markers Appearance

The following table lists all marker appearance properties: MarkerSeries object

Property Name Property Type Description

MarkerSeries. MarkerType

Determines type of markers displayed by the current series

MarkerSeries. MarkerBrush

Brush

Determines fill color of markers.

MarkerSeries. MarkerOutline

Brush

Determines outline color of markers.

The code snippets below demonstrate how to change the marker type in the SplineSeries object. The same logic can be applied to other series that inherit from the MarkerSeries class.

In C#:

series = new SplineSeries();
series.MarkerType = MarkerType.Triangle;

In Visual Basic:

Dim series As New SplineSeries()
series.MarkerType = MarkerType.Triangle
xamDataChart RT Marker Types 01.png

Figure 1: The UltraDataChart control with SplineSeries and Triangle markers.