Skip to content

Commit 3d13e68

Browse files
alignYAxes should not be applied without elasticY
for #985
1 parent ffccaa3 commit 3d13e68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/composite-chart-spec.js

+2
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ describe('dc.compositeChart', function () {
571571
describe('with alignYAxes', function () {
572572
beforeEach(function () {
573573
chart.alignYAxes(true)
574+
.elasticY(true)
574575
.render();
575576
});
576577
it('the axis baselines should match', function () {
@@ -600,6 +601,7 @@ describe('dc.compositeChart', function () {
600601
describe('with alignYAxes', function () {
601602
beforeEach(function () {
602603
chart.alignYAxes(true)
604+
.elasticY(true)
603605
.render();
604606
});
605607
it('the axis baselines should match', function () {

0 commit comments

Comments
 (0)