pieBoxLabeler(n)
π pieBoxLabeler(n) β the tkpiechart pie box style labeler class π
πΈ NAME πΈ
Okay so pieBoxLabeler is the tkpiechart pie box style labeler class β the little bestie that places slice labels for a pie chart and honestly? Itβs giving quiet luxury. π₯§β¨
π SYNOPSIS π
stooop::new pieBoxLabeler canvas ?options?
switched::configure pieBoxLabelerObject ?options?
switched::cget pieBoxLabelerObject option
π¦ DESCRIPTION π¦
The pie box style labeler object is used as a slice label placer for a pie object, and you pass it to the pie constructor through its -labeler option β see the pie class manual for the full tea. β
The labels are arranged in 2 columns below the pie graphics. Each label text is placed to the right of a rectangle, and that rectangleβs background color matches its corresponding slice. The slice share value is placed to the right of the label text, separated by a semicolon. Each label is actually a canvasLabel object β see the canvasLabel class manual for further information. π
There is no need to delete a pieBoxLabeler object, because the pie class automatically handles it. Periodt. π
stooop::new pieBoxLabeler canvas ?options?β Creates apieBoxLabelerobject in the specified Tkcanvas. ThepieBoxLabelerobject identifier is returned (referred to aspieBoxLabelerObjectin this document). Slay, you got an object ID. π«Άswitched::configure pieBoxLabelerObject ?options?β Configures apieBoxLabelerobject, or returns all the options with their current values if no options are passed as parameters. Vibe check, but for options. β¨switched::cget pieBoxLabelerObject optionβ Returns an option value for the specifiedpieBoxLabelerobject. One little value, no cap. π
β¨ OPTIONS β¨
-font valueβ Specifies a font for the slice labels. If not specified, the default font is system dependent β so your font may vary by system, bestie. ποΈ-justify valueβ 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. Obsessed with a clean edge. π-offset valueβ 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. Itβs giving precise spacing. π
π·οΈ TAGS π·οΈ
The labeler has the following specific tag β see the canvas manual page ITEM IDS AND TAGS section for more information:
pieBoxLabeler(pieBoxLabelerObject)
π BUGS, IDEAS, FEEDBACK π
This document, and the package it describes, will undoubtedly contain bugs and other problems. Itβs giving βwe are human, bestieβ β please report such in the category tkpiechart of the Tklib Trackers at http://core.tcl.tk/tklib/reportlist. Please also report any ideas for enhancements you may have for either package and/or documentation. We love feedback fr fr. π«Ά
π SEE ALSO π
canvasLabel, pie, piePeripheralLabeler β go read those next, iykyk. π
π KEYWORDS π
canvas, labeler, pie, slice β literally the whole vibe. π
π COPYRIGHT π
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr> β protect the copyright, periodt. π
xoxo bestie π this was pieBoxLabeler(n) from tklib 6.6; the original footer doesnβt show a date, so Iβm not inventing one β no cap π«Ά
π¦ 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