Abstract
Add a row to built content.
// Basic example
builder.addRow('Hello')
// Centered text
builder.addRow('', 'Centered', '')
builder.addRow('Long text long text')
// Individual label font / fill
builder.addRow('Row 1')
builder.addRow({ text: 'Row 2', font: { weight: 'bold' }, fillStyle: new SolidFill({ color: ColorRGBA(255, 0, 0) }) })
For performance reasons it is recommended to avoid using font
and/or fillStyle
overrides to configure all text.
In that case it is better to use ResultTable.setTextFont
or equivalent method to configure all text at once.
Object itself
Rest
...cells: (undefined | string | { Any amount of cells row should contain. Undefined or '' marks a "gap", which will occupy any extra space of row.
Class for user customizable building of 'TableContent'. Basically the way users modify what cursors show (on level of a single series), is to set a function that builds TableContent based on information given by the series. Internal class