xValueParser property

XValueParserFunc get xValueParser

A function which parses x-values (i.e. the dependent series). Must return a number, even when the values are dates. In this case, millis since epoch are used. This is used primarily for parsing CSV data. Dygraphs is slightly more accepting in the dates which it will parse.

Default: The native JS functions parseFloat() or Date.parse()

Implementation

external XValueParserFunc get xValueParser;
set xValueParser (XValueParserFunc v)

Implementation

external set xValueParser(XValueParserFunc v);