Skip to content

Commit

Permalink
horizontal scroll the table
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwoodhull committed Jul 18, 2016
1 parent 0364e1e commit 2e18008
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions web/examples/align-axes.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
code {
color: black;
}
#hscroll {
width: 100%;
overflow: scroll;
}
#page {
height: 95vh;
width: 100%;
Expand Down Expand Up @@ -70,7 +74,10 @@
<a href="https://github.com/dc-js/dc.js/blob/develop/web/docs/api-latest.md#dc.coordinateGridMixin+elasticY"><code>elasticY</code></a>.
The left zero point will be horizontal with the right zero point, and the heights of the two series will be equal.
(As with <code>elasticY</code>, height is currently measured from the y=0 line - see <a href="https://github.com/dc-js/dc.js/issues/667">#667</a>.)</p>
<table id="content"></div>
</div>
<div id="hscroll">
<table id="content"></table>
</div>

<script type="text/javascript">
var posiness = ['heading', 'above', 'upward', 'even', 'downward', 'below'];
Expand Down Expand Up @@ -193,6 +200,5 @@
dc.renderAll();

</script>
</div>
</body>
</html>

0 comments on commit 2e18008

Please sign in to comment.