var bloodPressure=document.getElementById("patient-blood-pressure").getContext("2d"),green_gradient=bloodPressure.createLinearGradient(0,0,0,100);green_gradient.addColorStop(0,"rgba(248,80,50,0.1)"),green_gradient.addColorStop(1,"rgba(255,255,255,0)");var bloodPressureStats={responsive:!0,maintainAspectRatio:!1,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(248,80,50,0.1)",legend:{display:!1},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{display:!1,ticks:{min:0,max:85}}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:30,text:"52%"}},bpMonthData={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul"],datasets:[{label:"Blood Pressure",data:[15,25,35,25,15,35,15],backgroundColor:"transparent",borderColor:"#28d094",borderWidth:1.5,strokeColor:"#28d094",pointRadius:0}]},bpconfig={type:"line",options:bloodPressureStats,data:bpMonthData},bloodPressureCard=new Chart(bloodPressure,bpconfig),heartRate=document.getElementById("patient-heart-rate").getContext("2d"),red_gradient=bloodPressure.createLinearGradient(0,0,0,100);red_gradient.addColorStop(0,"rgba(248,80,50,1)"),red_gradient.addColorStop(1,"rgba(255,255,255,0)");var hrStats={responsive:!0,maintainAspectRatio:!1,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(248,80,50,1)",legend:{display:!1},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{display:!1,ticks:{min:0,max:85}}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:30,text:"52%"}},hrMonthData={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul"],datasets:[{label:"Heart Rate",data:[30,55,30,65,30,75,30],backgroundColor:"transparent",borderColor:"#e73827",borderWidth:1.5,strokeColor:"#e73827",pointRadius:0}]},hrconfig={type:"line",options:hrStats,data:hrMonthData},hrCard=new Chart(heartRate,hrconfig),glucose=document.getElementById("patient-glucose").getContext("2d"),blue_gradient=bloodPressure.createLinearGradient(0,0,0,100);blue_gradient.addColorStop(0,"rgba(248,80,50,1)"),blue_gradient.addColorStop(1,"rgba(255,255,255,0)");var gStats={responsive:!0,maintainAspectRatio:!1,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(248,80,50,1)",legend:{display:!1},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{display:!1,ticks:{min:0,max:85}}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:30,text:"52%"}},gMonthData={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul"],datasets:[{label:"Glucose",data:[50,60,40,25,40,30,60],backgroundColor:"transparent",borderColor:"#49a5bf",borderWidth:1.5,strokeColor:"#49a5bf",pointRadius:0}]},gconfig={type:"line",options:gStats,data:gMonthData},gCard=new Chart(glucose,gconfig),cholestrol=document.getElementById("patient-cholestrol").getContext("2d"),purple_gradient=bloodPressure.createLinearGradient(0,0,0,100);purple_gradient.addColorStop(0,"rgba(248,80,50,1)"),purple_gradient.addColorStop(1,"rgba(255,255,255,0)");var chStats={responsive:!0,maintainAspectRatio:!1,datasetStrokeWidth:3,pointDotStrokeWidth:4,tooltipFillColor:"rgba(248,80,50,1)",legend:{display:!1},hover:{mode:"label"},scales:{xAxes:[{display:!1}],yAxes:[{display:!1,ticks:{min:0,max:85}}]},title:{display:!1,fontColor:"#FFF",fullWidth:!1,fontSize:30,text:"52%"}},chMonthData={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul"],datasets:[{label:"Cholestrol",data:[20,60,30,40,10,50,20],backgroundColor:"transparent",borderColor:"#db36a4",borderWidth:1.5,strokeColor:"#db36a4",pointRadius:0}]},chconfig={type:"line",options:chStats,data:chMonthData},chCard=new Chart(cholestrol,chconfig);