User (Legacy) Posted March 23, 2005 Report Share Posted March 23, 2005 I am creating a histogram chart with the statistical extension and my customers would like me to have the target, mean, and +/- 1, 2, & 3 standard deviations values display as vertical lines on the chart. Can this be done? If so, what is the best way to do this (I'm guessing that using ConstantLines would be the way to go if I can use them there). Thanx in advance, Dave Lech Link to comment Share on other sites More sharing options...
Software FX Posted March 24, 2005 Report Share Posted March 24, 2005 There are already studies that show 1-Sigma,2-Sigma and 3-Sigma: StudyInteractive study = (StudyInteractive) statistics1.Studies.Add(Analysis.Sigma1); study.Visible = true; study = (StudyInteractive) statistics1.Studies.Add(Analysis.Sigma2); study.Visible = true; study = (StudyInteractive) statistics1.Studies.Add(Analysis.Sigma3); study.Visible = true; This however are represented as color stripes instead of constant lines. You can also add Constant Line Studies as follows: StudyConstant study = new StudyConstant(StudyType.Custom,1); study.Value = statistics1.Calculators[0].Get(Analysis.Mean) + statistics1.Calculators[0].Get(Analysis.StandardDeviation); study.Visible = true; statistics1.Studies.Add(study); Do the same for - Sigma, etc. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.