format method

String format (num x)

Set formatter for y axis tick text. This option accepts d3.format object as well as a function you define.

Implementation

external String format(num x);