ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Add "spec" line to a chart
Posted by William.Cook@vishay.com on Aug-26-2023 09:07
I have several charts, XY "probability" charts, Histograms, etc.    How would I add a "spec" line to these charts.

spec is an upper limit or lower limit or both, for a set of data.  to denote what is good results and what is bad results, for a set of test data results.

  Re: Add "spec" line to a chart
Posted by Peter Kwan on Aug-26-2023 14:04
Hi William.Cook,

You can use Axis.addMark to add vertical or horizontal mark lines at the position you want, and/or to use Axis.addZone, XYChart.xZoneColor and XYChart.yZoneColor to color specific data range. See:

The following are some examples:

https://www.advsofteng.com/doc/cdnet.htm#markzone.htm
https://www.advsofteng.com/doc/cdnet.htm#markzone2.htm
https://www.advsofteng.com/doc/cdnet.htm#yzonecolor.htm
https://www.advsofteng.com/doc/cdnet.htm#xzonecolor.htm

Some old examples I can find in this forum are as follows (which shows that ChartDirector has been used in Statistical Process Control for a long time):

https://www.chartdir.com/forum/download_thread.php?bn=chartdir_general&pattern=spc&thread=1145452835#N1145464327

https://www.chartdir.com/forum/download_thread.php?bn=chartdir_general&thread=1153402586#N1153427124

Best Regards
Peter Kwan