If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
sorry, i don't know that right now without additional investigation. a quick search reveals http://www.zabbix.com/forum/showthread.php?t=15378 - you could take a look at that patch and figure out where it changes the font scaling, maybe
Richlv, I have looked at this, unfortunately
its doesn't helped; looking at that post I only
can change the size of legend.
I have looked for the string "fontsize" inside
the files (with the command grep -ir fontsize ./);
into zabbix php frontend directory, but once again,
I didn't found how to change the size of title.
I discovered that that function wich write
the texts in the graphs, is: function imageText($image, $fontsize, $angle, $x, $y, $color, $string); which is in php script graphs.inc.php;
that is inside the directory /.../zabbix/include/graphs.inc.php ;
So I made a change that source code in this function,
adding this:
function imageText($image, $fontsize, $angle, $x, $y, $color, $string){
$gdinfo = gd_info();
//Search for the paterner wich are at the graphs title
//If add
if(strstr($string,"(") && strstr($string,")") && strstr($string, ":")){
$fontsize = 16;
}
So a I recieved the expected result, as show in the
pictures below:
Graph before change:
Graph after change:
PS: I searched for for all php scripts and
classes which call the funciton imageText
and after change the parameter fontsize;
I get change in everything less int the title.
Comment