piePeripheralLabeler(n)
π NAME β piePeripheralLabeler(n) π
okay so bestie, meet piePeripheralLabeler: the tkpiechart pie peripheral style labeler class. This whole manual page is piePeripheralLabeler(n), and itβs here to make the peripheral labeler make sense. periodt π
β¨ SYNOPSIS β¨
stooop::new piePeripheralLabeler canvas ?options?
switched::configure piePeripheralLabelerObject ?options?
switched::cget piePeripheralLabelerObject option
π¦ DESCRIPTION π¦
okay so the pie peripheral style labeler object is the slice label placer for a pie object, and you pass it into the pie constructor through its -labeler option (peep the pie class manual for that one).
The slice description text labels get arranged in 2 columns below the pie graphics. The slice values? Theyβre placed next to the slice and actually follow the slice as the pie is updated. Each description label text sits to the right of a rectangle, and that rectangleβs background color matches its corresponding slice. Each description label is actually a canvasLabel object.
And no need to delete a piePeripheralLabeler object β it is automatically handled by the pie class. slay π
stooop::new piePeripheralLabeler canvas ?options?β creates apiePeripheralLabelerobject in the specified Tk canvas. ThepiePeripheralLabelerobject identifier is returned, and this doc calls itpiePeripheralLabelerObject.switched::configure piePeripheralLabelerObject ?options?β configures apiePeripheralLabelerobject, 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 specifiedpiePeripheralLabelerobject.
πΈ OPTIONS πΈ
-fontvalue β specifies a font for the slice labels. If not specified, the default font is system dependent.-justifyvalue β specifies how to justify labels within their own column. Must be one ofleft,centerorright. Defaults toleft. For example, if justification isright, all column labelsβ right edges are aligned.-offsetvalue β specifies the distance between the pie graphics and the closest slice label. This value may be specified in any of the forms described in the canvasCOORDINATESmanual section.-smallfontβ specifies a font for the slice values. It is usually a small font in order to avoid values overlapping when2slices are very close to each other. If not specified, the description label font (-fontoption) is used.-widestvaluetextβ specifies a string of maximum width for slice values (placed around the pie next to the slices), so that enough room is allocated for these value labels when the pie width and height are set. It defaults to00.0. For example, it could be set to"00.00 %".
π·οΈ TAGS π·οΈ
The labeler has this specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information):
piePeripheralLabeler(piePeripheralLabelerObject)
π BUGS, IDEAS, FEEDBACK π
ngl, this document and the package it describes will 100% contain bugs and other problems. Please report those in the tkpiechart category of the Tklib Trackers (http://core.tcl.tk/tklib/reportlist). Please also report any ideas for enhancements you may have for either package and/or documentation. π
π SEE ALSO π
go say hi to canvasLabel, pie, and pieBoxLabeler π
π KEYWORDS π
canvas, labeler, pie, slice
π COPYRIGHT π
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr>
okay thatβs the whole thing, bestie π«Ά β this page is from tklib 6.6, the footer does not list a date, and the manual name is piePeripheralLabeler(n). periodt β¨π
π¦ where this page comes from
- alpine 3.24: tk-lib-doc 0.7-r0 Β· TCL
- Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free\&.fr>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms