Table of contents
TOC
Collapse the table of content
Expand the table of content

Series.MarkerStyle Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns or sets the marker style for a point or series in a line chart, scatter chart, or radar chart. Read/write XlMarkerStyle.

Syntax

expression. MarkerStyle

expression A variable that represents a Series object.

Remarks

MarkerStyle can be one of the following XlMarkerStyle constants:

  • xlMarkerStyleAutomatic —Automatic markers.

  • xlMarkerStyleCircle —Circular markers.

  • xlMarkerStyleDash —Long bar markers.

  • xlMarkerStyleDiamond —Diamond-shaped markers.

  • xlMarkerStyleDot —Short bar markers.

  • xlMarkerStyleNone —No markers.

  • xlMarkerStylePicture —Picture markers.

  • xlMarkerStylePlus —Square markers with a plus sign.

  • xlMarkerStyleSquare —Square markers.

  • xlMarkerStyleStar —Square markers with an asterisk.

  • xlMarkerStyleTriangle —Triangular markers.

  • xlMarkerStyleX —Square markers with an X.

Example

Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example sets the marker style for series one for the first chart in the active document. You should run the example on a 2-D line chart.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).MarkerStyle = xlMarkerStyleCircle

    End If

End With

See also

Concepts

Series Object

© 2018 Microsoft