Interface: TableTraceHeader
The header: fixed above the scrolling cells; drag a header cell to reorder columns.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
align? | PerPoint<"left" | "center" | "right"> | "center" | Horizontal alignment of the text in its cell, one per column or, nested, per column and row. |
fill? | TableTraceHeaderFill | undefined | Cell background. |
font? | TableTraceHeaderFont | undefined | Font of the header text. Defaults to layout.font. |
format? | DataColumn | undefined | d3-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? | number | 28 | Height of the header 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? | TableTraceHeaderLine | undefined | Cell outlines. |
prefix? | PerPoint<string | number> | undefined | Text before each value, one per column or, nested, per column and row. |
suffix? | PerPoint<string | number> | undefined | Text after each value, one per column or, nested, per column and row. |
values? | DataColumn | undefined | Header text, one entry per column: a value, or an array of values for several header rows. Plotly pseudo-HTML is accepted (tags are stripped until rich text lands; <br> breaks lines). |