Skip to content

Commit a177cf5

Browse files
committed
Update README
1 parent aa07647 commit a177cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Plot automatically generates axes for position scales. You can configure these a
274274
* *scale*.**ticks** - the approximate number of ticks to generate
275275
* *scale*.**tickSize** - the size of each tick (in pixels; default 6)
276276
* *scale*.**tickPadding** - the separation between the tick and its label (in pixels; default 3)
277-
* *scale*.**tickFormat** - to format tick values, either a function or a [d3-format](https://github.com/d3/d3-format#locale_format) or [d3-time-format](https://github.com/d3/d3-time-format#locale_format) specifier string; see [Formats](#formats)
277+
* *scale*.**tickFormat** - to format tick values, either a function or format specifier string; see [Formats](#formats)
278278
* *scale*.**tickRotate** - whether to rotate tick labels (an angle in degrees clockwise; default 0)
279279
* *scale*.**grid** - if true, draw grid lines across the plot for each tick
280280
* *scale*.**line** - if true, draw the axis line
@@ -1849,7 +1849,7 @@ The tension option only has an effect on cardinal and Catmull–Rom splines (*ca
18491849

18501850
## Formats
18511851

1852-
These helper functions are provided for use as a *scale*.tickFormat [axis option](#position-options), as the text option for [Plot.text](#plottextdata-options), or for general use. See also [d3-time-format](https://github.com/d3/d3-time-format) and JavaScript’s built-in [date formatting](https://observablehq.com/@mbostock/date-formatting) and [number formatting](https://observablehq.com/@mbostock/number-formatting).
1852+
These helper functions are provided for use as a *scale*.tickFormat [axis option](#position-options), as the text option for [Plot.text](#plottextdata-options), or for general use. See also [d3-format](https://github.com/d3/d3-format), [d3-time-format](https://github.com/d3/d3-time-format), and JavaScript’s built-in [date formatting](https://observablehq.com/@mbostock/date-formatting) and [number formatting](https://observablehq.com/@mbostock/number-formatting).
18531853

18541854
#### Plot.formatIsoDate(*date*)
18551855

0 commit comments

Comments
 (0)