Skip to content

utils

Type object literal

Sources

utils can be used (imported) via one of the following packages.

// Import utils
import * as am5plugins_ from "@amcharts/amcharts5";
// Create utils
am5plugins_.utils.new(root, {
// ... config if applicable
});

Properties

aoa_to_sheet

Type aoa_to_sheet

book_append_sheet

Type book_append_sheet

book_new

Type book_new

book_set_sheet_visibility

Type (args: any[]) => TDefault unsupported("utils.book_set_sheet_visibility", toNothing)

cell_add_comment

Type (args: any[]) => TDefault unsupported("utils.cell_add_comment", toNothing)

Type cell_set_hyperlink

Type cell_set_internal_link

cell_set_number_format

Type cell_set_number_format

decode_cell

Type decode_cell

decode_col

Type decode_col

decode_range

Type decode_range

decode_row

Type decode_row

encode_cell

Type encode_cell

encode_col

Type encode_col

encode_range

Type encode_range

encode_row

Type encode_row

format_cell

Type (args: any[]) => TDefault unsupported("utils.format_cell", (cell?: ICell) => cell ? (cell.w != null ? cell.w : cell.v != null ? "" + cell.v : "") : "")

json_to_sheet

Type json_to_sheet

sheet_add_aoa

Type sheet_add_aoa

sheet_add_dom

Type (args: any[]) => TDefault unsupported("utils.sheet_add_dom", toFirst)

sheet_add_json

Type sheet_add_json

sheet_get_cell

Type sheet_get_cell

sheet_new

Type sheet_new

sheet_set_array_formula

Type (args: any[]) => TDefault unsupported("utils.sheet_set_array_formula", toFirst)

sheet_to_csv

Type (args: any[]) => TDefault unsupported("utils.sheet_to_csv", toEmptyString)

sheet_to_formulae

Type (args: any[]) => TDefault unsupported("utils.sheet_to_formulae", toEmptyArray)

sheet_to_html

Type (args: any[]) => TDefault unsupported("utils.sheet_to_html", toEmptyString)

sheet_to_json

Type (args: any[]) => TDefault unsupported("utils.sheet_to_json", toEmptyArray)

sheet_to_row_object_array

Type (args: any[]) => TDefault unsupported("utils.sheet_to_row_object_array", toEmptyArray)

sheet_to_txt

Type (args: any[]) => TDefault unsupported("utils.sheet_to_txt", toEmptyString)

split_cell

Type split_cell

table_to_book

Type (args: any[]) => TDefault unsupported("utils.table_to_book", () => book_new())

table_to_sheet

Type (args: any[]) => TDefault unsupported("utils.table_to_sheet", () => sheet_new())