officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-marker.md
Gets or sets the shape of the marker.
Namespace : DevExpress.Spreadsheet.Charts
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
MarkerStyle Symbol { get; set; }
Property Symbol As MarkerStyle
| Type | Description |
|---|---|
| MarkerStyle |
A MarkerStyle enumeration value specifying the marker style.
|
Available values:
Show 12 items
| Name | Description |
|---|---|
| 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.
|
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
// 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
// Display markers using automatic style.
chart.Series[0].Marker.Symbol = MarkerStyle.Auto;
// Hide the legend.
// 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
' 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
' Display markers using automatic style.
chart.Series(0).Marker.Symbol = MarkerStyle.Auto
' Hide the legend.
' Display markers using automatic style.
chart.Series(0).Marker.Symbol = MarkerStyle.Auto
' Hide the legend.
See Also