Browse Source

[phr] chart 높이 변경.

sjpark 4 năm trước cách đây
mục cha
commit
b8fb822d5e
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      src/main/webapp/WEB-INF/jsp/clinic/info.jsp

+ 4 - 4
src/main/webapp/WEB-INF/jsp/clinic/info.jsp

@@ -186,7 +186,7 @@ function drawPhrChart(data, dataName) {
 	        }]
 	    },
 	    options: {
-
+	    	maintainAspectRatio: false,
 	    }
 	});
 }
@@ -229,7 +229,7 @@ function drawBPChart(data) {
 	        }]
 	    },
 	    options: {
-
+	    	maintainAspectRatio: false,
 	    }
 	});
 }
@@ -998,8 +998,8 @@ $(document).ready(function() {
 										</h1>
 									</div>
 									<div class="card-body">
-										<div class="graph-area mb-4">
-											<canvas id="phrChart" width="400" height="100"></canvas>
+										<div class="graph-area mb-4" style="height:300px;">
+											<canvas id="phrChart"></canvas>
 										</div>
 										<div class="table-responsive">
 											<table id="phrDataTable" class="table data-table text-center">