}; </script> <script> var lineChartData = { labels : [<?php foreach ($textMonths as $month) { echo '"' . $month . '",'; } ?> ], datasets : [ <?php $y = 0; foreach ($uniqueJobs as $key => $value) { $details = getMonthData($quotes, $key); echo '{ label: "' . $key . '", fillColor : "rgba(' . $r[$y] . ',' . $g[$y] . ',' . $b[$y] . ',0.25)", strokeColor : "rgba(153,0,51,.5)", pointColor : "rgba(153,0,51,.5)", pointStrokeColor : "#fff", pointHighlightFill : "#fff", pointHighlightStroke : "rgba(153,0,51,1)", '; echo 'data : ['; for ($x = 1; $x < 13; $x++) { $theValue = 0; foreach ($details as $key => $value) { if ($key == $x) { $theValue = $value;
getCountryRegimen(); break; case 'getRegimenList': getRegimenList(); break; case 'getCountryProduct': getCountryProduct(); break; case 'getPOMasterData': getPOMasterData(); break; case 'getReportStatusData': getReportStatusData(); break; case 'getMonthData': getMonthData(); break; case 'getAgencyShipment': getAgencyShipment(); break; case 'getYcProfileData': getYcProfileData(); break; case 'getSummaryData': getSummaryData(); break; case 'getCountryProfileParams': getCountryProfileParams(); break; case 'getYcRegimenPatient': getYcRegimenPatient();
] } var lineChartDataOver = { labels : [<?php foreach ($textMonths as $month) { echo '"' . $month . '",'; } ?> ], datasets : [ <?php $y = 0; foreach ($uniqueJobs as $key => $value) { $details = getMonthData($monthlyQuotes, $key); echo '{ label: "' . $key . '", fillColor : "rgba(' . $r[$y] . ',' . $g[$y] . ',' . $b[$y] . ',0.25)", strokeColor : "rgba(153,0,51,.5)", pointColor : "rgba(153,0,51,.5)", pointStrokeColor : "#fff", pointHighlightFill : "#fff", pointHighlightStroke : "rgba(153,0,51,1)", '; echo 'data : ['; for ($x = 1; $x < 13; $x++) { $theValue = 0; foreach ($details as $key => $value) { if ($key == $x) { $theValue = $value;