Back to Devexpress

Marker.Symbol Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-marker.md

latest4.9 KB
Original Source

Marker.Symbol Property

Gets or sets the shape of the marker.

Namespace : DevExpress.Spreadsheet.Charts

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
MarkerStyle Symbol { get; set; }
vb
Property Symbol As MarkerStyle

Property Value

TypeDescription
MarkerStyle

A MarkerStyle enumeration value specifying the marker style.

|

Available values:

Show 12 items

NameDescription
Auto

Specifies an automatic marker.

| | None |

Specifies that a marker is not painted.

| | Circle |

Specifies a circular marker.

| | Dash |

Specifies a long bar marker.

| | Diamond |

Specifies a diamond-shaped marker.

| | Dot |

Specifies a short bar marker.

| | Picture |

Specifies that a picture is used as a marker.

| | Plus |

Specifies a plus-shaped marker.

| | Square |

Specifies a square marker.

| | Star |

Specifies a star-shaped marker.

| | Triangle |

Specifies a triangular marker.

| | X |

Specifies an X-shaped marker.

|

Remarks

Use the Symbol property to specify the shape of the marker that shall be displayed for each data point in the series and within the chart legend.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Symbol property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/CodeExamples/ViewOptionsActions.cs#L22

csharp
// Display markers using automatic style.
chart.Series[0].Marker.Symbol = MarkerStyle.Auto;
// Hide the legend.

winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/ViewOptionsActions.cs#L22

csharp
// Display markers using automatic style.
chart.Series[0].Marker.Symbol = MarkerStyle.Auto;
// Hide the legend.

spreadsheet-document-api-chart-examples/CS/SpreadsheetDocServerChartAPISamples/CodeExamples/ViewOptionsActions.cs#L32

csharp
// Display markers using automatic style.
chart.Series[0].Marker.Symbol = MarkerStyle.Auto;
// Hide the legend.

wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/ViewOptionsActions.vb#L26

vb
' Display markers using automatic style.
chart.Series(0).Marker.Symbol = MarkerStyle.Auto
' Hide the legend.

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/ViewOptionsActions.vb#L25

vb
' Display markers using automatic style.
chart.Series(0).Marker.Symbol = MarkerStyle.Auto
' Hide the legend.

spreadsheet-document-api-chart-examples/VB/SpreadsheetDocServerChartAPISamples/CodeExamples/ViewOptionsActions.vb#L34

vb
' Display markers using automatic style.
chart.Series(0).Marker.Symbol = MarkerStyle.Auto
' Hide the legend.

See Also

Marker Interface

Marker Members

DevExpress.Spreadsheet.Charts Namespace