瀏覽代碼

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

Vijayakrishnan 2 年之前
父節點
當前提交
d8eb6318b2
共有 1 個文件被更改,包括 12 次插入4 次删除
  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,