Style Property

Microsoft Office Web Components Visual Basic

ChartMarkerStyleEnum can be one of these ChartMarkerStyleEnum constants.
chMarkerStyleCircle
chMarkerStyleDash
chMarkerStyleDiamond
chMarkerStyleDot
chMarkerStyleNone
chMarkerStylePlus
chMarkerStyleSquare
chMarkerStyleStar
chMarkerStyleTriangle
chMarkerStyleX

expression.Style

expression    Required. An expression that returns a ChMarker object.

Example

This example sets the marker style for the specified series.

Sub SetMarkerStyle()

   Dim chConstants

   Set chConstants = ChartSpace1.Constants

   ChartSpace1.Charts(0).SeriesCollection(0).Marker _
               .Style = chConstants.chMarkerStyleStar

End Sub