Asthetics works, comma on thoursands

This commit is contained in:
Luis Fernando Molina committed 2018-06-01 18:51:49 +02:00
1 parent 02fcb356b0
commit 37a47cc43e
7 files changed
+25 -22

No files matched your search

+3 -2
View File
@@ -501,9 +501,10 @@
let fontSize = 10;
let label = ' ' + Math.round(j * 1000000) / 1000000;
label = Number(label).toLocaleString();
let labelPoint = {
x: viewPort.visibleArea.bottomRight.x + 1,
x: viewPort.visibleArea.bottomRight.x + 5,
y: point1.y + fontSize / 2 * FONT_ASPECT_RATIO
};
@@ -540,7 +541,7 @@
let label = ' ' + pad(labelValue, 3) + '%';
let labelPoint = {
x: -2,
x: 0,
y: point1.y + fontSize / 2 * FONT_ASPECT_RATIO
};