Export (0) Print
Expand All

StatLine Object

Visual Studio .NET 2003

Describes how statistic lines are displayed on a chart.

Syntax

StatLine

Example

The following example sets the color and pen parameters for a chart statistics line.

Private Sub Command1_Click()
   ' Show all statistic lines for series 2.
   MSChart1.chartType = VtChChartType2dLine
   With MSChart1.plot.SeriesCollection(2).StatLine
      .VtColor.Set 128, 128, 255
      .Flag = VtChStatsMinimum Or VtChStatsMaximum _
      Or VtChStatsMean Or VtChStatsStddev Or _
      VtChStatsRegression
      .Style(vtChStatsMinimum) = VtPenStyleDotted
      .width = 2
   End With
End Sub

See Also

Properties, Methods, and Events

Show:
© 2014 Microsoft