#$chart->set_legend({ 'font'=> { 'bold' => 1, 'italic' => 1}}); <<== taken from CPAN example, it generates error