1pieBoxLabeler(n) pieBoxLabeler class pieBoxLabeler(n)
2
3
4
5______________________________________________________________________________
6
8 pieBoxLabeler - tkpiechart pie box style labeler class
9
11 stooop::new pieBoxLabeler canvas ?options?
12
13 switched::configure pieBoxLabelerObject ?options?
14
15 switched::cget pieBoxLabelerObject option
16
17_________________________________________________________________
18
20 The pie box style labeler object is used as a slice label placer for a
21 pie object and is passed to the pie constructor via its -labeler option
22 (see the pie class manual).
23
24 The labels are arranged in 2 columns below the pie graphics. Each label
25 text is placed to the right of a rectangle, the background color of
26 which matches its corresponding slice. The slice share value is placed
27 to the right of the label text, separated by a semicolon. Each label is
28 actually a canvasLabel object (see the canvasLabel class manual for
29 further information).
30
31 There is no need to delete a pieBoxLabeler object as it is automati‐
32 cally handled by the pie class.
33
34 stooop::new pieBoxLabeler canvas ?options?
35 Creates a pieBoxLabeler object in the specified Tk canvas. The
36 pieBoxLabeler object identifier is returned (referred to as
37 pieBoxLabelerObject in this document).
38
39 switched::configure pieBoxLabelerObject ?options?
40 Configures a pieBoxLabeler object or returns all the options
41 with their current values if no options are passed as parame‐
42 ters.
43
44 switched::cget pieBoxLabelerObject option
45 Returns an option value for the specified pieBoxLabeler object.
46
48 -font value
49 Specifies a font for the slice labels. If not specified, the
50 default font is system dependent.
51
52 -justify value
53 Specifies how to justify labels within their own column. Must be
54 one of left, center or right. Defaults to left. For example, if
55 justification is right, all column labels right edges are
56 aligned.
57
58 -offset value
59 Specifies the distance between the pie graphics and the closest
60 slice label. This value may be specified in any of the forms
61 described in the canvas COORDINATES manual section.
62
64 The labeler has the following specific tag (see the canvas manual page
65 ITEM IDS AND TAGS section for more information):
66
67 · pieBoxLabeler(pieBoxLabelerObject)
68
70 canvasLabel, pie, piePeripheralLabeler
71
73 canvas, labeler, pie, slice
74
76 Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr>
77
78
79
80
81tkpiechart 6.6 pieBoxLabeler(n)