public static function preRender( \Altamira\Chart $chart, array $styleOptions = array() )
    {
    	if ( $chart->titleHidden() ) {
    		return '';
    	}
    	
        $tagType = isset( $styleOptions['titleTag'] ) ? $styleOptions['titleTag'] : 'h3';
        $title = $chart->getTitle();
        
        $output = <<<ENDDIV
<div class="altamira-chart-title">
    <{$tagType}>{$title}</{$tagType}>

ENDDIV;
        
        return $output;
    }