Browse Source

Fixes Issue #1852 - Correct documentation for graph2d’s moveTo function (#3306)

revert-3409-performance
macleodbroad-wf 7 years ago
committed by Yotam Berkowitz
parent
commit
059f30721d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/graph2d/index.html

+ 1
- 1
docs/graph2d/index.html View File

@ -1200,7 +1200,7 @@ function (option, path) {
<td>none</td> <td>none</td>
<td>Move the window such that given time is centered on screen. Parameter <code>time</code> can be a <code>Date</code>, <code>Number</code>, or <code>String</code>. Available options: <td>Move the window such that given time is centered on screen. Parameter <code>time</code> can be a <code>Date</code>, <code>Number</code>, or <code>String</code>. Available options:
<ul> <ul>
<li><code>animate: boolean or number</code><br>If true (default), the range is animated smoothly to the new window. If a number, the number is taken as duration for the animation. Default duration is 500 ms.</li>
<li><code>animation: boolean | {duration: number, easingFunction: string}</code><br>If true (default), the range is animated smoothly to the new window. An object can be provided to specify duration and easing function. Default duration is 500 ms, and default easing function is 'easeInOutQuad'.</li>
</ul> </ul>
</td> </td>
</tr> </tr>

Loading…
Cancel
Save