Lines Matching refs:ydata
242 $ydata = [];
291 … $this->fillYData($row->d_month, 0, $row->total, $x_axis, $z_axis, $ydata);
298 … $this->fillYData($row->d_month, $row->i_sex, $row->total, $x_axis, $z_axis, $ydata);
308 … $this->fillYData($row->d_month, $boundary, $row->total, $x_axis, $z_axis, $ydata);
317 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
340 … $this->fillYData($row->d_month, 0, $row->total, $x_axis, $z_axis, $ydata);
347 … $this->fillYData($row->d_month, $row->i_sex, $row->total, $x_axis, $z_axis, $ydata);
357 … $this->fillYData($row->d_month, $boundary, $row->total, $x_axis, $z_axis, $ydata);
366 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
389 … $this->fillYData($row->d_month, 0, $row->total, $x_axis, $z_axis, $ydata);
399 … $this->fillYData($row->d_month, $boundary, $row->total, $x_axis, $z_axis, $ydata);
408 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
431 … $this->fillYData($row->d_month, 0, $row->total, $x_axis, $z_axis, $ydata);
438 … $this->fillYData($row->d_month, $row->i_sex, $row->total, $x_axis, $z_axis, $ydata);
448 … $this->fillYData($row->d_month, $boundary, $row->total, $x_axis, $z_axis, $ydata);
457 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
482 $this->fillYData($row->month, 0, 1, $x_axis, $z_axis, $ydata);
497 … $this->fillYData($row->month, $boundary, 1, $x_axis, $z_axis, $ydata);
509 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
535 $this->fillYData($years, 0, 1, $x_axis, $z_axis, $ydata);
546 $this->fillYData($years, $sex, 1, $x_axis, $z_axis, $ydata);
560 … $this->fillYData($years, $boundary, 1, $x_axis, $z_axis, $ydata);
571 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
598 $this->fillYData($years, 0, 1, $x_axis, $z_axis, $ydata);
608 $this->fillYData($years, $sex, 1, $x_axis, $z_axis, $ydata);
622 … $this->fillYData($years, $boundary, 1, $x_axis, $z_axis, $ydata);
632 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
661 $this->fillYData($years, 0, 1, $x_axis, $z_axis, $ydata);
675 $this->fillYData($years, $sex, 1, $x_axis, $z_axis, $ydata);
693 … $this->fillYData($years, $boundary, 1, $x_axis, $z_axis, $ydata);
705 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
728 … $this->fillYData($row->f_numchil, 0, $row->total, $x_axis, $z_axis, $ydata);
738 … $this->fillYData($row->f_numchil, $boundary, $row->total, $x_axis, $z_axis, $ydata);
747 …return response($this->myPlot($chart_title, $x_axis, $x_axis_title, $ydata, $y_axis_title, $z_axis…
871 private function fillYData($x, $z, $value, array $x_axis, array $z_axis, array &$ydata): void argument
886 $ydata[$z][$x] = ($ydata[$z][$x] ?? 0) + $value;
934 array $ydata, argument
939 if (!count($ydata)) {
946 while (count($colors) < count($ydata)) {
955 $tmp[$z][$x] = $ydata[$z][$x] ?? 0;
958 $ydata = $tmp;
963 array_walk($ydata, static function (array &$x) {
979 foreach ($ydata as $months) {