Procházet zdrojové kódy

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

Vijayakrishnan před 2 roky
rodič
revize
d8eb6318b2

+ 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,