You are here: Symbol Reference > Dew.Stats Namespace > StatControlCharts Class > StatControlCharts Methods > QCSChart Method
Dew Stats for .NET
Contents
C# Example

Place a TChart component on the chart and add a TQCSerie (Series1). The following code creates necessary values for S chart:

using Dew.Math;
using Dew.Math.Units;
using Dew.Stats.Units;
namespace Dew.Examples
{
  private void Example()
  {
    double cl,ucl,lcl;
    Matrix Data = new Matrix(0);
    Vector DrawVec = new Vector(0);
    Data.LoadFromFile("data.mtx"); // data is now initialized
    StatControlCharts.QCSChart(Data,DrawVec,out cl, out ucl, out lcl, 0.025);
  }
}
Copyright (c) 1999-2010 by Dew Research. All rights reserved.