Forum


Replies: 3   Views: 1990
Caracteres especiales en el nombre de las series de una gráfica
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 05-03-2019 - 17:16

Hola,

Para solucionarlo tienes que transformar & en &, es decir:

$data = array(
    'legend' => array('Legend 1', 'Legend 2', 'Legend 3'),
    'data' => array(
        array(
            'name' => 'Red',
            'values' => array(10, 20, 5),
        ),
        array(
            'name' => 'Black & White',
            'values' => array(20, 60, 3),
        ),
        array(
            'name' => 'Blue',
            'values' => array(50, 33, 7),
        ),
    ),
);

Saludos.