qesuite 1.0.10 → 1.0.11
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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/index.ts +3 -1
- package/package.json +1 -1
- package/versions/1_0_11.md +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -216,7 +216,7 @@ declare function SixPack(data: number[], specification: QESpecification, title?:
|
|
|
216
216
|
MovingRange: HTMLCanvasElement;
|
|
217
217
|
NormalProbability: HTMLCanvasElement;
|
|
218
218
|
LastObservations: HTMLCanvasElement;
|
|
219
|
-
Summary:
|
|
219
|
+
Summary: HTMLCanvasElement;
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
222
|
declare function IndividualValuePlot(data: number[], title?: string, historicalMean?: number): HTMLCanvasElement;
|
|
@@ -731,7 +731,7 @@ declare function IndividualDistributionIdentification(data: number[]): {
|
|
|
731
731
|
};
|
|
732
732
|
};
|
|
733
733
|
declare function IndividualDistributionPlots(data: number[]): {
|
|
734
|
-
summary:
|
|
734
|
+
summary: HTMLCanvasElement;
|
|
735
735
|
normal: HTMLCanvasElement;
|
|
736
736
|
boxCox: HTMLCanvasElement;
|
|
737
737
|
exponential: HTMLCanvasElement;
|
|
@@ -911,7 +911,7 @@ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSetting
|
|
|
911
911
|
* @param title Chart Title
|
|
912
912
|
* @param chartSettings Chart settings
|
|
913
913
|
*/
|
|
914
|
-
declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string):
|
|
914
|
+
declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
|
|
915
915
|
/**
|
|
916
916
|
* Create a scatter plot
|
|
917
917
|
* @param data An array of data sets to plot
|
|
@@ -1060,7 +1060,7 @@ declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
|
|
|
1060
1060
|
GageEvaluation: any;
|
|
1061
1061
|
};
|
|
1062
1062
|
charts: {
|
|
1063
|
-
Summary:
|
|
1063
|
+
Summary: HTMLCanvasElement;
|
|
1064
1064
|
VarComp: HTMLCanvasElement;
|
|
1065
1065
|
ByPart: HTMLCanvasElement;
|
|
1066
1066
|
R: HTMLCanvasElement;
|
package/dist/index.d.ts
CHANGED
|
@@ -216,7 +216,7 @@ declare function SixPack(data: number[], specification: QESpecification, title?:
|
|
|
216
216
|
MovingRange: HTMLCanvasElement;
|
|
217
217
|
NormalProbability: HTMLCanvasElement;
|
|
218
218
|
LastObservations: HTMLCanvasElement;
|
|
219
|
-
Summary:
|
|
219
|
+
Summary: HTMLCanvasElement;
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
222
|
declare function IndividualValuePlot(data: number[], title?: string, historicalMean?: number): HTMLCanvasElement;
|
|
@@ -731,7 +731,7 @@ declare function IndividualDistributionIdentification(data: number[]): {
|
|
|
731
731
|
};
|
|
732
732
|
};
|
|
733
733
|
declare function IndividualDistributionPlots(data: number[]): {
|
|
734
|
-
summary:
|
|
734
|
+
summary: HTMLCanvasElement;
|
|
735
735
|
normal: HTMLCanvasElement;
|
|
736
736
|
boxCox: HTMLCanvasElement;
|
|
737
737
|
exponential: HTMLCanvasElement;
|
|
@@ -911,7 +911,7 @@ declare function CreateSplitGraph(charts: QEChart[], title: string, chartSetting
|
|
|
911
911
|
* @param title Chart Title
|
|
912
912
|
* @param chartSettings Chart settings
|
|
913
913
|
*/
|
|
914
|
-
declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string):
|
|
914
|
+
declare function CreateSummaryChart(charts: HTMLCanvasElement[], title: string): HTMLCanvasElement;
|
|
915
915
|
/**
|
|
916
916
|
* Create a scatter plot
|
|
917
917
|
* @param data An array of data sets to plot
|
|
@@ -1060,7 +1060,7 @@ declare function GRR_Graphs(data: any, tolerance: number, name?: string): {
|
|
|
1060
1060
|
GageEvaluation: any;
|
|
1061
1061
|
};
|
|
1062
1062
|
charts: {
|
|
1063
|
-
Summary:
|
|
1063
|
+
Summary: HTMLCanvasElement;
|
|
1064
1064
|
VarComp: HTMLCanvasElement;
|
|
1065
1065
|
ByPart: HTMLCanvasElement;
|
|
1066
1066
|
R: HTMLCanvasElement;
|
package/dist/index.js
CHANGED
|
@@ -1836,7 +1836,7 @@ function IndividualDistributionIdentification(data) {
|
|
|
1836
1836
|
scale: StDev.S(boxCoxData)
|
|
1837
1837
|
},
|
|
1838
1838
|
...GoodnessOfFit.AndersonDarling.Test(boxCoxData, (x) => {
|
|
1839
|
-
return Distributions.Normal.cdf(x,
|
|
1839
|
+
return Distributions.Normal.cdf(x, Mean(boxCoxData), StDev.S(boxCoxData));
|
|
1840
1840
|
})
|
|
1841
1841
|
}
|
|
1842
1842
|
};
|
|
@@ -2132,6 +2132,7 @@ function AddSolidBackground(canvas, color) {
|
|
|
2132
2132
|
newCtx.drawImage(canvas, 0, 0);
|
|
2133
2133
|
newCtx.closePath();
|
|
2134
2134
|
}
|
|
2135
|
+
return newCanvas;
|
|
2135
2136
|
}
|
|
2136
2137
|
function AddPlotArea(ctx, chartSettings) {
|
|
2137
2138
|
let width = chartSettings.width - chartSettings.margins.left - chartSettings.margins.right;
|
package/dist/index.mjs
CHANGED
|
@@ -1749,7 +1749,7 @@ function IndividualDistributionIdentification(data) {
|
|
|
1749
1749
|
scale: StDev.S(boxCoxData)
|
|
1750
1750
|
},
|
|
1751
1751
|
...GoodnessOfFit.AndersonDarling.Test(boxCoxData, (x) => {
|
|
1752
|
-
return Distributions.Normal.cdf(x,
|
|
1752
|
+
return Distributions.Normal.cdf(x, Mean(boxCoxData), StDev.S(boxCoxData));
|
|
1753
1753
|
})
|
|
1754
1754
|
}
|
|
1755
1755
|
};
|
|
@@ -2045,6 +2045,7 @@ function AddSolidBackground(canvas, color) {
|
|
|
2045
2045
|
newCtx.drawImage(canvas, 0, 0);
|
|
2046
2046
|
newCtx.closePath();
|
|
2047
2047
|
}
|
|
2048
|
+
return newCanvas;
|
|
2048
2049
|
}
|
|
2049
2050
|
function AddPlotArea(ctx, chartSettings) {
|
|
2050
2051
|
let width = chartSettings.width - chartSettings.margins.left - chartSettings.margins.right;
|
package/index.ts
CHANGED
|
@@ -1903,7 +1903,7 @@ export function IndividualDistributionIdentification(data: number[]){
|
|
|
1903
1903
|
location: Mean(boxCoxData),
|
|
1904
1904
|
scale: StDev.S(boxCoxData)
|
|
1905
1905
|
},
|
|
1906
|
-
...GoodnessOfFit.AndersonDarling.Test(boxCoxData, (x: number) => {return Distributions.Normal.cdf(x,
|
|
1906
|
+
...GoodnessOfFit.AndersonDarling.Test(boxCoxData, (x: number) => {return Distributions.Normal.cdf(x, Mean(boxCoxData), StDev.S(boxCoxData))})
|
|
1907
1907
|
}
|
|
1908
1908
|
}
|
|
1909
1909
|
console.log(returnerObj)
|
|
@@ -2357,6 +2357,8 @@ function AddSolidBackground(canvas: HTMLCanvasElement, color: string){
|
|
|
2357
2357
|
newCtx.drawImage(canvas, 0, 0)
|
|
2358
2358
|
newCtx.closePath();
|
|
2359
2359
|
}
|
|
2360
|
+
|
|
2361
|
+
return newCanvas
|
|
2360
2362
|
}
|
|
2361
2363
|
|
|
2362
2364
|
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Previous release forgot to return the newCanvas element in AddSolidBackground, this has been corrected.
|