Skip to content

Commit

Permalink
artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwoodhull committed Feb 11, 2016
1 parent cd64fb1 commit f3ec72d
Show file tree
Hide file tree
Showing 10 changed files with 72 additions and 62 deletions.
23 changes: 14 additions & 9 deletions dc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dc.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dc.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dc.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/docs/api-latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ such as [.svg](#dc.baseMixin+svg) and [.xAxis](#dc.coordinateGridMixin+xAxis),
return values that are themselves chainable d3 objects.

**Kind**: global namespace
**Version**: 2.0.0-beta.25
**Version**: 2.0.0-beta.26
**Example**
```js
// Example chaining
Expand Down
62 changes: 31 additions & 31 deletions web/docs/stock.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 id="dc-js-getting-started-and-how-to-guide">dc.js Getting Started and How-To

</div>

<div class="content"><div class='highlight'><pre><span class="hljs-pi">'use strict'</span>;
<div class="content"><div class='highlight'><pre><span class="hljs-meta">'use strict'</span>;

<span class="hljs-comment">/* jshint globalstrict: true */</span>
<span class="hljs-comment">/* global dc,d3,crossfilter,colorbrewer */</span></pre></div></div>
Expand Down Expand Up @@ -97,7 +97,7 @@ <h3 id="anchor-div-for-charts">Anchor Div for Charts</h3>

</div>

<div class="content"><div class='highlight'><pre> &lt;div id=<span class="hljs-string">'your-chart'</span>&gt;<span class="xml"><span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<div class="content"><div class='highlight'><pre> &lt;div id=<span class="hljs-string">'your-chart'</span>&gt;<span class="xml"><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</span></pre></div></div>

</li>
Expand All @@ -113,7 +113,7 @@ <h3 id="anchor-div-for-charts">Anchor Div for Charts</h3>

</div>

<div class="content"><div class='highlight'><pre> &lt;div id=<span class="hljs-string">'chart'</span>&gt;<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>Days by Gain or Loss<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<div class="content"><div class='highlight'><pre> &lt;div id=<span class="hljs-string">'chart'</span>&gt;<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">span</span>&gt;</span>Days by Gain or Loss<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</span></pre></div></div>

</li>
Expand Down Expand Up @@ -161,10 +161,10 @@ <h5 id="-turnoncontrols-">.turnOnControls()</h5>
</div>

<div class="content"><div class='highlight'><pre> &lt;div id=<span class="hljs-string">'chart'</span>&gt;
<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">a</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'reset'</span>
<span class="hljs-attribute">href</span>=<span class="hljs-value">'javascript:myChart.filterAll();dc.redrawAll();'</span>
<span class="hljs-attribute">style</span>=<span class="hljs-value">'visibility: hidden;'</span>&gt;</span>reset<span class="hljs-tag">&lt;/<span class="hljs-title">a</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'reset'</span>
<span class="hljs-attr">href</span>=<span class="hljs-string">'javascript:myChart.filterAll();dc.redrawAll();'</span>
<span class="hljs-attr">style</span>=<span class="hljs-string">'visibility: hidden;'</span>&gt;</span>reset<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</span></pre></div></div>

</li>
Expand All @@ -182,10 +182,10 @@ <h5 id="-turnoncontrols-">.turnOnControls()</h5>
</div>

<div class="content"><div class='highlight'><pre> &lt;div id=<span class="hljs-string">'chart'</span>&gt;
<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">span</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'reset'</span> <span class="hljs-attribute">style</span>=<span class="hljs-value">'visibility: hidden;'</span>&gt;</span>
Current filter: <span class="hljs-tag">&lt;<span class="hljs-title">span</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'filter'</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'reset'</span> <span class="hljs-attr">style</span>=<span class="hljs-string">'visibility: hidden;'</span>&gt;</span>
Current filter: <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'filter'</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
*/

</span></pre></div></div>
Expand Down Expand Up @@ -665,7 +665,7 @@ <h4 id="bubble-chart">Bubble Chart</h4>

</div>

<div class="content"><div class='highlight'><pre> .colorDomain([-<span class="hljs-number">500</span>, <span class="hljs-number">500</span>])</pre></div></div>
<div class="content"><div class='highlight'><pre> .colorDomain([<span class="hljs-number">-500</span>, <span class="hljs-number">500</span>])</pre></div></div>

</li>

Expand Down Expand Up @@ -762,8 +762,8 @@ <h5 id="accessors">Accessors</h5>
<span class="hljs-keyword">return</span> p.value.fluctuationPercentage;
})
.maxBubbleRelativeSize(<span class="hljs-number">0.3</span>)
.x(d3.scale.linear().domain([-<span class="hljs-number">2500</span>, <span class="hljs-number">2500</span>]))
.y(d3.scale.linear().domain([-<span class="hljs-number">100</span>, <span class="hljs-number">100</span>]))
.x(d3.scale.linear().domain([<span class="hljs-number">-2500</span>, <span class="hljs-number">2500</span>]))
.y(d3.scale.linear().domain([<span class="hljs-number">-100</span>, <span class="hljs-number">100</span>]))
.r(d3.scale.linear().domain([<span class="hljs-number">0</span>, <span class="hljs-number">4000</span>]))</pre></div></div>

</li>
Expand Down Expand Up @@ -1165,7 +1165,7 @@ <h4 id="pie-donut-charts">Pie/Donut Charts</h4>

</div>

<div class="content"><div class='highlight'><pre> .colorDomain([-<span class="hljs-number">1750</span>, <span class="hljs-number">1644</span>])</pre></div></div>
<div class="content"><div class='highlight'><pre> .colorDomain([<span class="hljs-number">-1750</span>, <span class="hljs-number">1644</span>])</pre></div></div>

</li>

Expand Down Expand Up @@ -1348,7 +1348,7 @@ <h4 id="bar-chart">Bar Chart</h4>

<div class="content"><div class='highlight'><pre> .round(dc.round.floor)
.alwaysUseRounding(<span class="hljs-literal">true</span>)
.x(d3.scale.linear().domain([-<span class="hljs-number">25</span>, <span class="hljs-number">25</span>]))
.x(d3.scale.linear().domain([<span class="hljs-number">-25</span>, <span class="hljs-number">25</span>]))
.renderHorizontalGridLines(<span class="hljs-literal">true</span>)</pre></div></div>

</li>
Expand Down Expand Up @@ -1598,10 +1598,10 @@ <h4 id="data-count">Data Count</h4>
to a specific group then any interaction with such chart will only trigger redraw
on other charts within the same chart group.
<br>API: <a href="https://github.com/dc-js/dc.js/blob/master/web/docs/api-latest.md#data-count-widget">Data Count Widget</a></p>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-title">div</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'dc-data-count'</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">span</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'filter-count'</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
selected out of <span class="hljs-tag">&lt;<span class="hljs-title">span</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'total-count'</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span> records.
<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'dc-data-count'</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'filter-count'</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
selected out of <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'total-count'</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span> records.
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>

</div>
Expand Down Expand Up @@ -1661,17 +1661,17 @@ <h4 id="data-table">Data Table</h4>
<br>API: <a href="https://github.com/dc-js/dc.js/blob/master/web/docs/api-latest.md#data-table-widget">Data Table Widget</a></p>
<p>You can statically define the headers like in</p>
<pre><code class="lang-html"> <span class="hljs-comment">&lt;!-- anchor div for data table --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">div</span> <span class="hljs-attribute">id</span>=<span class="hljs-value">'data-table'</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">'data-table'</span>&gt;</span>
<span class="hljs-comment">&lt;!-- create a custom header --&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">div</span> <span class="hljs-attribute">class</span>=<span class="hljs-value">'header'</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>Date<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>Open<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>Close<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>Change<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>Volume<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">'header'</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">span</span>&gt;</span>Date<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">span</span>&gt;</span>Open<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">span</span>&gt;</span>Close<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">span</span>&gt;</span>Change<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-name">span</span>&gt;</span>Volume<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-comment">&lt;!-- data rows will filled in here --&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<p>or do it programmatically using <code>.columns()</code>.</p>

Expand Down Expand Up @@ -1986,7 +1986,7 @@ <h4 id="geo-choropleth-chart">Geo Choropleth Chart</h4>

</div>

<div class="content"><div class='highlight'><pre> .colorDomain([-<span class="hljs-number">5</span>, <span class="hljs-number">200</span>])</pre></div></div>
<div class="content"><div class='highlight'><pre> .colorDomain([<span class="hljs-number">-5</span>, <span class="hljs-number">200</span>])</pre></div></div>

</li>

Expand Down Expand Up @@ -2226,7 +2226,7 @@ <h4 id="bubble-overlay-chart">Bubble Overlay Chart</h4>

</div>

<div class="content"><div class='highlight'><pre> .colorDomain([-<span class="hljs-number">5</span>, <span class="hljs-number">200</span>])</pre></div></div>
<div class="content"><div class='highlight'><pre> .colorDomain([<span class="hljs-number">-5</span>, <span class="hljs-number">200</span>])</pre></div></div>

</li>

Expand Down
23 changes: 14 additions & 9 deletions web/js/dc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/js/dc.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions web/js/dc.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/js/dc.min.js.map

Large diffs are not rendered by default.

0 comments on commit f3ec72d

Please sign in to comment.