The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

Series.Marker Property

Provides access to the specific settings of data markers displayed by series on the line, scatter or radar chart.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

Marker Marker { get; }
ReadOnly Property Marker As Marker
Marker Marker { get; }
ReadOnly Property Marker As Marker
Marker Marker { get; }
ReadOnly Property Marker As Marker

Property Value

Type Description
Marker

A Marker object that contains the specific marker settings.

Property Value

Type Description
Marker

A Marker object that contains the specific marker settings.

Property Value

Type Description
Marker

A Marker object that contains the specific marker settings.

Remarks

The Marker property provides access to the settings which define how data markers are displayed. You can change the size (Marker.Size) and shape (Marker.Symbol) of markers used to indicate each data point in the series.

Examples

The example below demonstrates how to create a line chart with custom data markers. To access the Marker object, use the Series.Marker property, and then specify the shape (Marker.Symbol) and size (Marker.Size) of markers displayed at each data point in the series.

Dim worksheet As Worksheet = workbook.Worksheets("chartTask5")
workbook.Worksheets.ActiveWorksheet = worksheet

' Create a chart and specify its location.
Dim chart As Chart = worksheet.Charts.Add(ChartType.Line, worksheet("B2:C8"))
chart.TopLeftCell = worksheet.Cells("F2")
chart.BottomRightCell = worksheet.Cells("L15")

' Display markers and specify the marker style and size.
chart.Series(0).Marker.Symbol = MarkerStyle.Circle
chart.Series(0).Marker.Size = 15
' Hide the legend.
chart.Legend.Visible = False
See Also