문제

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

도움이 되었습니까?

해결책

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!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top