Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 制作了一个水平条形图jpgraph,并将其旋转了 90 度。但是 x 轴上的标签被切断,即没有显示整个标签。 我已经设置$graph->theme = null; 并且还设置了边距。但没有任何改变。
jpgraph
$graph->theme = null;
请建议我处理它的方法。 例如,我Business management & Administration在 x 轴上有一个标签。
Business management & Administration
尝试在标签中添加一条新线,使其更短,并通过$graph->Set90AndMargin(a,b,c,d);边距调整边距可能有点混乱,上边距(即 c)也随图形旋转,因此您现在正在调整右边距,如果这有意义的话.
$graph->Set90AndMargin(a,b,c,d);