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.
使用 pchart 2 我正在寻找一种可靠的(希望是内置的)方法来将条形图的横坐标(x 轴)移动到图表的底部而不是顶部。
因此,考虑到上图,我想将“Hits”轴移动到图表底部。
谢谢
您可以使用 :
$MyData->setAxisPosition(0,AXIS_POSITION_BOTTOM);
事实上,像 setAbscissaPosition 这样的东西会更容易。