AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

{typedef} anychart.data.TextParsingSettings Improve this Doc

Settings for parsing text.
NameTypeDescription
columnsSeparatorstring | undefinedColumns separator. Defaults to ',' for CSV mode.
cutLengthnumber | undefinedCut length. Defaults to NaN. If not NaN - cuts all words by this length and then applies frequency check.
ignoreFirstRowboolean | undefinedWhether to ignore first row. Defaults to false for CSV mode.
ignoreItemsArray.<string> | undefinedArray of ignore items.
ignoreTrailingSpacesboolean | undefinedWhether to ignore trailing spaces. Defaults to false for CSV mode.
maxItemsnumber | undefinedNumber of top frequent words to put to result.
maxLengthnumber | undefinedMaximum length. Defaults to NaN, inclusive max length for the byWord mode. If the check fails - drops the word from parsing.
minLengthnumber | undefinedMinimum length. Defaults to 0, inclusive min length for the byWord mode. If the check fails - drops the word from parsing.
modeanychart.enums.TextParsingMode | undefinedMode selector.
rowsSeparatorstring | undefinedRows separator. Defaults to '\n' for CSV mode.