Merge pull request #19360 from mudux/develop
fix: vitals chart legibility and BMI annotation
diff --git a/erpnext/healthcare/page/patient_history/patient_history.js b/erpnext/healthcare/page/patient_history/patient_history.js
index b335ada..fe5b7bc 100644
--- a/erpnext/healthcare/page/patient_history/patient_history.js
+++ b/erpnext/healthcare/page/patient_history/patient_history.js
@@ -234,7 +234,7 @@
<a class='btn btn-default btn-xs btn-show-chart' data-show-chart-id='temperature' \
data-pts='°C or °F' data-title='Temperature'>Temperature</a>\
<a class='btn btn-default btn-xs btn-show-chart' data-show-chart-id='bmi' \
- data-pts='bmi' data-title='BMI'>BMI</a></div>";
+ data-pts='' data-title='BMI'>BMI</a></div>";
me.page.main.find(".show_chart_btns").html(show_chart_btns_html);
var data = r.message;
let labels = [], datasets = [];
@@ -283,7 +283,7 @@
title: title,
type: 'axis-mixed', // 'axis-mixed', 'bar', 'line', 'pie', 'percentage'
- height: 150,
+ height: 200,
colors: ['purple', '#ffa3ef', 'light-blue'],
tooltipOptions: {