Skip to content

Commit

Permalink
use xAxisPadding to remove clipping on bars
Browse files Browse the repository at this point in the history
fixes #1827
  • Loading branch information
gordonwoodhull committed Apr 8, 2021
1 parent 4f0a43d commit a2460ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-src/examples/composite-bar-line.html
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a2460ae

Please sign in to comment.