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.
我正在使用 PHP SVGGraph 来构建图表。我有一个目前看起来像这样的图表:
我想做的是保持网格的宽度相同,但条形不应该那么宽。我无法在文档中找到有关这是否可以完成的任何内容。
是否有可能做到这一点?
根据文档,您在创建实例时使用 options 参数调整条的宽度:
// Notice the 3 argument $graph = new SVGGraph(640, 480,array("bar_width"=>'100'));
从选项页面(靠近底部)引用:
http://www.goat1000.com/svggraph-bar.php#general-options