[]
Specifies the marker style for a point or series in a line chart, scatter chart, or radar chart.
public enum MarkerStyle
Public Enum MarkerStyle
worksheet.Range["A1:B3"].Value = new object[,] {
{"X", "Value"},
{1, 10},
{2, 20}
};
IChart chart = worksheet.Shapes.AddChart(ChartType.LineMarkers, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B3"], RowCol.Columns, true, true);
chart.SeriesCollection[0].MarkerStyle = MarkerStyle.Diamond;
| Name | Description |
|---|---|
| Automatic | Specifies automatic markers. |
| Circle | Specifies circular markers. |
| Dash | Specifies long bar markers. |
| Diamond | Specifies diamond-shaped markers. |
| Dot | Specifies short bar markers. |
| None | Specifies no markers. |
| Picture | Specifies picture markers. |
| Plus | Specifies square markers with a plus sign. |
| Square | Specifies square markers. |
| Star | Specifies square markers with an asterisk. |
| Triangle | Specifies triangular markers. |
| X | Specifies square markers with an X. |