MarkerStyle Property

Microsoft Graph Visual Basic

XlMarkerStyle can be one of these XlMarkerStyle constants.
xlMarkerStyleCircle. Circular markers
xlMarkerStyleDiamond. Diamond-shaped markers
xlMarkerStyleNone. No markers
xlMarkerStylePlus. Square markers with a plus sign
xlMarkerStyleStar. Square markers with an asterisk
xlMarkerStyleX. Square markers with an X
xlMarkerStyleAutomatic. Automatic markers
xlMarkerStyleDash. Long bar markers
xlMarkerStyleDot. Short bar markers
xlMarkerStylePicture. Picture markers
xlMarkerStyleSquare. Square markers
xlMarkerStyleTriangle. Triangular markers

expression.MarkerStyle

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the marker style for series one. The example should be run on a 2-D line chart.

myChart.SeriesCollection(1).MarkerStyle = xlMarkerStyleCircle