开发者

php pchart 2.0 x-axis abscissa position (bottom rather than top)

开发者_运维知识库

Using pchart 2 I am looking for a reliable (hopefully built in) way to move the abscissa (x-axis) of a bar chart to the bottom of the chart rather than the top.

php pchart 2.0 x-axis abscissa position (bottom rather than top)

So considering the above image, I would like to move the 'Hits' axis to the bottom of the chart.

Thanks


You can use :

$MyData->setAxisPosition(0,AXIS_POSITION_BOTTOM);

indeed, something like setAbscissaPosition would be easier.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜