qesuite 1.0.19 → 1.0.21
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/index.ts +1 -2
- package/package.json +1 -1
- package/versions/1_0_20.md +1 -0
- package/versions/1_0_21.md +1 -0
package/dist/index.js
CHANGED
|
@@ -2357,7 +2357,7 @@ function AddAxisGridlines(ctx, chartSettings, axis) {
|
|
|
2357
2357
|
if (((_n = chartSettings.axis.y.labels) == null ? void 0 : _n.length) === void 0) {
|
|
2358
2358
|
chartSettings.axis.y.labels = [];
|
|
2359
2359
|
}
|
|
2360
|
-
ctx.fillText(chartSettings.axis.y.labels[i] ? chartSettings.axis.y.labels[i] : RoundTO(unadjustedValue, 3), xL - 20, y);
|
|
2360
|
+
ctx.fillText(chartSettings.axis.y.labels[i] ? chartSettings.axis.y.labels[i] : Number(RoundTO(unadjustedValue, 3)) ? RoundTO(unadjustedValue, 3) : "", xL - 20, y);
|
|
2361
2361
|
ctx.stroke();
|
|
2362
2362
|
ctx.closePath();
|
|
2363
2363
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2270,7 +2270,7 @@ function AddAxisGridlines(ctx, chartSettings, axis) {
|
|
|
2270
2270
|
if (((_n = chartSettings.axis.y.labels) == null ? void 0 : _n.length) === void 0) {
|
|
2271
2271
|
chartSettings.axis.y.labels = [];
|
|
2272
2272
|
}
|
|
2273
|
-
ctx.fillText(chartSettings.axis.y.labels[i] ? chartSettings.axis.y.labels[i] : RoundTO(unadjustedValue, 3), xL - 20, y);
|
|
2273
|
+
ctx.fillText(chartSettings.axis.y.labels[i] ? chartSettings.axis.y.labels[i] : Number(RoundTO(unadjustedValue, 3)) ? RoundTO(unadjustedValue, 3) : "", xL - 20, y);
|
|
2274
2274
|
ctx.stroke();
|
|
2275
2275
|
ctx.closePath();
|
|
2276
2276
|
}
|
package/index.ts
CHANGED
|
@@ -2631,7 +2631,7 @@ function AddAxisGridlines(ctx: any, chartSettings: ChartSettings, axis: string)
|
|
|
2631
2631
|
if(chartSettings.axis.y.labels?.length === undefined){
|
|
2632
2632
|
chartSettings.axis.y.labels = []
|
|
2633
2633
|
}
|
|
2634
|
-
ctx.fillText(chartSettings.axis.y.labels[i] ? chartSettings.axis.y.labels[i] : RoundTO(unadjustedValue, 3), xL - 20, y);
|
|
2634
|
+
ctx.fillText(chartSettings.axis.y.labels[i] ? chartSettings.axis.y.labels[i] : (Number(RoundTO(unadjustedValue, 3)) ? RoundTO(unadjustedValue, 3) : ""), xL - 20, y);
|
|
2635
2635
|
ctx.stroke();
|
|
2636
2636
|
ctx.closePath();
|
|
2637
2637
|
}
|
|
@@ -4096,7 +4096,6 @@ export function GageEvaluation(VarianceComponents: any, tolerance: any){
|
|
|
4096
4096
|
*/
|
|
4097
4097
|
export function GRR(data: any, tolerance: number){
|
|
4098
4098
|
let ANOVA = AnovaTableTwoWay(data, true);
|
|
4099
|
-
|
|
4100
4099
|
if(ANOVA.Interaction){
|
|
4101
4100
|
if(ANOVA.Interaction.P >= 0.05){
|
|
4102
4101
|
ANOVA = AnovaTableTwoWay(data, false);
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Added type checking for undefined y-axis gridline label
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Removed all console.logs
|