This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

Pattern: xyplot() (for container plot only)

Pattern: xyplot() (for container plot only)

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. This pattern is only available for use in container plots and has no visual effect if applied to other objects.

xyplot( xValuesSource, yValuesSouce [,yMin,yMax] )

New to v5.9.0, the graph is drawn in the form of a Cartesian graph of the container's immediate children. xValuesSource and yValuesSource are expressions, evaluated in turn of each child and are normally attribute values in the simplest forma of use. Thus:

xyplot($Date,$Price) 

will plot $Date (ascending Date type order) on the X-axis of the container plot and $Price (ascending Number data type) on the Y-axis.

By comparison with plot():

plot($Price)

is equivalent to

xyplot($SiblingOrder,$Price)

Thus if using an non-outline order related attribute for xValuesSource, consider either showing xValuesSource and yValuesSource as a $TableExpression or sorting the plot's container on xValuesSource.

Optionally, a yMin and/or a yMax may be specified to lessen expansion of the Y-axis; otherwise, the Y-axis plots from the lowest value of yValuesSource for the container's child notes, to the highest value. The X-axis automatically starts at the lowest xValueSource and runs to the highest xValueSource.

Alternate container plots are: bargraph() and plot().

From v5.10.2, the background of the plot is set via $PlotBackgroundColor with opacity of $PlotBackgroundOpacity.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Visual Styling : Shapes, borders, patterns and fills : Pattern: xyplot() (for container plot only)