Pocket PC Controls.com's Chart Control

Chart.AddSeries Method 

Adds the series object to the end of the series collection

public void AddSeries(
   Series series
);

Parameters

Series
series to add to the collection

Example

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

  Series s = new Series("Cereal 1", ChartType.Line);

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

  chart1.AddSeries(s);

  chart1.Refresh();
}

See Also

Chart Class | PPCC.Chart Namespace