Home > Backend Development > PHP Tutorial > php使用jpgraph类生成表报柱状图问题?

php使用jpgraph类生成表报柱状图问题?

WBOY
Release: 2016-06-23 14:09:55
Original
913 people have browsed it

使用php生成了一个纵向的柱状图之后,由于项目需要,需要生成一个横向的柱状图,采用了图片旋转函数旋转90度后,x,y轴标题不对, 请问jpgraph类有什么函数可以设置x,y轴标题位置吗???


回复讨论(解决方案)

jpgraph 本身就可以生成横向的柱状图,何必再打动干戈?
示例代码

谢谢,我也是使用这种方式旋转90实现的横向柱状图,我的想法是把x轴放到下面,但是横纵坐标的标题的位置便不对了,我问怎么移动横纵坐标标题的位置,不过我现在已经解决了,3Q

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template