Fix pdf graph labels 2 - #417

This commit is contained in:
enriquecd 2017-11-07 11:43:42 +01:00
parent 7e6cc539e8
commit 2eec3dc766
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function vbar_graph($flash_chart, $chart_data, $width, $height,
if(strpos($key, ' - ') != -1){
$key_temp = explode(" - ",$key);
$key_temp[0] = $key_temp[0]." \n";
$key_temp[1]= '...'.substr($key_temp[1],-10);
$key_temp[1]= '...'.substr($key_temp[1],-15);
$key2 = $key_temp[0].$key_temp[1];
io_safe_output($key2);
}