Skip to content
New issue

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

After changing min, max, scales do not refresh #53

Open
james-wallace-ghub opened this issue Jan 11, 2019 · 0 comments
Open

After changing min, max, scales do not refresh #53

james-wallace-ghub opened this issue Jan 11, 2019 · 0 comments

Comments

@james-wallace-ghub
Copy link

james-wallace-ghub commented Jan 11, 2019

At the moment I specify a slider for use on a filter operation, relating to properties in an array I store

mboslider = d3.slider().min(minscore[14]).max(maxscore[14]).axis(true) .on("slide", function(evt, value) { filtscore[8] = value; filter(); });
When these values are updated, I call mboslider.min or max as appropriate, which updates the values within the slider object, but doesn't manifest in any changes of scale. Manually changing the scale using the in built setter d3.scale.linear().domain([minscore[14], maxscore[14]) doesn't appear to work, as no scale appears at all in this circumstance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant