Skip to content

Commit

Permalink
removed chart digits format (only from tag property) #732 #711 #708
Browse files Browse the repository at this point in the history
  • Loading branch information
unocelli committed Mar 18, 2023
1 parent 52d9097 commit c8e8073
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
</div>
</div>
</app-root>
<script src="runtime.baefb0096c638cd1.js" type="module"></script><script src="polyfills.15e52e6eacaabf13.js" type="module"></script><script src="scripts.4caafee715dae69c.js" defer></script><script src="main.2f7d9ac2abd6f28f.js" type="module"></script>
<script src="runtime.baefb0096c638cd1.js" type="module"></script><script src="polyfills.15e52e6eacaabf13.js" type="module"></script><script src="scripts.4caafee715dae69c.js" defer></script><script src="main.e30a4fa9967c3625.js" type="module"></script>

</body></html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuxa",
"version": "1.1.12-1147",
"version": "1.1.12-1148",
"keywords": [],
"author": "frangoteam <4frango@gmail.com>",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
Expand Down
6 changes: 1 addition & 5 deletions client/src/app/gui-helpers/ngx-uplot/ngx-uplot.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,7 @@ export class NgxUplotComponent implements OnInit, OnDestroy {
try {
var ydx = this._proximityIndex(u, i, idx, x);
if (!isNaN(u.data[i][ydx])) {
if (u.data[i][ydx].toString().indexOf('.') !== -1) {
value = parseFloat(u.data[i][ydx]).toFixed(this.options.decimalsPrecision);
} else {
value = u.data[i][ydx];
}
value = u.data[i][ydx];
}
} catch { }
series = series + `<div class="ut-serie"><div class="ut-marker" style="border-color: ${u.series[i]._stroke}"></div>${u.series[i].label}: <div class="ut-value">${value}</div></div>`;
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fuxa-server",
"version": "1.1.12-1147",
"version": "1.1.12-1148",
"description": "Web-based Process Visualization (SCADA/HMI/Dashboard) software",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit c8e8073

Please sign in to comment.