php - jpgraph graph labels not fully displayed

639

I am using the jpgraph library to make data graphs in php. Making the graph goes problemless, but the axis labels are not fully shown. Changing font to a smaller font and size does not make a difference and when trying to find anything in the documentation I found no solution. Graph is constructed like the basic examples which are shown fine.

enter image description here

Any idea's ?

366

Answer

Solution:

Did you try to change the margins?

$graph->SetMargin(w, x, y, z);

People are also looking for solutions to the problem: php - Plugins for Zend_Mail

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.