public function renderCss()
    {
        $config = \Altamira\Config::getInstance();
        
        foreach ( $this->libraries as $library => $junk ) {
            switch( $library ) {
                case \Altamira\JsWriter\Flot::LIBRARY:
                    break;
                case \Altamira\JsWriter\JqPlot::LIBRARY:
                default:
                    $cssPath = $config['css.jqplotpath'];
            }
        
        }
        
        if ( isset( $cssPath ) ) {
            echo "<link rel='stylesheet' type='text/css' href='{$cssPath}'></link>";
        }
        
        return $this;
        
    }
public function renderCss()
    {
        $config = \Altamira\Config::getInstance();
        
        foreach ( $this->libraries as $library => $junk ) {
            switch( $library ) {
                case \Altamira\JsWriter\Flot::LIBRARY:
                    break;
                case \Altamira\JsWriter\JqPlot::LIBRARY:
                default:
                    $cssPath = $config['css.jqplotpath'];
            }
        
        }
        
        if ( isset( $cssPath ) ) {
            echo "<link rel='stylesheet' type='text/css' href='{$cssPath}'></link>";
        }
        
        return $this;
        
    }
public function renderCss ( ) { $ config = \ Altamira \ Config :: getInstance ( ) ; foreach ( $ this -> libraries as $ library => $ junk ) { switch ( $ library ) { case \ Altamira \ JsWriter \ Flot :: LIBRARY : break ; case \ Altamira \ JsWriter \ JqPlot :: LIBRARY : default : $ cssPath = $ config [ 'css.jqplotpath' ] ; } } if ( isset ( $ cssPath ) ) { echo "<link rel='stylesheet' type='text/css' href='{$cssPath}'></link>" ; } return $ this ; }
Echoes any CSS that is needed for the libraries to render correctly
@return \Altamira\ChartIterator provides fluent interface
Echoes any CSS that is needed for the libraries to render correctly