[PHP-users 10291] Re: JpGraph_pie3d

Sumito_Oda php-users@php.gr.jp
Sun, 22 Sep 2002 17:14:22 +0900


織田です

JpGraph_Pie3dでデータの数より塗り分け色が少なかった場合に
JpGraph_Pieとは違ってエラーが出る件ですが、
作者(1人でメンテしてるとは知らなかった)から

>This is a bug. When I re-wrote the 3D-pie algortihm
>I forgot to wrap the colors.
>Now fixed in the CVS. Will be in the 1.8.1 release. 

との返答を頂きました。現在修正済みのものは
http://cvs.php.net/cvs.php/jpgraph/src/jpgraph_pie3d.php
から、v1.32として取って来れます。個別色、テーマ色の
どちらの指定の場合もきちんと動作するようになっています。

あと、Pie3dの場合のボーダーカラーは、
PiePlot::SetColorではなくてPiePlot3d::SetEdgeの
間違いでした。
-- 
織田 澄人(Sumito Oda) / mailto:oda@imasy.or.jp