Thread GD::Graph::pie - Position des Tortenstücks (nach 12 Uhr) verschieben (2 answers)
Opened by roli at 2012-12-05 10:49

GwenDragon
 2012-12-05 10:48
#163913 #163913
User since
2005-01-17
14533 Artikel
Admin1
[Homepage]
user image
Das ist eigentlich eine Frage zu GD::Chart::pie, oder?
http://gdgraph.com/samples/sample91.html
start_angle ist ein Parameter, der angibt, bei welchem Winkel das Tortenstück beginnt.
//EDIT: mit der Methode set ist der zu setzen.

Quote
Options for pie graphs
3d
If set to a true value, the pie chart will be drawn with a 3d look. Default: 1.
pie_height
The thickness of the pie when 3d is true. Default: 0.1 x height.
start_angle
The angle at which the first data slice will be displayed, with 0 degrees being "6 o'clock". Default: 0.
suppress_angle
If a pie slice is smaller than this angle (in degrees), a label will not be drawn on it. Default: 0.
label
Print this label below the pie. Default: undef.
http://gdgraph.com/documentation.html

Demnach müsste das bei dir start_angle => 180 sein.

//EDIT2: Typos entfernt
Last edited: 2012-12-05 11:41:42 +0100 (CET)
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread GD::Graph::pie - Position des Tortenstücks (nach 12 Uhr) verschieben