We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two problems when resizing the window (Bootstrap used in this example)
http://www1.journaldemontreal.com/2014/04/inondations/
Am I using it wrong or are these just limitations of the current release 1.32 release?
The text was updated successfully, but these errors were encountered:
Any info about this? Is there no way to make this resize properly when the browser is resized?
Sorry, something went wrong.
I am aware that I am quite late, but I have recently encountered this problem myself.
The best workaround I have so far is to save your slider-generating function like:
var slider = d3.slider(); var sliderContainer = d3.select(parent) .append('div') .call(slider);
then re-create the slider in the window resizing event callback (I'm using jQuery):
$(window).resize(function(){ sliderContainer.remove(); sliderContainer = d3.select(parent) .append('div') .call(slider); }
Hopefully that sample works (or you can get it to work).
No branches or pull requests
Two problems when resizing the window (Bootstrap used in this example)
http://www1.journaldemontreal.com/2014/04/inondations/
Am I using it wrong or are these just limitations of the current release 1.32 release?
The text was updated successfully, but these errors were encountered: