From 0d7359a826cd61cfc9e2008af29bbe130030ad51 Mon Sep 17 00:00:00 2001 From: mudux Date: Sat, 19 Oct 2019 11:10:42 +0300 Subject: [PATCH] fix: Vitals chart not diplaying --- erpnext/healthcare/page/patient_history/patient_history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/healthcare/page/patient_history/patient_history.js b/erpnext/healthcare/page/patient_history/patient_history.js index 87fe7edd29..b335ada871 100644 --- a/erpnext/healthcare/page/patient_history/patient_history.js +++ b/erpnext/healthcare/page/patient_history/patient_history.js @@ -275,7 +275,7 @@ var show_patient_vital_charts = function(patient, me, btn_show_id, pts, title) { datasets.push({name: "Heart Rate / Pulse", values: pulse, chartType:'line'}); datasets.push({name: "Respiratory Rate", values: respiratory_rate, chartType:'line'}); } - new Chart( ".patient_vital_charts", { + new frappe.Chart( ".patient_vital_charts", { data: { labels: labels, datasets: datasets