@ -852,6 +852,13 @@ Graph2d.clear({options: true}); // clear options only
</td>
</td>
</tr>
</tr>
<tr>
<td>fit()</td>
<td>none</td>
<td>Adjust the visible window such that it fits all items.
</td>
</tr>
<tr>
<tr>
<td>getCurrentTime()</td>
<td>getCurrentTime()</td>
<td>Date</td>
<td>Date</td>
@ -904,9 +911,13 @@ Graph2d.clear({options: true}); // clear options only
</tr>
</tr>
<tr>
<tr>
<td>fit()</td>
<td>hiddenDates</td>
<td>Object</td>
<td>none</td>
<td>none</td>
<td>Adjust the visible window such that it fits all items.
<td>This option allows you to hide specific timespans from the time axis. The dates can be supplied as an object:
<code>{start: '2014-03-21 00:00:00', end: '2014-03-28 00:00:00', [repeat:'daily']}</code> or as an Array of these objects. The repeat argument is optional.
The possible values are (case-sensitive): <code>daily, weekly, monthly, yearly</code>. To hide a weekend, pick any Saturday as start and the following Monday as end
<td>A map with i18n locales. See section <ahref="#Localization">Localization</a> for more information.</td>
<td>A map with i18n locales. See section <ahref="#Localization">Localization</a> for more information.</td>
</tr>
</tr>
<tr>
<td>margin</td>
<td>Number | Object</td>
<td>Object</td>
<td>When a number, applies the margin to <code>margin.axis</code>, <code>margin.item.horizontal</code>, and <code>margin.item.vertical</code>.</td>
</tr>
<tr>
<tr>
<td>margin.axis</td>
<td>margin.axis</td>
<td>Number</td>
<td>Number</td>
@ -680,9 +687,23 @@ var options = {
<tr>
<tr>
<td>orientation</td>
<td>orientation</td>
<td>String | Object</td>
<td>'bottom'</td>
<td>Orientation of the timelines axis and items. When orientation is a string, the value is applied to both items and axis. Can be 'top', 'bottom' (default), or 'both'.</td>
</tr>
<tr>
<td>orientation.axis</td>
<td>String</td>
<td>'bottom'</td>
<td>Orientation of the timeline axis: 'top', 'bottom' (default), or 'both'. If orientation is 'bottom', the time axis is drawn at the bottom. When 'top', the axis is drawn on top. When 'both', two axes are drawn, both on top and at the bottom.</td>
</tr>
<tr>
<td>orientation.item</td>
<td>String</td>
<td>String</td>
<td>'bottom'</td>
<td>'bottom'</td>
<td>Orientation of the timeline: 'top', 'bottom' (default), or 'both'. If orientation is 'bottom', the time axis is drawn at the bottom. When 'top', the axis is drawn on top. When 'both', two axes are drawn, both on top and at the bottom.</td>
<td>Orientation of the timeline items: 'top' or 'bottom' (default). Determines whether items are aligned to the top or bottom of the Timeline.</td>