Merge pull request #19351 from mudux/develop

fix: Vitals chart in Patient History not showing
This commit is contained in:
Deepesh Garg 2019-10-19 17:24:41 +05:30 committed by GitHub
commit 979b042675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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