Skip to content

Commit

Permalink
Fixing up paired row chart width
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhley committed Nov 17, 2015
1 parent d9b0aed commit 58c93c1
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 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.

2 changes: 1 addition & 1 deletion 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.

4 changes: 2 additions & 2 deletions src/paired-row-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ var chart2 = dc.pairedRowChart('#chart-container2', 'chartGroupA');
dc.pairedRowChart = function (parent, chartGroup) {
var _chart = dc.capMixin(dc.marginMixin(dc.colorMixin(dc.baseMixin({}))));

var _leftChartWrapper = d3.select(parent).append('div');
var _rightChartWrapper = d3.select(parent).append('div');
var _leftChartWrapper = d3.select(parent).append('div').style('width', '50%').style('display', 'inline-block');
var _rightChartWrapper = d3.select(parent).append('div').style('width', '50%').style('display', 'inline-block');

var _leftChart = dc.rowChart(_leftChartWrapper[0][0], chartGroup);
var _rightChart = dc.rowChart(_rightChartWrapper[0][0], chartGroup);
Expand Down
4 changes: 2 additions & 2 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.

2 changes: 1 addition & 1 deletion 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 58c93c1

Please sign in to comment.