Skip to content

Commit

Permalink
Propagate elasticX to child charts of composite
Browse files Browse the repository at this point in the history
fixes dc-js#926 elasticX not working for series chart
  • Loading branch information
gordonwoodhull authored and tttp committed May 18, 2015
1 parent 0555687 commit f31f830
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 21 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 2.0 Series
## 2.0.0 beta 9
* propagate elasticX to child charts so that domain can be calculated correctly ([#926](https://github.com/dc-js/dc.js/issues/926))

## 2.0.0 beta 8
* simplify Gruntfile and further update dependencies, by Matt Traynham ([#849](https://github.com/dc-js/dc.js/pull/849))
* setting the chart group should automatically put the chart in that group, by Matt Traynham ([#834](https://github.com/dc-js/dc.js/pull/834) / [#775](https://github.com/dc-js/dc.js/issues/775))
Expand Down
7 changes: 4 additions & 3 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.

9 changes: 5 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dc",
"version": "2.0.0-beta.8",
"version": "2.0.0-beta.9",
"license": "Apache-2.0",
"copyright": "2014",
"description": "A multi-dimensional charting library built to work natively with crossfilter and rendered using d3.js ",
Expand Down
1 change: 1 addition & 0 deletions src/composite-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ dc.compositeChart = function (parent, chartGroup) {
child.transitionDuration(_chart.transitionDuration());
child.brushOn(_chart.brushOn());
child.renderTitle(_chart.renderTitle());
child.elasticX(_chart.elasticX());
}

return g;
Expand Down
2 changes: 1 addition & 1 deletion web/docs/api-latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* [Heat Map](#heat-map)
* [Box Plot](#box-plot)

#### Version 2.0.0-beta.8
#### Version 2.0.0-beta.9
The entire dc.js library is scoped under the **dc** name space. It does not introduce anything else
into the global name space.
#### Function Chaining
Expand Down
2 changes: 1 addition & 1 deletion web/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h1 id="dc-api">DC API</h1>
<li><a href="#heat-map">Heat Map</a></li>
<li><a href="#box-plot">Box Plot</a></li>
</ul>
<h4 id="version-2-0-0-beta-8">Version 2.0.0-beta.8</h4>
<h4 id="version-2-0-0-beta-9">Version 2.0.0-beta.9</h4>
<p>The entire dc.js library is scoped under the <strong>dc</strong> name space. It does not introduce anything else
into the global name space.</p>
<h4 id="function-chaining">Function Chaining</h4>
Expand Down
7 changes: 4 additions & 3 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.

9 changes: 5 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 f31f830

Please sign in to comment.