format method

String format (
  1. 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);