Skip to content

Interface: TraceDomain ​

Where this trace is drawn, as a part of the plot area.

Properties ​

PropertyTypeDefault valueDescription
column?number0Column of the layout.grid cell this trace is placed in (0 = leftmost). Only used with a grid. Minimum: 0
row?number0Row of the layout.grid cell this trace is placed in (0 = first row in roworder). Only used with a grid. Minimum: 0
x?readonly number[][0,1]Horizontal extent [start, end] of this trace as fractions of the plot area. Defaults to the layout.grid column when column is set, else [0, 1].
y?readonly number[][0,1]Vertical extent [start, end] of this trace as fractions of the plot area (from the bottom). Defaults to the layout.grid row when row is set, else [0, 1].

Released under the MIT License.