[ Tklib Table Of Contents | Tklib Index ]
piePeripheralLabeler(n) 6.6 "piePeripheralLabeler class"
piePeripheralLabeler - tkpiechart pie peripheral style labeler class
The pie peripheral style labeler object is used as a slice label placer for a pie object and is passed to the pie constructor via its -labeler option (see the pie class manual).
The slice description text labels are arranged in 2 columns below the pie graphics, whereas the slice values are placed next to the slice and actually follow the slice as the pie is updated. Each description label text is placed to the right of a rectangle, the background color of which matches its corresponding slice. Each description label is actually a canvasLabel object.
There is no need to delete a piePeripheralLabeler object as it is automatically handled by the pie class.
- stooop::new piePeripheralLabeler canvas ?options?
Creates a piePeripheralLabeler object in the specified Tk canvas. The piePeripheralLabeler object identifier is returned (refered to as piePeripheralLabelerObject in this document).
- switched::configure piePeripheralLabelerObject ?options?
Configures a piePeripheralLabeler object or returns all the options with their current values if no options are passed as parameters.
- switched::cget piePeripheralLabelerObject option
Returns an option value for the specified piePeripheralLabeler object.
The labeler has the following specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information):
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category tkpiechart of the Tklib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.
Copyright © 1995-2004 Jean-Luc Fontaine <email@example.com>