Browse Source

Updated docs

v3_develop
jos 10 years ago
parent
commit
0cc35546e0
1 changed files with 16 additions and 1 deletions
  1. +16
    -1
      docs/graph2d.html

+ 16
- 1
docs/graph2d.html View File

@ -695,6 +695,13 @@ Graph2d.clear({options: true}); // clear options only
</td> </td>
</tr> </tr>
<tr>
<td>getCurrentTime()</td>
<td>Date</td>
<td>Get the current time. Only applicable when option <code>showCurrentTime</code> is true.
</td>
</tr>
<tr> <tr>
<td>getCustomTime()</td> <td>getCustomTime()</td>
<td>Date</td> <td>Date</td>
@ -702,10 +709,18 @@ Graph2d.clear({options: true}); // clear options only
</td> </td>
</tr> </tr>
<tr>
<td>setCurrentTime(time)</td>
<td>none</td>
<td>Set a current time. This can be used for example to ensure that a client's time is synchronized with a shared server time.
<code>time</code> can be a Date object, numeric timestamp, or ISO date string.
Only applicable when option <code>showCurrentTime</code> is true.</td>
</tr>
<tr> <tr>
<td>setCustomTime(time)</td> <td>setCustomTime(time)</td>
<td>none</td> <td>none</td>
<td>Adjust the custom time bar. Only applicable when the option <code>showCustomTime</code> is true. <code>time</code> is a Date object.
<td>Adjust the custom time bar. Only applicable when the option <code>showCustomTime</code> is true. <code>time</code> can be a Date object, numeric timestamp, or ISO date string.
</td> </td>
</tr> </tr>

Loading…
Cancel
Save