Style Property

Microsoft Office Web Components Object Model

Show All

Style Property

       

Returns or sets the marker style for the specified series or chart. Read/write ChartMarkerStyleEnum.

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