| Línea 443... |
Línea 443... |
| 443 |
}
|
443 |
}
|
| Línea 444... |
Línea 444... |
| 444 |
|
444 |
|
| 445 |
$filename = $target_path . DIRECTORY_SEPARATOR . $question['slug_question'] . '.png';
|
445 |
$filename = $target_path . DIRECTORY_SEPARATOR . $question['slug_question'] . '.png';
|
| 446 |
$pdf->Cell(0,10,strip_tags(trim(str_replace(' ', ' ', html_entity_decode($question['text'])))),0,1);
|
446 |
$pdf->Cell(0,10,strip_tags(trim(str_replace(' ', ' ', html_entity_decode($question['text'])))),0,1);
|
| 447 |
$pdf->pieChart($labels, $values, '', $filename);
|
- |
|
| 448 |
$pdf->SetLegends($values, '');
|
447 |
$pdf->pieChart($labels, $values, '', $filename);
|
| 449 |
$pdf->SetFont('Arial', '', 12);
|
448 |
$pdf->SetFont('Arial', '', 12);
|
| 450 |
$pdf->Image($filename, 45, $pdf->getY(), 120);
|
449 |
$pdf->Image($filename, 45, $pdf->getY(), 120);
|
| Línea 464... |
Línea 463... |
| 464 |
}
|
463 |
}
|
| Línea 465... |
Línea 464... |
| 465 |
|
464 |
|
| 466 |
$filename = $target_path . DIRECTORY_SEPARATOR . $question['slug_question'] . '.png';
|
465 |
$filename = $target_path . DIRECTORY_SEPARATOR . $question['slug_question'] . '.png';
|
| 467 |
$pdf->Cell(0,10,strip_tags($question['text']),0,1);
|
466 |
$pdf->Cell(0,10,strip_tags($question['text']),0,1);
|
| 468 |
$pdf->barChart($labels, $values, '', $filename);
|
- |
|
| 469 |
$pdf->SetLegends($values, '');
|
467 |
$pdf->barChart($labels, $values, '', $filename);
|
| 470 |
$pdf->SetFont('Arial', '', 12);
|
468 |
$pdf->SetFont('Arial', '', 12);
|
| 471 |
$pdf->Image($filename, 12, $pdf->getY());
|
469 |
$pdf->Image($filename, 12, $pdf->getY());
|
| Línea 472... |
Línea 470... |
| 472 |
$pdf->setY($pdf->getY() + (count($values) * 13) + 10);
|
470 |
$pdf->setY($pdf->getY() + (count($values) * 13) + 10);
|