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
精彩评论