qesuite 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -27,6 +27,115 @@ declare class QESpecification {
27
27
  tolerance?: undefined;
28
28
  };
29
29
  SplitUnits(string: string): string[];
30
+ toString(): string;
31
+ }
32
+ declare class QEChartSettings {
33
+ constructor(xAxis?: QEAxisSettings, yAxis?: QEAxisSettings, width?: number, height?: number, margins?: Margin, chartArea?: CanvasDrawSettings, plotArea?: CanvasDrawSettings, title?: EngFont, hasLegend?: boolean, type?: string);
34
+ height: number;
35
+ width: number;
36
+ margins: Margin;
37
+ chartArea: CanvasDrawSettings;
38
+ plotArea: CanvasDrawSettings;
39
+ axis: {
40
+ x: QEAxisSettings;
41
+ y: QEAxisSettings;
42
+ };
43
+ title: EngFont;
44
+ hasLegend: boolean;
45
+ type: string;
46
+ }
47
+ declare class QEDataCollection {
48
+ constructor(name: string, data: any);
49
+ name: string;
50
+ data: any;
51
+ }
52
+ declare class CanvasDrawSettings {
53
+ constructor(fillColor?: string, strokeColor?: string, strokeWidth?: number, shape?: number, shapeRadius?: number);
54
+ fillColor: string;
55
+ strokeColor: string;
56
+ strokeWidth: number;
57
+ shape: number;
58
+ shapeRadius: number;
59
+ }
60
+ declare class QEAxisSettings {
61
+ constructor(min: number, max: number, name?: string, nameDisplay?: EngFont, count?: number, step?: number, scale?: string, padding?: Margin, strokeWidth?: number, strokeColor?: string, fillColor?: string, fontSize?: string, font?: string, textAlign?: string, labels?: string[], autoSize?: boolean, customGridlines?: QECustomGridline[], showAutoGridlines?: boolean, tickOnly?: boolean);
62
+ min: number;
63
+ max: number;
64
+ name: string;
65
+ nameDisplay: EngFont;
66
+ count: number;
67
+ step: number;
68
+ scale: string;
69
+ padding: Margin;
70
+ strokeWidth: number;
71
+ strokeColor: string;
72
+ fillColor: string;
73
+ fontSize: string;
74
+ font: string;
75
+ textAlign: string;
76
+ labels: string[];
77
+ autoSize: boolean;
78
+ customGridlines: QECustomGridline[];
79
+ showAutoGridlines: boolean;
80
+ tickOnly: boolean;
81
+ }
82
+ declare class QEChart {
83
+ constructor(data: QEDataSet[], type: string, title?: string, chartSettings?: QEChartSettings, plotFunction?: Function, functionInput?: {
84
+ min: number;
85
+ max: number;
86
+ count: number;
87
+ });
88
+ data: QEDataSet[];
89
+ type: string;
90
+ title: string;
91
+ chartSettings: QEChartSettings;
92
+ plotFunction: Function;
93
+ functionInput: {
94
+ min: number;
95
+ max: number;
96
+ count: number;
97
+ };
98
+ }
99
+ declare class QEDataSet {
100
+ constructor(values: Point[], name?: string, display?: CanvasDrawSettings, line?: QELine);
101
+ values: Point[];
102
+ name?: string;
103
+ display: CanvasDrawSettings;
104
+ line: QELine;
105
+ }
106
+ declare class QELine {
107
+ constructor(type?: string, display?: CanvasDrawSettings);
108
+ type?: string;
109
+ display: CanvasDrawSettings;
110
+ }
111
+ declare class QECustomGridline {
112
+ constructor(value: number, label?: string, display?: CanvasDrawSettings, font?: EngFont, opposite?: boolean, tickOnly?: boolean, dashed?: boolean);
113
+ value: number;
114
+ label: string;
115
+ display: CanvasDrawSettings;
116
+ font: EngFont;
117
+ opposite: boolean;
118
+ tickOnly: boolean;
119
+ dashed: boolean;
120
+ }
121
+ declare class Point {
122
+ constructor(x: number, y: number, display?: CanvasDrawSettings);
123
+ x: number;
124
+ y: number;
125
+ display: CanvasDrawSettings;
126
+ }
127
+ declare class Margin {
128
+ constructor(left: number, right: number, top: number, bottom: number);
129
+ left: number;
130
+ right: number;
131
+ top: number;
132
+ bottom: number;
133
+ }
134
+ declare class EngFont {
135
+ constructor(fillColor?: string, font?: string, fontSize?: string);
136
+ fillColor: string;
137
+ font: string;
138
+ fontSize: string;
30
139
  }
31
140
  declare class GRR_Data {
32
141
  constructor(operators: GRR_Operator[]);
@@ -54,6 +163,8 @@ declare class GRR_Replication {
54
163
  getPartsByIndex(index?: number): number[];
55
164
  getPartCount(): number;
56
165
  }
166
+ declare function ObjectToArray(object: any): any[];
167
+ declare function RoundTO(number: number, digits: number): number;
57
168
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
169
  */
59
170
  declare const Capability: {
@@ -98,6 +209,19 @@ declare const Capability: {
98
209
  */
99
210
  Ppk(data: number[], spec: QESpecification): number;
100
211
  };
212
+ declare function SixPack(data: number[], specification: QESpecification, title?: string): {
213
+ charts: {
214
+ IndividualValue: HTMLCanvasElement;
215
+ CapabilityHistogram: HTMLCanvasElement;
216
+ MovingRange: HTMLCanvasElement;
217
+ NormalProbability: HTMLCanvasElement;
218
+ LastObservations: HTMLCanvasElement;
219
+ Summary: HTMLCanvasElement;
220
+ };
221
+ };
222
+ declare function IndividualValuePlot(data: number[], title?: string, historicalMean?: number): HTMLCanvasElement;
223
+ declare function MovingRangeChart(data: number[], title?: string, w?: number): HTMLCanvasElement;
224
+ declare function CreateCapabilityHistogram(data: number[], specification: QESpecification): HTMLCanvasElement;
101
225
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102
226
  */
103
227
  declare const Beta: {
@@ -654,6 +778,21 @@ declare function IndividualDistributionIdentification(data: number[]): {
654
778
  };
655
779
  };
656
780
  };
781
+ declare function IndividualDistributionPlots(data: number[]): {
782
+ summary: HTMLCanvasElement;
783
+ normal: HTMLCanvasElement;
784
+ boxCox: HTMLCanvasElement;
785
+ exponential: HTMLCanvasElement;
786
+ exponential2p: HTMLCanvasElement;
787
+ gamma: HTMLCanvasElement;
788
+ gamma3p: HTMLCanvasElement;
789
+ largestExtremeValue: HTMLCanvasElement;
790
+ logistic: HTMLCanvasElement;
791
+ loglogistic: HTMLCanvasElement;
792
+ lognormal: HTMLCanvasElement;
793
+ smallestExtremeValue: HTMLCanvasElement;
794
+ weibull: HTMLCanvasElement;
795
+ };
657
796
  declare const QQPlot: {
658
797
  p(data: number[], method?: string): number[][];
659
798
  Exponential(p: number): number;
@@ -760,6 +899,75 @@ declare const UnbiasingConstant: {
760
899
  d4?: undefined;
761
900
  })[];
762
901
  };
902
+ /**
903
+ * Return a serialized dataset
904
+ * @param data An array of data sets to plot
905
+ */
906
+ declare function SerializeData(data: number[]): QEDataSet;
907
+ /**
908
+ * Create a scatter plot
909
+ * @param data An array of data sets to plot
910
+ * @param chartSettings Chart settings
911
+ */
912
+ declare function CreateScatterPlot(data: QEDataSet[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
913
+ /**
914
+ * Checks if data is out of control and marks out-of-control points
915
+ * @param data An array of data sets to check
916
+ * @param UCL Upper Control Limit
917
+ * @param LCL Lower Control Limit
918
+ * @param display Display settings for out-of-control points. DEFAULT: RED SQUARE
919
+ */
920
+ declare function MarkOutOfControl(data: QEDataSet, UCL: number, LCL: number, display?: CanvasDrawSettings): void;
921
+ /**
922
+ * Create a histogram
923
+ * @param data An array of data sets to plot
924
+ * @param title Title to display on chart
925
+ * @param bucketRange The difference between the high and low values of each bucket. If no value is provided the default will be StandardDeviation/3
926
+ * @param chartSettings Chart settings
927
+ */
928
+ declare function GetHistogramDataset(data: number[], title?: string, bucketRange?: number, chartSettings?: QEChartSettings): QEDataSet;
929
+ /**
930
+ * Create a bar graph
931
+ * @param data An array of data sets to plot
932
+ * @param chartSettings Chart settings
933
+ */
934
+ declare function CreateContinuousBarGraph(data: QEDataSet[], title?: string, chartSettings?: QEChartSettings, categoryLabels?: string[]): HTMLCanvasElement;
935
+ /**
936
+ * Create a bar graph
937
+ * @param data An array of data sets to plot
938
+ * @param title Chart Title
939
+ * @param chartSettings Chart settings
940
+ */
941
+ declare function CreateCategoricalBarGraph(data: QEDataCollection[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
942
+ /**
943
+ * Create a bar graph
944
+ * @param data An array of data sets to plot
945
+ * @param title Chart Title
946
+ * @param chartSettings Chart settings
947
+ */
948
+ declare function CreateBoxandWhiskerGraph(data: QEDataSet[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
949
+ /**
950
+ * Create a bar graph
951
+ * @param charts An array of charts to plot side by side
952
+ * @param title Chart Title
953
+ * @param chartSettings Chart settings
954
+ */
955
+ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
956
+ /**
957
+ * Create a bar graph
958
+ * @param charts An array of charts to plot side by side
959
+ * @param title Chart Title
960
+ * @param chartSettings Chart settings
961
+ */
962
+ declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
963
+ /**
964
+ * Create a scatter plot
965
+ * @param data An array of data sets to plot
966
+ * @param chartSettings Chart settings
967
+ */
968
+ declare function CreateStackedChart(charts: QEChart[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
969
+ declare function GetFunctionValues(callback: Function, range: number[], count: number): QEDataSet;
970
+ declare function QQPlotChart(data: number[], distribution?: string): HTMLCanvasElement;
763
971
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
764
972
  */
765
973
  /**
@@ -858,5 +1066,58 @@ declare function VarianceComponents(ANOVA: any, data: GRR_Data): {
858
1066
  Contribution: number;
859
1067
  };
860
1068
  };
1069
+ declare function G1_Graphs(data: any, tolerance: number, referenceValue: number): {
1070
+ charts: {
1071
+ RunChart: HTMLCanvasElement;
1072
+ };
1073
+ Cg: number;
1074
+ Cgk: number;
1075
+ bias: number;
1076
+ t: number;
1077
+ p: number;
1078
+ };
1079
+ declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
1080
+ GRR: {
1081
+ ANOVA: any;
1082
+ VarComp: {
1083
+ TotalGRR: {
1084
+ VarComp: number;
1085
+ Contribution: number;
1086
+ };
1087
+ Repeatability: {
1088
+ VarComp: number;
1089
+ Contribution: number;
1090
+ };
1091
+ Reproducibility: {
1092
+ VarComp: number;
1093
+ Contribution: number;
1094
+ };
1095
+ Operator: {
1096
+ VarComp: number;
1097
+ Contribution: number;
1098
+ };
1099
+ PartToPart: {
1100
+ VarComp: number;
1101
+ Contribution: number;
1102
+ };
1103
+ TotalVariation: {
1104
+ VarComp: number;
1105
+ Contribution: number;
1106
+ };
1107
+ };
1108
+ GageEvaluation: any;
1109
+ };
1110
+ charts: {
1111
+ Summary: HTMLCanvasElement;
1112
+ VarComp: HTMLCanvasElement;
1113
+ ByPart: HTMLCanvasElement;
1114
+ R: HTMLCanvasElement;
1115
+ ByOperator: HTMLCanvasElement;
1116
+ Xbar: HTMLCanvasElement;
1117
+ PartxOperator: HTMLCanvasElement;
1118
+ };
1119
+ };
1120
+ declare function GRR_ByPartChart(data: GRR_Data): HTMLCanvasElement;
1121
+ declare function GRR_PartxOperatorChart(data: GRR_Data): HTMLCanvasElement;
861
1122
 
862
- export { AnovaTableTwoWay, AverageMovingRange, Beta, Capability, Distributions, ERF, FixedPointIteration, G1, GRR, GRR_Data, GRR_Operator, GRR_Replication, GageEvaluation, Gamma, GoodnessOfFit, IndividualDistributionIdentification, Mean, Median, MovingRange, NewtonRaphson, QESpecification, QQPlot, Range, StDev, Sum, UnbiasingConstant, VarianceComponents };
1123
+ export { AnovaTableTwoWay, AverageMovingRange, Beta, CanvasDrawSettings, Capability, CreateBoxandWhiskerGraph, CreateCapabilityHistogram, CreateCategoricalBarGraph, CreateContinuousBarGraph, CreateScatterPlot, CreateSplitGraph, CreateStackedChart, CreateSummaryChart, Distributions, ERF, EngFont, FixedPointIteration, G1, G1_Graphs, GRR, GRR_ByPartChart, GRR_Data, GRR_Graphs, GRR_Operator, GRR_PartxOperatorChart, GRR_Replication, GageEvaluation, Gamma, GetFunctionValues, GetHistogramDataset, GoodnessOfFit, IndividualDistributionIdentification, IndividualDistributionPlots, IndividualValuePlot, Margin, MarkOutOfControl, Mean, Median, MovingRange, MovingRangeChart, NewtonRaphson, ObjectToArray, Point, QEAxisSettings, QEChart, QEChartSettings, QECustomGridline, QEDataCollection, QEDataSet, QELine, QESpecification, QQPlot, QQPlotChart, Range, RoundTO, SerializeData, SixPack, StDev, Sum, UnbiasingConstant, VarianceComponents };
package/dist/index.d.ts CHANGED
@@ -27,6 +27,115 @@ declare class QESpecification {
27
27
  tolerance?: undefined;
28
28
  };
29
29
  SplitUnits(string: string): string[];
30
+ toString(): string;
31
+ }
32
+ declare class QEChartSettings {
33
+ constructor(xAxis?: QEAxisSettings, yAxis?: QEAxisSettings, width?: number, height?: number, margins?: Margin, chartArea?: CanvasDrawSettings, plotArea?: CanvasDrawSettings, title?: EngFont, hasLegend?: boolean, type?: string);
34
+ height: number;
35
+ width: number;
36
+ margins: Margin;
37
+ chartArea: CanvasDrawSettings;
38
+ plotArea: CanvasDrawSettings;
39
+ axis: {
40
+ x: QEAxisSettings;
41
+ y: QEAxisSettings;
42
+ };
43
+ title: EngFont;
44
+ hasLegend: boolean;
45
+ type: string;
46
+ }
47
+ declare class QEDataCollection {
48
+ constructor(name: string, data: any);
49
+ name: string;
50
+ data: any;
51
+ }
52
+ declare class CanvasDrawSettings {
53
+ constructor(fillColor?: string, strokeColor?: string, strokeWidth?: number, shape?: number, shapeRadius?: number);
54
+ fillColor: string;
55
+ strokeColor: string;
56
+ strokeWidth: number;
57
+ shape: number;
58
+ shapeRadius: number;
59
+ }
60
+ declare class QEAxisSettings {
61
+ constructor(min: number, max: number, name?: string, nameDisplay?: EngFont, count?: number, step?: number, scale?: string, padding?: Margin, strokeWidth?: number, strokeColor?: string, fillColor?: string, fontSize?: string, font?: string, textAlign?: string, labels?: string[], autoSize?: boolean, customGridlines?: QECustomGridline[], showAutoGridlines?: boolean, tickOnly?: boolean);
62
+ min: number;
63
+ max: number;
64
+ name: string;
65
+ nameDisplay: EngFont;
66
+ count: number;
67
+ step: number;
68
+ scale: string;
69
+ padding: Margin;
70
+ strokeWidth: number;
71
+ strokeColor: string;
72
+ fillColor: string;
73
+ fontSize: string;
74
+ font: string;
75
+ textAlign: string;
76
+ labels: string[];
77
+ autoSize: boolean;
78
+ customGridlines: QECustomGridline[];
79
+ showAutoGridlines: boolean;
80
+ tickOnly: boolean;
81
+ }
82
+ declare class QEChart {
83
+ constructor(data: QEDataSet[], type: string, title?: string, chartSettings?: QEChartSettings, plotFunction?: Function, functionInput?: {
84
+ min: number;
85
+ max: number;
86
+ count: number;
87
+ });
88
+ data: QEDataSet[];
89
+ type: string;
90
+ title: string;
91
+ chartSettings: QEChartSettings;
92
+ plotFunction: Function;
93
+ functionInput: {
94
+ min: number;
95
+ max: number;
96
+ count: number;
97
+ };
98
+ }
99
+ declare class QEDataSet {
100
+ constructor(values: Point[], name?: string, display?: CanvasDrawSettings, line?: QELine);
101
+ values: Point[];
102
+ name?: string;
103
+ display: CanvasDrawSettings;
104
+ line: QELine;
105
+ }
106
+ declare class QELine {
107
+ constructor(type?: string, display?: CanvasDrawSettings);
108
+ type?: string;
109
+ display: CanvasDrawSettings;
110
+ }
111
+ declare class QECustomGridline {
112
+ constructor(value: number, label?: string, display?: CanvasDrawSettings, font?: EngFont, opposite?: boolean, tickOnly?: boolean, dashed?: boolean);
113
+ value: number;
114
+ label: string;
115
+ display: CanvasDrawSettings;
116
+ font: EngFont;
117
+ opposite: boolean;
118
+ tickOnly: boolean;
119
+ dashed: boolean;
120
+ }
121
+ declare class Point {
122
+ constructor(x: number, y: number, display?: CanvasDrawSettings);
123
+ x: number;
124
+ y: number;
125
+ display: CanvasDrawSettings;
126
+ }
127
+ declare class Margin {
128
+ constructor(left: number, right: number, top: number, bottom: number);
129
+ left: number;
130
+ right: number;
131
+ top: number;
132
+ bottom: number;
133
+ }
134
+ declare class EngFont {
135
+ constructor(fillColor?: string, font?: string, fontSize?: string);
136
+ fillColor: string;
137
+ font: string;
138
+ fontSize: string;
30
139
  }
31
140
  declare class GRR_Data {
32
141
  constructor(operators: GRR_Operator[]);
@@ -54,6 +163,8 @@ declare class GRR_Replication {
54
163
  getPartsByIndex(index?: number): number[];
55
164
  getPartCount(): number;
56
165
  }
166
+ declare function ObjectToArray(object: any): any[];
167
+ declare function RoundTO(number: number, digits: number): number;
57
168
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58
169
  */
59
170
  declare const Capability: {
@@ -98,6 +209,19 @@ declare const Capability: {
98
209
  */
99
210
  Ppk(data: number[], spec: QESpecification): number;
100
211
  };
212
+ declare function SixPack(data: number[], specification: QESpecification, title?: string): {
213
+ charts: {
214
+ IndividualValue: HTMLCanvasElement;
215
+ CapabilityHistogram: HTMLCanvasElement;
216
+ MovingRange: HTMLCanvasElement;
217
+ NormalProbability: HTMLCanvasElement;
218
+ LastObservations: HTMLCanvasElement;
219
+ Summary: HTMLCanvasElement;
220
+ };
221
+ };
222
+ declare function IndividualValuePlot(data: number[], title?: string, historicalMean?: number): HTMLCanvasElement;
223
+ declare function MovingRangeChart(data: number[], title?: string, w?: number): HTMLCanvasElement;
224
+ declare function CreateCapabilityHistogram(data: number[], specification: QESpecification): HTMLCanvasElement;
101
225
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102
226
  */
103
227
  declare const Beta: {
@@ -654,6 +778,21 @@ declare function IndividualDistributionIdentification(data: number[]): {
654
778
  };
655
779
  };
656
780
  };
781
+ declare function IndividualDistributionPlots(data: number[]): {
782
+ summary: HTMLCanvasElement;
783
+ normal: HTMLCanvasElement;
784
+ boxCox: HTMLCanvasElement;
785
+ exponential: HTMLCanvasElement;
786
+ exponential2p: HTMLCanvasElement;
787
+ gamma: HTMLCanvasElement;
788
+ gamma3p: HTMLCanvasElement;
789
+ largestExtremeValue: HTMLCanvasElement;
790
+ logistic: HTMLCanvasElement;
791
+ loglogistic: HTMLCanvasElement;
792
+ lognormal: HTMLCanvasElement;
793
+ smallestExtremeValue: HTMLCanvasElement;
794
+ weibull: HTMLCanvasElement;
795
+ };
657
796
  declare const QQPlot: {
658
797
  p(data: number[], method?: string): number[][];
659
798
  Exponential(p: number): number;
@@ -760,6 +899,75 @@ declare const UnbiasingConstant: {
760
899
  d4?: undefined;
761
900
  })[];
762
901
  };
902
+ /**
903
+ * Return a serialized dataset
904
+ * @param data An array of data sets to plot
905
+ */
906
+ declare function SerializeData(data: number[]): QEDataSet;
907
+ /**
908
+ * Create a scatter plot
909
+ * @param data An array of data sets to plot
910
+ * @param chartSettings Chart settings
911
+ */
912
+ declare function CreateScatterPlot(data: QEDataSet[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
913
+ /**
914
+ * Checks if data is out of control and marks out-of-control points
915
+ * @param data An array of data sets to check
916
+ * @param UCL Upper Control Limit
917
+ * @param LCL Lower Control Limit
918
+ * @param display Display settings for out-of-control points. DEFAULT: RED SQUARE
919
+ */
920
+ declare function MarkOutOfControl(data: QEDataSet, UCL: number, LCL: number, display?: CanvasDrawSettings): void;
921
+ /**
922
+ * Create a histogram
923
+ * @param data An array of data sets to plot
924
+ * @param title Title to display on chart
925
+ * @param bucketRange The difference between the high and low values of each bucket. If no value is provided the default will be StandardDeviation/3
926
+ * @param chartSettings Chart settings
927
+ */
928
+ declare function GetHistogramDataset(data: number[], title?: string, bucketRange?: number, chartSettings?: QEChartSettings): QEDataSet;
929
+ /**
930
+ * Create a bar graph
931
+ * @param data An array of data sets to plot
932
+ * @param chartSettings Chart settings
933
+ */
934
+ declare function CreateContinuousBarGraph(data: QEDataSet[], title?: string, chartSettings?: QEChartSettings, categoryLabels?: string[]): HTMLCanvasElement;
935
+ /**
936
+ * Create a bar graph
937
+ * @param data An array of data sets to plot
938
+ * @param title Chart Title
939
+ * @param chartSettings Chart settings
940
+ */
941
+ declare function CreateCategoricalBarGraph(data: QEDataCollection[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
942
+ /**
943
+ * Create a bar graph
944
+ * @param data An array of data sets to plot
945
+ * @param title Chart Title
946
+ * @param chartSettings Chart settings
947
+ */
948
+ declare function CreateBoxandWhiskerGraph(data: QEDataSet[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
949
+ /**
950
+ * Create a bar graph
951
+ * @param charts An array of charts to plot side by side
952
+ * @param title Chart Title
953
+ * @param chartSettings Chart settings
954
+ */
955
+ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
956
+ /**
957
+ * Create a bar graph
958
+ * @param charts An array of charts to plot side by side
959
+ * @param title Chart Title
960
+ * @param chartSettings Chart settings
961
+ */
962
+ declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
963
+ /**
964
+ * Create a scatter plot
965
+ * @param data An array of data sets to plot
966
+ * @param chartSettings Chart settings
967
+ */
968
+ declare function CreateStackedChart(charts: QEChart[], title?: string, chartSettings?: QEChartSettings): HTMLCanvasElement;
969
+ declare function GetFunctionValues(callback: Function, range: number[], count: number): QEDataSet;
970
+ declare function QQPlotChart(data: number[], distribution?: string): HTMLCanvasElement;
763
971
  /** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
764
972
  */
765
973
  /**
@@ -858,5 +1066,58 @@ declare function VarianceComponents(ANOVA: any, data: GRR_Data): {
858
1066
  Contribution: number;
859
1067
  };
860
1068
  };
1069
+ declare function G1_Graphs(data: any, tolerance: number, referenceValue: number): {
1070
+ charts: {
1071
+ RunChart: HTMLCanvasElement;
1072
+ };
1073
+ Cg: number;
1074
+ Cgk: number;
1075
+ bias: number;
1076
+ t: number;
1077
+ p: number;
1078
+ };
1079
+ declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
1080
+ GRR: {
1081
+ ANOVA: any;
1082
+ VarComp: {
1083
+ TotalGRR: {
1084
+ VarComp: number;
1085
+ Contribution: number;
1086
+ };
1087
+ Repeatability: {
1088
+ VarComp: number;
1089
+ Contribution: number;
1090
+ };
1091
+ Reproducibility: {
1092
+ VarComp: number;
1093
+ Contribution: number;
1094
+ };
1095
+ Operator: {
1096
+ VarComp: number;
1097
+ Contribution: number;
1098
+ };
1099
+ PartToPart: {
1100
+ VarComp: number;
1101
+ Contribution: number;
1102
+ };
1103
+ TotalVariation: {
1104
+ VarComp: number;
1105
+ Contribution: number;
1106
+ };
1107
+ };
1108
+ GageEvaluation: any;
1109
+ };
1110
+ charts: {
1111
+ Summary: HTMLCanvasElement;
1112
+ VarComp: HTMLCanvasElement;
1113
+ ByPart: HTMLCanvasElement;
1114
+ R: HTMLCanvasElement;
1115
+ ByOperator: HTMLCanvasElement;
1116
+ Xbar: HTMLCanvasElement;
1117
+ PartxOperator: HTMLCanvasElement;
1118
+ };
1119
+ };
1120
+ declare function GRR_ByPartChart(data: GRR_Data): HTMLCanvasElement;
1121
+ declare function GRR_PartxOperatorChart(data: GRR_Data): HTMLCanvasElement;
861
1122
 
862
- export { AnovaTableTwoWay, AverageMovingRange, Beta, Capability, Distributions, ERF, FixedPointIteration, G1, GRR, GRR_Data, GRR_Operator, GRR_Replication, GageEvaluation, Gamma, GoodnessOfFit, IndividualDistributionIdentification, Mean, Median, MovingRange, NewtonRaphson, QESpecification, QQPlot, Range, StDev, Sum, UnbiasingConstant, VarianceComponents };
1123
+ export { AnovaTableTwoWay, AverageMovingRange, Beta, CanvasDrawSettings, Capability, CreateBoxandWhiskerGraph, CreateCapabilityHistogram, CreateCategoricalBarGraph, CreateContinuousBarGraph, CreateScatterPlot, CreateSplitGraph, CreateStackedChart, CreateSummaryChart, Distributions, ERF, EngFont, FixedPointIteration, G1, G1_Graphs, GRR, GRR_ByPartChart, GRR_Data, GRR_Graphs, GRR_Operator, GRR_PartxOperatorChart, GRR_Replication, GageEvaluation, Gamma, GetFunctionValues, GetHistogramDataset, GoodnessOfFit, IndividualDistributionIdentification, IndividualDistributionPlots, IndividualValuePlot, Margin, MarkOutOfControl, Mean, Median, MovingRange, MovingRangeChart, NewtonRaphson, ObjectToArray, Point, QEAxisSettings, QEChart, QEChartSettings, QECustomGridline, QEDataCollection, QEDataSet, QELine, QESpecification, QQPlot, QQPlotChart, Range, RoundTO, SerializeData, SixPack, StDev, Sum, UnbiasingConstant, VarianceComponents };