display the jpgraph column names vertically

105 Views Asked by At

I am using jpgraph and I want to display my column names vertically. as you can see in the following image there is not enough space for the column names to fit in and be readable. enter image description here

I could not find a good solution for this in the web. any help would be appreciated

1

There are 1 best solutions below

0
On BEST ANSWER

I found the solution finally to make the column names look some sort of vertically so that all labels are readble:

$graph->xaxis->SetLabelAngle(45); // 45 degrees angle

Where I need to put it inside the controller!