View Full Version : Objective Chart range limits

10-29-2009, 06:35 AM
Is it possible to have the limits on the Y-Axis so that the min. limit is on the top and max. limit on the bottom?
Any help would be greatly appreciated.


05-06-2010, 08:37 AM
Yes, you can reverse the order of axis labels by calling SRGDecimalScale::SetDescending(). If you are using a standard display (not a compound display), you must override SRGraphDisplay:: DrawXXXLabels() -- DrawClassicLabels() for most chart types -- to call SetDescending() on the axis scale object.
That would take care of the axis labels, but you probably want to change the way the data are plotted too. Then you will have to override DrawXXXData() as well. If you want to support user interactions (zooming, chart tips, data dragging), you will need to override SRGraphPosition::CalcDisplayPosition() too. The USDChart sample distributed with OC implements an upside-down vertical axis for Line and XY Scatter graphs.

10-18-2011, 06:22 AM
hello every one

Generally, you calculate control limits using your first 20 to 25 data points and then you use those limits to evaluate the rest of your data. If you have a process change, you should recalculate your control limits beginning with data after the process change occurred.

The purpose of this lesson is to let you know how the QI Macros work and to instruct you on how to change the control limit calculations if you want to change them.
Access platform (www.mechnair.com.au)