vue-world-map icon indicating copy to clipboard operation
vue-world-map copied to clipboard

Options setted through setOptions() will be removed when toVue() is executed

Open jonathan-ruiz opened this issue 1 year ago • 0 comments

Options added using the method

setOptions($options)

are removed when ->toVue() is executed

    dump($this->chart->donutChart()
        ->setTitle('Top 3 scorers of the team.')
        ->setSubtitle('Season 2021.')
        ->addData([20, 24, 30])
        ->setLabels(['Player 7', 'Player 10', 'Player 9'])
        ->setOptions([
            'legend' => [
                'show' => false,
                'position' => 'bottom'
            ]
        ])
        ->toVue()); 
        
         exit();

jonathan-ruiz avatar Feb 08 '24 17:02 jonathan-ruiz