-
Notifications
You must be signed in to change notification settings - Fork 211
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
Reordering axes. #289
Comments
In your dimensionObj add an index property specifying the desired x-axis
|
Hi,
and i'm still getting: Just for reference -
My data is all numeric with string based headers such as [...,FftPMo2,FftPMo3,FftPMo4,FftAMi1,FftAMi2,FftAMi3 ...] and is loaded using d3.csv. V |
Grab the latest I am sure this will fix your issue. Terrible oversight on my part. |
Hi, V |
Otherwise you would pass the key for the attribute value you want to pull from the object: Can you post subset of your data? IE: |
|
Did you try: |
yes, I tried both
The rest was the same
both give the same error message: If I leave out the reordering button the chart renders and gives the following response to console.log(JSON.stringify(parcoords.dimensions()))
|
Can you post a gist or jsfiddle? |
parcoords |
Hi,
I want to reorder the axes based an predefined order ( [1,3,4,2...]). I've tried the following
Note: I have reorderable() already swtiched on
parcoords
.detectDimensions()
.dimensions("imgH","imgW")
.render()
.updateAxes();
and
parcoords.dimensions([3,1,2])
.render()
.updateAxes();
for both of which I get the following error: defaultScales[__.dimensions[k].type] is not a function.
I have also tried:
dimensionObj = {"0": {title: "imgH"}, "1": {title: "imgW"}}
parcoords
.dimensions(dimensionObj);
and reorder() as
parcoords.reorder([3,1,2]).render().updateAxes()
All to no avail.
Can somebody please guide me as to how to go about reordering the axes. (Please note I'm not very experienced with js and CG in general).
Thank you,
V
The text was updated successfully, but these errors were encountered: