$x = 0;
foreach ($uniqueJobs as $key => $value) {
    echo '"' . $key . '",';
}
?>
],
datasets : [
  {
    fillColor: "rgba(153,0,51,0.85)",
    strokeColor : "rgba(220,220,220,0.8)",
    highlightFill: "rgba(153,0,51,0.7)",
    highlightStroke: "rgba(220,220,220,1)",
    data : [<?php 
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    $number = countProduct($quotes, $key);
    $number = $number / $value;
    echo '' . round($number) . ',';
}
?>
]
  },
  {
    fillColor: "rgba(153,0,51,0.5)",
    strokeColor : "rgba(220,220,220,0.8)",
    highlightFill: "rgba(153,0,51,0.4)",
    highlightStroke: "rgba(220,220,220,1)",
    data : [<?php 
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    $number = getProductMedium($quotes, $key);
Пример #2
0
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    echo '"' . $key . '",';
}
?>
],
  datasets : [
    {
      fillColor: "rgba(153,0,51,0.85)",
      strokeColor : "rgba(220,220,220,0.8)",
      highlightFill: "rgba(153,0,51,0.7)",
      highlightStroke: "rgba(220,220,220,1)",
      data : [<?php 
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    $number = countProduct($testing, $key);
    $number = $number / $value;
    echo '' . round($number) . ',';
}
?>
]
    },
    {
      fillColor: "rgba(153,0,51,0.5)",
      strokeColor : "rgba(220,220,220,0.8)",
      highlightFill: "rgba(153,0,51,0.4)",
      highlightStroke: "rgba(220,220,220,1)",
      data : [<?php 
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    $number = getProductMedium($testing, $key);
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    echo '"' . $key . '",';
}
?>
],
  datasets : [
    {
      fillColor: "rgba(153,0,51,0.85)",
      strokeColor : "rgba(220,220,220,0.8)",
      highlightFill: "rgba(153,0,51,0.7)",
      highlightStroke: "rgba(220,220,220,1)",
      data : [<?php 
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    $number = countProduct($monthlyQuotes, $key);
    $number = $number / $value;
    echo '' . round($number) . ',';
}
?>
]
    },
    {
      fillColor: "rgba(153,0,51,0.5)",
      strokeColor : "rgba(220,220,220,0.8)",
      highlightFill: "rgba(153,0,51,0.4)",
      highlightStroke: "rgba(220,220,220,1)",
      data : [<?php 
$x = 0;
foreach ($uniqueJobs as $key => $value) {
    $number = getProductMedium($monthlyQuotes, $key);