Piwik\Plugins\CoreVisualizations\Visualizations\Sparklines\Config::addPlaceholder PHP Метод

addPlaceholder() публичный Метод

Adds a placeholder. In this case nothing will be shown, neither a sparkline nor any description. This can be useful if you want to have some kind of separator. Eg if you want to have a sparkline on the left side but not sparkline on the right side.
public addPlaceholder ( integer | null $order = null )
$order integer | null Defines the order. The lower the order the earlier the sparkline will be displayed. By default the sparkline will be appended to the end.
    public function addPlaceholder($order = null)
    {
        $this->sparklines[] = array('url' => '', 'metrics' => array(), 'order' => $this->getSparklineOrder($order));
    }