Skip to main content
Parse a binary buffer (XLSX, XLS, or ODS) into the { columns, rows } Data structure used by Graphy agents and chart configs.

fromBuffer

Signature

Options

BinaryFileFormat
required
The binary format: 'xlsx', 'xls', or 'ods'.
string | number
default:"0"
Sheet to parse — name (string) or 0-based index (number).
VizLocale
default:"EN_US"
Locale for number parsing. Determines thousand/decimal separator conventions.
number
default:"5"
Maximum allowed input size in megabytes.
number
default:"100000"
Maximum number of data rows to process.
number
default:"5000000"
Maximum total cells to process.

Examples

Parse an uploaded spreadsheet

Select a specific sheet