Skip to content

Commit

Permalink
Typo fix s/redraw/redraws/
Browse files Browse the repository at this point in the history
As requested by jpetitcolas at marmelab#249 (comment)
  • Loading branch information
sedy-bot authored and papigers committed Dec 23, 2020
1 parent 975dca9 commit 598471e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ In addition to this configuration object, it also exposes some public methods al

* **scale()** provides the horizontal scale, allowing you to retrieve bounding dates thanks to `.scale().domain()`,
* **filteredData()** returns an object with both `data` and `fullData` keys containing respectively bounds filtered data and full dataset.
* **draw(config, scale)** redraw chart using given configuration and `d3.scaleTime` scale
* **draw(config, scale)** redraws chart using given configuration and `d3.scaleTime` scale
* **destroy** execute this function before to removing the chart from DOM. It prevents some memory leaks due to event listeners.

Hence, if you want to display number of displayed data and time bounds as in the [demo](https://marmelab.com/EventDrops/), you can use the following code:
Expand Down

0 comments on commit 598471e

Please sign in to comment.