Add a rectangle chart that uses the same xScale as the bar plot
Render them as a group
In the live example URL, swap the commented line for the one before it to see it demonstrated.
Expected behavior
Dataset is added to the chart
Actual behavior
The width of the bars in the bar plot change. The only clues I have to what's causing it are that xScale.innerPadding() changes from 0.4 to 0. Any idea why?
Plottable version: 3.7.0
Browser name/version: Chrome
OS name/version: macOS 10.13
For now, a workaround is to manually set xScale.innerPadding(0.4). Hacky but does the job until we hear back on this issue.
Bug report
Live example URL: https://www.webpackbin.com/bins/-L-ZL4OfbxdRJslccl6J
Steps to repro:
In the live example URL, swap the commented line for the one before it to see it demonstrated.
Expected behavior
Dataset is added to the chart
Actual behavior
The width of the bars in the bar plot change. The only clues I have to what's causing it are that
xScale.innerPadding()
changes from0.4
to0
. Any idea why?For now, a workaround is to manually set
xScale.innerPadding(0.4)
. Hacky but does the job until we hear back on this issue.