开发者

PHP pChart x-axis Label Angle

开发者_如何学C

Does anyone know how to change the angle of the x-axis labels in pChart? I need to slant them so a longer timeframe can be displayed in a single graph.


For pChart 2, it can be configured with the 'LabelRotation' format option of the drawScale method:

$image->drawScale( array( ... , 'LabelRotation'=>10  , ... ) );

Have look at the documentation of the drawScale: http://wiki.pchart.net/doc.doc.draw.scale.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜