Diagnostics
T437
table row cell count differs from the declared column count
T437
A row on a statically known table supplies a different number of cells than the table declares. Supply exactly one cell for each declared column.
Failing example
script "conf"
data chart = subscribe(data.ohlcv)
window win = window(title: "W") {
tbl: table.new([table.col(title: "Name"), table.col(title: "Value")]),
}
on chart.update { win.tbl.row("A", "A") }Corrected example
script "fixed"
data chart = subscribe(data.ohlcv)
window win = window(title: "W") {
tbl: table.new([table.col(title: "Name"), table.col(title: "Value")]),
}
on chart.update { win.tbl.row("A", "A", 1.0) }