src/Classes/BaseChart.php
public function container(string $container = null)
    {
        if (!$container) {
            return View::make($this->container, ['chart' => $this]);
        }

        $this->container = $container;

        return $this;
    }
public function container(string $container = null)
    {
        if (!$container) {
            return View::make($this->container, ['chart' => $this]);
        }

        $this->container = $container;

        return $this;
    }
public function container ( string $ container = null ) { if ( ! $ container ) { return View :: make ( $ this -> container , [ 'chart' => $ this ] ) ; } $ this -> container = $ container ; return $ this ; }
Set the chart container.

@param string $container

@return self
Set the chart container .