Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/job-board.corals.io/vendor/corals/charts/src/Features/C3/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/job-board.corals.io/vendor/corals/charts/src/Features/C3/Chart.php
<?php

namespace ConsoleTVs\Charts\Features\C3;

trait Chart
{
    /**
     * Determines if the chart legend will be displayed.
     *
     * @param bool $display
     *
     * @return self
     */
    public function legend(bool $display)
    {
        return $this->options([
            'legend' => [
                'show' => $display,
            ],
        ]);
    }

    /**
     * Determines if the chart grid will be shown.
     *
     * @param bool $display
     *
     * @return self
     */
    public function grid(bool $display)
    {
        return $this->options([
            'grid' => [
                'x' => [
                    'show' => $display,
                ],
                'y' => [
                    'show' => $display,
                ],
            ],
        ]);
    }

    /**
     * Determines if the chart tooltip will be shown.
     *
     * @param bool $display
     *
     * @return self
     */
    public function tooltip(bool $display)
    {
        return $this->options([
            'tooltip' => [
                'show' => $display,
            ],
        ]);
    }
}

Spamworldpro Mini