SeriesMarker Object Example

The following example sets marker parameters for all series in a chart.

Private Sub Command1_Click()
   Dim serX As series
   ' Show markers and unshow the lines for all series.
   MSChart1.chartType = VtChChartType2dLine
   For Each serX In MSChart1.Plot.SeriesCollection
      serX.SeriesMarker.Show = True
      serX.ShowLine = False
   Next
End Sub