| 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;} | |
The following code shows the markers of a line series in blue color and changes
the marker shape to sphere.
| Visual Basic | Copy 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; | |
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.
Target Platforms: Windows 2000, Windows XP SP3 Family, Windows Server 2003-2008 Family, Windows Vista, Windows 7
Copy Code