# HG changeset patch
# User Edouard Tisserant
# Date 1654846750 -7200
# Node ID 0d7f9c555ae220db3cd27553b3d9bd6f5253fb79
# Parent b5ca17732b1e5f9666f3b08aa17300010a9e22ad
SVGHMI: update generated XSLT filesw
diff -r b5ca17732b1e -r 0d7f9c555ae2 svghmi/analyse_widget.xslt
--- a/svghmi/analyse_widget.xslt Fri Jun 03 11:49:13 2022 +0200
+++ b/svghmi/analyse_widget.xslt Fri Jun 10 09:39:10 2022 +0200
@@ -935,6 +935,23 @@
format string for Y label
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r b5ca17732b1e -r 0d7f9c555ae2 svghmi/gen_index_xhtml.xslt
--- a/svghmi/gen_index_xhtml.xslt Fri Jun 03 11:49:13 2022 +0200
+++ b/svghmi/gen_index_xhtml.xslt Fri Jun 10 09:39:10 2022 +0200
@@ -5669,6 +5669,10 @@
this.shift |= this.caps;
+ if(this.virgin)
+
+ this.editstr = "";
+
this.editstr += syms[this.shift?syms.length-1:0];
this.shift = false;
@@ -5805,7 +5809,9 @@
this.result_callback_obj = callback_obj;
- this.Info_elt.textContent = info;
+ if(this.Info_elt)
+
+ this.Info_elt.textContent = info;
this.shift = false;
@@ -5817,6 +5823,8 @@
this.update();
+ this.virgin = true;
+
}
@@ -5825,6 +5833,8 @@
if(this.editstr != this._editstr){
+ this.virgin = false;
+
this._editstr = this.editstr;
this.Value_elt.textContent = this.editstr;
@@ -5857,13 +5867,13 @@
- Esc Enter BackSpace Keys Info Value
+ Esc Enter BackSpace Keys Value
- Sign Space NumDot
+ Sign Space NumDot Info
@@ -5912,6 +5922,8 @@
],
+ virgin: false,
+
@@ -8044,7 +8056,7 @@
- this.curves_data = this.curves.map(_unused => []);
+ this.curves_data = [];
}
@@ -8066,6 +8078,12 @@
+ if(this.curves_data[index] === undefined){
+
+ this.curves_data[index] = [];
+
+ }
+
this.curves_data[index].push([time, value]);
let data_length = this.curves_data[index].length;
@@ -8271,6 +8289,23 @@
}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -8287,20 +8322,24 @@
init_specific() {
-
+
+
+
+
+ XYGraph id="
+
+ ", label="
+
+ " :
+
+
+
+
-
-
-
- XYGraph id="
-
- ", label="
-
- " : elements with data_n label must be unique.
-
-
+
+
this.curves[
-
+
] = id("
"); /*