initial values for parallel coordinates using d3js
up vote
-2
down vote
favorite
I am using parallel coordinates example of this link
https://bl.ocks.org/jasondavies/1341281
I want to set initial range values for particular axis...Can anyone please let me know..
d3.js parallel-coordinates
New contributor
add a comment |
up vote
-2
down vote
favorite
I am using parallel coordinates example of this link
https://bl.ocks.org/jasondavies/1341281
I want to set initial range values for particular axis...Can anyone please let me know..
d3.js parallel-coordinates
New contributor
in the doc of d3.brush` you can find how to set the range with a function call
– rioV8
yesterday
Hey Thanks for the help... in the brush documentation I got hint to do it.. d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush)); added extent(min,max) but additionally I need to call brush event to apply that extent
– harshad joshi
yesterday
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I am using parallel coordinates example of this link
https://bl.ocks.org/jasondavies/1341281
I want to set initial range values for particular axis...Can anyone please let me know..
d3.js parallel-coordinates
New contributor
I am using parallel coordinates example of this link
https://bl.ocks.org/jasondavies/1341281
I want to set initial range values for particular axis...Can anyone please let me know..
d3.js parallel-coordinates
d3.js parallel-coordinates
New contributor
New contributor
New contributor
asked yesterday
harshad joshi
1
1
New contributor
New contributor
in the doc of d3.brush` you can find how to set the range with a function call
– rioV8
yesterday
Hey Thanks for the help... in the brush documentation I got hint to do it.. d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush)); added extent(min,max) but additionally I need to call brush event to apply that extent
– harshad joshi
yesterday
add a comment |
in the doc of d3.brush` you can find how to set the range with a function call
– rioV8
yesterday
Hey Thanks for the help... in the brush documentation I got hint to do it.. d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush)); added extent(min,max) but additionally I need to call brush event to apply that extent
– harshad joshi
yesterday
in the doc of d3.brush` you can find how to set the range with a function call
– rioV8
yesterday
in the doc of d3.brush` you can find how to set the range with a function call
– rioV8
yesterday
Hey Thanks for the help... in the brush documentation I got hint to do it.. d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush)); added extent(min,max) but additionally I need to call brush event to apply that extent
– harshad joshi
yesterday
Hey Thanks for the help... in the brush documentation I got hint to do it.. d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush)); added extent(min,max) but additionally I need to call brush event to apply that extent
– harshad joshi
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush));
just changed this line by adding extent([min.max]) this will draw brush but will not trigger event to update foreground-background. So need to call brush() manually in the end.
New contributor
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush));
just changed this line by adding extent([min.max]) this will draw brush but will not trigger event to update foreground-background. So need to call brush() manually in the end.
New contributor
add a comment |
up vote
0
down vote
d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush));
just changed this line by adding extent([min.max]) this will draw brush but will not trigger event to update foreground-background. So need to call brush() manually in the end.
New contributor
add a comment |
up vote
0
down vote
up vote
0
down vote
d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush));
just changed this line by adding extent([min.max]) this will draw brush but will not trigger event to update foreground-background. So need to call brush() manually in the end.
New contributor
d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush));
just changed this line by adding extent([min.max]) this will draw brush but will not trigger event to update foreground-background. So need to call brush() manually in the end.
New contributor
New contributor
answered yesterday
harshad joshi
1
1
New contributor
New contributor
add a comment |
add a comment |
harshad joshi is a new contributor. Be nice, and check out our Code of Conduct.
harshad joshi is a new contributor. Be nice, and check out our Code of Conduct.
harshad joshi is a new contributor. Be nice, and check out our Code of Conduct.
harshad joshi is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53409065%2finitial-values-for-parallel-coordinates-using-d3js%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
in the doc of d3.brush` you can find how to set the range with a function call
– rioV8
yesterday
Hey Thanks for the help... in the brush documentation I got hint to do it.. d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush)); added extent(min,max) but additionally I need to call brush event to apply that extent
– harshad joshi
yesterday