Improve rendering of graphs

Fixes:

0011671: 3 graphs couldnot display in the page of 'summary_jpgraph_page.php'