Bladeren bron

RPM manager - graphs - show y-ticks and y-label

Vijayakrishnan 2 jaren geleden
bovenliggende
commit
d8eb6318b2
1 gewijzigde bestanden met toevoegingen van 12 en 4 verwijderingen
  1. 12 4
      resources/views/app/practice-management/rpm-manager/index.blade.php

+ 12 - 4
resources/views/app/practice-management/rpm-manager/index.blade.php

@@ -554,9 +554,13 @@
                             },*/
                         },
                         y: {
-                            show: false,
+                            show: true,
+                            tick: {
+                                count: 5,
+                                format: function (x) { return Math.ceil(x); }
+                            },
                             label: {
-                                text: 'Blood Pressure (mmHg)',
+                                text: 'BP',
                                 position: 'outer-middle'
                             },
                             min: 40,
@@ -602,9 +606,13 @@
                             },*/
                         },
                         y: {
-                            show: false,
+                            show: true,
+                            tick: {
+                                count: 5,
+                                format: function (x) { return Math.ceil(x); }
+                            },
                             label: {
-                                text: 'Weight (lbs)',
+                                text: 'Weight',
                                 position: 'outer-middle'
                             },
                             /*min: 70,