This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.
This is a test what happens when removing data. (2002 is missing)
| <?php | |
| declare(strict_types=1); | |
| namespace App; | |
| use PhpParser\Node; | |
| use PhpParser\Node\Stmt\Class_; | |
| use PhpParser\Node\Expr\ClassConstFetch; | |
| use PhpParser\Node\Name\FullyQualified; | 
This examples demonstrates how to use D3's brush component to implement focus + context zooming. Click and drag in the small chart below to pan or zoom.
This is a test what happens when removing data. (2002 is missing)
| class FormErrorsSerializer { | |
| public function serializeFormErrors(\Symfony\Component\Form\Form $form, $flat_array = false, $add_form_name = false, $glue_keys = '_') | |
| { | |
| $errors = array(); | |
| $errors['global'] = array(); | |
| $errors['fields'] = array(); | |
| foreach ($form->getErrors() as $error) { | |
| $errors['global'][] = $error->getMessage(); |