Skip to main content
Parse a text string (CSV or TSV) into the { columns, rows } Data structure used by Graphy agents and chart configs.

fromText

Signature

Options

TextFileFormat
required
The text format: 'csv' or 'tsv'.
boolean
default:"true"
Whether the first row contains column headers. When false, columns are auto-named Column 1, Column 2, etc.
VizLocale
default:"EN_US"
Locale for number parsing. Determines thousand/decimal separator conventions.
number
default:"5"
Maximum allowed input size in megabytes.

Examples

Parse CSV from memory

Handle a browser text file upload