Share via


Marker Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns a ChMarker object that represents the markers for every point in the specified series. Read-only.

expression.Marker

expression   Required. An expression that returns a ChSeries object.

Example

This example sets the chart type and then sets the marker type and interior color for the specified series.

  Sub SetMarkerStyle()
   Dim chConstants
   Dim serSeries1

   Set chConstants = ChartSpace1.Constants

   Set serSeries1 = ChartSpace1.Charts(0).SeriesCollection(0)

   ChartSpace1.Charts(0).Type = chConstants.chChartTypeLineMarkers

   serSeries1.Marker.Style = chConstants.chMarkerStyleSquare

   serSeries1.Interior.Color = "blue"
End Sub