Download User Manual - Quinn

Transcript
192 SPC Variable Control Charts
Changing the Batch Control Chart X-Axis Labeling Mode
In revisions prior to 2.0, the x-axis tick marks of a batch control chart could only be labeled with
the numeric batch number of the sample subgroup. While batch number labeling is still the
default mode, it is now possible to label the sample subgroup tick marks using the time stamp of
the sample subgroup, or a user-defined string unique to each sample subgroup.
You may find that labeling every subgroup tick mark with a time stamp, or a user-defined string,
causes the axis labels to stagger because there is not enough room to display the tick mark label
without overlapping its neighbor. In these cases you may wish to reduce the number of sample
subgroups you show on the page using the numdatapointsinview variable found in all of the
example programs.
// Number of datapoints in the view
int numdatapointsinview = 13;
You can rotate the x-axis labels using the charts setXAxisLabelRotation method.
this.setXAxisLabelRotation( 90);
If you rotate the x-axis labels you may need to leave more room between the primary and
secondary graphs, and at the bottom, to allow for the increased height of the labels.
this.setXAxisLabelRotation(90);
this.setInterGraphMargin(0.1);
this.setGraphBottomPos(0.85);