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.
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.minormaxas 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 setterd3.scale.linear().domain([minscore[14], maxscore[14])doesn't appear to work, as no scale appears at all in this circumstance.