<td>Show a vertical bar displaying a custom time. This line can be dragged by the user. The custom time can be utilized to show a state in the past or in the future. When the custom time bar is dragged by the user, the event <code>timechange</code> is fired repeatedly. After the bar is dragged, the event <code>timechanged</code> is fired once.</td>
</tr>
<tr>
<tr>
<tr>
<tr>
<td>showMajorLabels</td>
<td>showMajorLabels</td>
@ -864,12 +857,13 @@ var options = {
</tr>
</tr>
<tr>
<tr>
<td>addCustomTime(time[, id])</td>
<td>addCustomTime([time] [, id])</td>
<td>Number | String</td>
<td>Number | String</td>
<td>
<td>
Only applicable when the option showCustomTime is true.<br>
Add new vertical bar representing custom time that can be dragged by the user. Parameter <code>time</code> can be a Date, Number, or String. Parameter <code>id</code> can be Number or String. If <code>id</code> is provided, it will be used as ID for the new vertical bar, otherwise the ID will be auto generated.<br>
Returns ID of the newly created bar.
Add new vertical bar representing a custom time that can be dragged by the user.
Parameter <code>time</code> can be a Date, Number, or String, and is <code>new Date()</code> by default.
Parameter <code>id</code> can be Number or String and is <code>undefined</code> by default.<br>
Returns id of the created bar.
</td>
</td>
</tr>
</tr>
@ -911,7 +905,7 @@ var options = {
<tr>
<tr>
<td>getCustomTime([id])</td>
<td>getCustomTime([id])</td>
<td>Date</td>
<td>Date</td>
<td>Retrieve the custom time. Only applicable when the option <code>showCustomTime</code> is true. If parameter<code>id</code>is provided, time of the custom time bar under that ID is returned.
<td>Retrieve the custom time from the custom time bar with given id. Id is<code>undefined</code>by default.
</td>
</td>
</tr>
</tr>
@ -1003,7 +997,9 @@ var options = {
<tr>
<tr>
<td>setCustomTime(time [, id])</td>
<td>setCustomTime(time [, id])</td>
<td>none</td>
<td>none</td>
<td>Adjust the custom time bar. Only applicable when the option <code>showCustomTime</code> is true. Parameter <code>time</code> can be a Date object, numeric timestamp, or ISO date string. Parameter <code>id</code> represents ID of the custom time bar, provided by <code>addCustomTime</code> method and can be a Number or String.
<td>Adjust the time of a custom time bar.
Parameter <code>time</code> can be a Date object, numeric timestamp, or ISO date string.
Parameter <code>id</code> is the idof the custom time bar, and is <code>undefined</code> by default.