Markers Property
See Also 
Xceed.Chart.Core Assembly > Xceed.Chart.Core Namespace > Series Class : Markers Property


Gives you access to the Markers object controlling the appearance of the data point markers.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Attributes")>
<DescriptionAttribute("Controls the appearance of the data points markers.")>
Public Property Markers As Markers
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim value As Markers
 
instance.Markers = value
 
value = instance.Markers
C# 
[CategoryAttribute("Attributes")]
[DescriptionAttribute("Controls the appearance of the data points markers.")]
public Markers Markers {get; set;}

Example

The following code shows the markers of a line series in blue color and changes the marker shape to sphere.
Visual BasicCopy Code
line.Markers.Visible = True
line.Markers.FIllEffect.SetSolidColor(Color.Blue)
line.Markers.Style = PointStyle.Sphere
C#Copy Code
line.Markers.Visible = true;
line.Markers.FIllEffect.SetSolidColor(Color.Blue);
line.Markers.Style = PointStyle.Sphere;

Remarks

The data point markers are shapes displayed for each data point. The user can control various aspects of the markers with the help of the Markers class.

Note: not all series derived from Series support markers.

Requirements

Target Platforms: Windows 2000, Windows XP SP3 Family, Windows Server 2003-2008 Family, Windows Vista, Windows 7

See Also