1piePeripheralLabeler(n)   piePeripheralLabeler class   piePeripheralLabeler(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       piePeripheralLabeler - tkpiechart pie peripheral style labeler class
9

SYNOPSIS

11       stooop::new piePeripheralLabeler canvas ?options?
12
13       switched::configure piePeripheralLabelerObject ?options?
14
15       switched::cget piePeripheralLabelerObject option
16
17______________________________________________________________________________
18

DESCRIPTION

20       The pie peripheral style labeler object is used as a slice label placer
21       for a pie object and is passed to the pie constructor via its  -labeler
22       option (see the pie class manual).
23
24       The  slice  description text labels are arranged in 2 columns below the
25       pie graphics, whereas the slice values are placed next to the slice and
26       actually follow the slice as the pie is updated. Each description label
27       text is placed to the right of a rectangle,  the  background  color  of
28       which  matches its corresponding slice. Each description label is actu‐
29       ally a canvasLabel object.
30
31       There is no need to delete a piePeripheralLabeler object as it is auto‐
32       matically handled by the pie class.
33
34       stooop::new piePeripheralLabeler canvas ?options?
35              Creates  a  piePeripheralLabeler object in the specified Tk can‐
36              vas. The  piePeripheralLabeler  object  identifier  is  returned
37              (refered to as piePeripheralLabelerObject in this document).
38
39       switched::configure piePeripheralLabelerObject ?options?
40              Configures  a  piePeripheralLabeler  object  or  returns all the
41              options with their current values if no options  are  passed  as
42              parameters.
43
44       switched::cget piePeripheralLabelerObject option
45              Returns  an  option value for the specified piePeripheralLabeler
46              object.
47

OPTIONS

49       -font value
50              Specifies a font for the slice labels.  If  not  specified,  the
51              default font is system dependent.
52
53       -justify value
54              Specifies how to justify labels within their own column. Must be
55              one of left, center or right. Defaults to left. For example,  if
56              justification  is  right,  all  column  labels  right  edges are
57              aligned.
58
59       -offset value
60              Specifies the distance between the pie graphics and the  closest
61              slice  label.  This  value  may be specified in any of the forms
62              described in the canvas COORDINATES manual section.
63
64       -smallfont
65              Specifies a font for the slice values. It  is  usually  a  small
66              font in order to avoid values overlapping when 2 slices are very
67              close to each other. If not  specified,  the  description  label
68              font (-font option) is used.
69
70       -widestvaluetext
71              Specifies  a  string  of  maximum width for slice values (placed
72              around the pie next to the slices), so that enough room is allo‐
73              cated  for  these value labels when the pie width and height are
74              set. It defaults to 00.0. For example, it could be set to "00.00
75              %".
76

TAGS

78       The  labeler has the following specific tag (see the canvas manual page
79       ITEM IDS AND TAGS section for more information):
80
81       ·      piePeripheralLabeler(piePeripheralLabelerObject)
82

SEE ALSO

84       canvasLabel, pie, pieBoxLabeler
85

KEYWORDS

87       canvas, labeler, pie, slice
88
90       Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr>
91
92
93
94
95tkpiechart                            6.6              piePeripheralLabeler(n)
Impressum