Skip to content

Commit

Permalink
generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen-eb committed Oct 25, 2017
1 parent 0488b08 commit 422d96e
Show file tree
Hide file tree
Showing 10 changed files with 366 additions and 6 deletions.
16 changes: 16 additions & 0 deletions docs/legend.js.html
Expand Up @@ -651,6 +651,22 @@ <h1 class="page-title">Source: legend.js</h1>
return this;
};

/**
* Gets or Sets the margin ratio of the legend chart.
* Used to determine spacing between legend elements.
* @param {number} _x Margin Ratio to get/set
* @return {number | module} Current marginRatio or Legend module to chain calls
* @public
*/
exports.marginRatio = function(_x) {
if (!arguments.length) {
return marginRatio;
}
marginRatio = _x;

return this;
};

/**
* Gets or Sets the markerSize of the legend chart.
* This markerSize will determine the horizontal and vertical size of the colored marks
Expand Down
165 changes: 165 additions & 0 deletions docs/module-Legend.html
Expand Up @@ -1184,6 +1184,171 @@ <h5>Returns:</h5>



</dd>



<hr>
<dt>
<h4 class="name" id=".marginRatio"><span class="type-signature">&lt;static> </span>marginRatio(_x)</h4>


</dt>
<dd>


<div class="description">
Gets or Sets the margin ratio of the legend chart.
Used to determine spacing between legend elements.
</div>








<h5>Parameters:</h5>


<table class="params table table-striped">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>_x</code></td>


<td class="type">


<span class="param-type">number</span>




</td>





<td class="description last">Margin Ratio to get/set</td>
</tr>


</tbody>
</table>




<dl class="details">





























<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
<dd class="tag-source">
<ul class="dummy">
<li>
<a href="legend.js.html">legend.js</a>
</li>
</ul>
</dd>







</dl>













<h5>Returns:</h5>


<div class="param-desc">
Current marginRatio or Legend module to chain calls
</div>



<dl>
<dt>
Type
</dt>
<dd>

<span class="param-type">number</span>
|

<span class="param-type">module</span>



</dd>
</dl>





</dd>


Expand Down
164 changes: 164 additions & 0 deletions docs/module-Tooltip.html
Expand Up @@ -2009,6 +2009,170 @@ <h5>Returns:</h5>



</dd>



<hr>
<dt>
<h4 class="name" id=".tooltipOffset"><span class="type-signature">&lt;static> </span>tooltipOffset(tooltipOffset)</h4>


</dt>
<dd>


<div class="description">
Pass an override for the offset of your tooltip
</div>








<h5>Parameters:</h5>


<table class="params table table-striped">
<thead>
<tr>

<th>Name</th>


<th>Type</th>





<th class="last">Description</th>
</tr>
</thead>

<tbody>


<tr>

<td class="name"><code>tooltipOffset</code></td>


<td class="type">


<span class="param-type">Object</span>




</td>





<td class="description last">Object representing the X and Y offsets</td>
</tr>


</tbody>
</table>




<dl class="details">





























<dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
<dd class="tag-source">
<ul class="dummy">
<li>
<a href="tooltip.js.html">tooltip.js</a>
</li>
</ul>
</dd>







</dl>













<h5>Returns:</h5>


<div class="param-desc">
Current tooltipOffset
</div>



<dl>
<dt>
Type
</dt>
<dd>

<span class="param-type">Object</span>
|

<span class="param-type">module</span>



</dd>
</dl>





</dd>


Expand Down
2 changes: 1 addition & 1 deletion docs/quicksearch.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/scripts/demo-donut.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/scripts/demo-grouped-bar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/scripts/demo-line.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/scripts/demo-stacked-area.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/scripts/demo-stacked-bar.js

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions docs/tooltip.js.html
Expand Up @@ -906,6 +906,21 @@ <h1 class="page-title">Source: tooltip.js</h1>
return this;
};

/**
* Pass an override for the offset of your tooltip
* @param {Object} tooltipOffset Object representing the X and Y offsets
* @return {Object | module} Current tooltipOffset
* @public
*/
exports.tooltipOffset = function(_x) {
if (!arguments.length) {
return tooltipOffset;
}
tooltipOffset = _x;

return this;
};

/**
* Pass an override for the ordering of your tooltip
* @param {String[]} _x Array of the names of your tooltip items
Expand Down

0 comments on commit 422d96e

Please sign in to comment.