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