Skip to content

Interface: TableTraceCells ​

The cells, scrolled with the wheel, by dragging, or with the scrollbar.

Properties ​

PropertyTypeDefault valueDescription
align?PerPoint<"left" | "center" | "right">"center"Horizontal alignment of the text in its cell, one per column or, nested, per column and row.
fill?TableTraceCellsFillundefinedCell background.
font?TableTraceCellsFontundefinedFont of the cells text. Defaults to layout.font.
format?DataColumnundefinedd3-format specifiers applied to numeric values (e.g. ,.2f, .1%), one per column or, nested, per column and row. Non-numeric values are shown as they are.
height?number20Height of the rows in px. Rows grow to fit text that has spaces, line breaks or markup: its height plus 8 px of padding above and below (Plotly's cellPad).
line?TableTraceCellsLineundefinedCell outlines.
prefix?PerPoint<string | number>undefinedText before each value, one per column or, nested, per column and row.
suffix?PerPoint<string | number>undefinedText after each value, one per column or, nested, per column and row.
values?DataColumnundefinedCell values, column by column: values[column][row]. Columns may differ in length (short ones are padded with empty cells). A column beyond the header gets an empty header.

Released under the MIT License.