diese FM bekomme ich in der Artikelstatistik.
allerdings nicht sofort. zuerst ist alles in ordnung und das diagramm wird richtig dargestellt. wenn die anzahl der gekauften artikel zunimmt, kommt diese FM.
die wohl verantwortliche zeile in der jpgraph_pie3d.php ist:
-----
$this->Pie3D($img,$this->data, $ca, $xc, $yc, $width, $this->angle, $thick, 0.65, $this->startangle, $this->edgecolor, $this->edgeweight);
-----
irgendwelche ideen?
micha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Viele Artikel mit Werte als Text angezeigt werden, steht in $maxj. Die Anzahl fr das Diagramm werden mit ...if($l<16)... festgelegt. In diesem Falle also 15.
Gru,
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
JpGraph Error: Unknown color: 0.65
diese FM bekomme ich in der Artikelstatistik.
allerdings nicht sofort. zuerst ist alles in ordnung und das diagramm wird richtig dargestellt. wenn die anzahl der gekauften artikel zunimmt, kommt diese FM.
die wohl verantwortliche zeile in der jpgraph_pie3d.php ist:
-----
$this->Pie3D($img,$this->data, $ca, $xc, $yc, $width, $this->angle, $thick, 0.65, $this->startangle, $this->edgecolor, $this->edgeweight);
-----
irgendwelche ideen?
micha
Ja.:Reduzier' die Artikel, die in der grafik angezeigt werden.
Fr mich verwende ich in admin/stats_item.php Zeile 37-64:
rsort($value_array);
if (count($value_array)>25) { $maxj=25;}
else { $maxj=count($value_array); }
echo "<ol>\n";
for ($j=0; $j<=$maxj; $j++) {
$help_value = array_shift($value_array);
if ($help_value>0) {
for ($k=0; $k<=$i; $k++) {
if ($help_iv[$k] == $help_value) {
$avalue_array[$j] = $help_value;
$alabel_array[$j] = $label_array[$k];
$atarg[$j] = $targ[$k];
echo "<li>$alabel_array[$j]\n";
if ($l<16) {
$svalue_array[$j] = $help_value;
$slabel_array[$j] = $label2_array[$k];
$starg[$j] = $targ[$k];
#echo ":$targ[$k]:";
}
$help_iv[$k] = 0;
$l++;
}
}
}
}
echo "</ol>\n";
Viele Artikel mit Werte als Text angezeigt werden, steht in $maxj. Die Anzahl fr das Diagramm werden mit ...if($l<16)... festgelegt. In diesem Falle also 15.
Gru,
Andreas.
Eventuell behebt auch eine neuere Version von JPgraph das Problem schon ...
ja, ein update auf jpgraph-1.12.2 hat bei mir wirklich geholfen.
micha