jstasz Posted December 10, 2008 Report Share Posted December 10, 2008 I am trying to generate some histogram charts and set the USL and LSL programatically. Per the sample code I tried setting the values for: statistics.calculators(0).lsl and staatistics.calculators(0).usl and set thg gallery.histogram.showlimits = true. There is no affect on the placement of the vertical limit lines regardless what value I set the lsl and usl to. To be honest I don't understand the statistics, but per help and the samples I think this is what should work. Can someone tell me what I am doing wrong? Thanks Joyce Quote Link to comment Share on other sites More sharing options...
Frank Posted December 10, 2008 Report Share Posted December 10, 2008 USL and LSL are used in Control Charts (X-Chart, R-Chart, p-Chart) they do not affect histogram charts. What exactly are you trying to achieve by setting these values? If you want to move the vertical lines in the histogram chart you use the following: statistics.Gallery.Histogram.LimitLeft = leftLimit; statistics.Gallery.Histogram.LimitRight = rightLimit; Quote Link to comment Share on other sites More sharing options...
jstasz Posted December 11, 2008 Author Report Share Posted December 11, 2008 The LimitLeft and LimitRight still are not doing exactly what I am looking for. I am trying to draw the lines at a fixed position on the x axis regardless of the number of "bars" in the histogram. It appears that that the LimitLeft and LimitRight lines are drawn based on the position of the "bars" on the histogram. If I set the LimitLeft to 7 and the LimitRight to 10 then I get the lines following the 7th "bar" and the 10th "bar". Is this the expected behavior.? Is there a way to draw the lines at a fixed point on the access? Thanks Joyce Quote Link to comment Share on other sites More sharing options...
jstasz Posted December 11, 2008 Author Report Share Posted December 11, 2008 I have found a solution by using custom grid lines! Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.