This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

Pattern: pie()

Pattern: pie()

Note that this pattern can't be set via the Pattern menu, but only via action code or Info view. Rather it is set via manual editing of the $Pattern attribute or via actions, rules, etc., acting upon it. Originally, this pattern was only available for use in container plots and has no visual effect if applied to other objects but, from v6.5.0, this plot can be used in normal map note icons including shaped notes.

pie( $ValuesSource )

The graph is drawn in the form of a pie graph of the container's immediate children. ValueSource can be an attribute, or an expression yielding a number, reflecting the container's children. Thus:


will plot $EditsMade for each child in $OutlineOrder plotting anti-clockwise from the 90-degree position.

If using an non-outline order related attribute for $ValuesSource, consider either showing it as a $TableExpression or sorting the plot's container on $ValuesSource.

For non-container use of the pattern, pie() uses the additional arguments, Min and Max. Min defaults to 0 and Max to 100. If only one range limit is provided the other is used at default value. Thus:


plots a 65% competed circle. The pie plots as a circular progress bar, anti-clockwise from the 90-degree position.

From v6.2.1, drawing of the plot is further enhanced:

The pie() plot does not use the 'target' value of other container plots.

A Tinderbox Reference File : Visual Styling : Shapes, borders, patterns and fills : Pattern: pie()