PHP code example of ziwot / cake-chartscss

1. Go to this page and download the library: Download ziwot/cake-chartscss library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ziwot / cake-chartscss example snippets



/**
 * @var \App\View\AppView $this
 */

$this->append('css', $this->Html->css('ChartsCss.charts.min'));

$data = [
   2020 => '$ .6',
   2021 => '$ .7',
   2022 => '$ .77',
   2023 => '$ .73',
   2024 => '$ .80',
   2025 => .88,
];