PPCC Namespace
Initializes a new instance of the Series class

Namespace:  PPCC.Chart
Assembly:  Chart (in Chart.dll)
Version: 5.1.2859.14274

Syntax

C#
public Series(
	Color color,
	SeriesType seriesType,
	ScatterShape scatterShape
)
Visual Basic (Declaration)
Public Sub New ( _
	color As Color, _
	seriesType As SeriesType, _
	scatterShape As ScatterShape _
)
Visual C++
public:
Series(
	Color color, 
	SeriesType seriesType, 
	ScatterShape scatterShape
)

Parameters

color
Type: System.Drawing..::.Color
Color for the series to be show in
seriesType
Type: PPCC.Chart..::.SeriesType
Type of series to be drawn
scatterShape
Type: PPCC.Chart..::.ScatterShape
Shape for the scatter object to be drawn in with this series

Examples

CopyC#
private void LoadChart()
{
  chart1.ClearAll();

  Series s = new Series(Color.Red, SeriesType.Scatter, ScatterShape.Square);

  s.AddXY(1, "1999");
  s.AddXY(2, "2000");
  s.AddXY(3, "2001");
  s.AddXY(4, "2002");

  chart1.AddSeries(s);

  chart1.Refresh();
}
Copy 
Private Sub LoadChart()

  Chart1.ClearAll()

  Dim s As New PPCC.Chart.Series("Cereal 1", PPCC.Chart.SeriesType.Scatter, PPCC.Chart.ScatterShape.Square)

  s.AddXY(1, "1999")
  s.AddXY(2, "2000")
  s.AddXY(3, "2001")
  s.AddXY(4, "2002")

  Chart1.AddSeries(s)

  Chart1.Refresh()

End Sub

See Also