diff --git a/web-src/examples/composite-bar-line.html b/web-src/examples/composite-bar-line.html index cd9098234..f54943521 100644 --- a/web-src/examples/composite-bar-line.html +++ b/web-src/examples/composite-bar-line.html @@ -44,7 +44,7 @@ composite .width(768) .height(480) - .x(d3.scaleLinear().domain([2.9,16.1])) + .x(d3.scaleLinear()).xAxisPadding(0.5).elasticX(true) .yAxisLabel("The Y Axis") .legend(dc.legend().x(80).y(20).itemHeight(13).gap(5)) .renderHorizontalGridLines(true)