-
Notifications
You must be signed in to change notification settings - Fork 33
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
add ability to brush null data #66
Comments
I am new to ES6 programming but got it running in VS code finally.. and now get a bit more insight in the code |
The implementations of
I guess this is a general question. I don't have an answer for now, but I may assist if you have a more detailed question regards with some specific lines of code. |
Hi XING yun, thanks for your reply eg in 1d version :
in 1d-multi
This actually gives me a d is not an array error the second time the d.push is hit (so the second brush on the same axis), but it is also lacking the raw and scaled return objects I think? will continue my studies to try and understand what happens here, but if you can shed some light I would be grateful |
Array.push returns the size of the array, not the array, so that line is suspicious. |
@rvberloo You're welcome.
Above changes have been tested but not released yet. I feel there would be more modifications along with our discussion. |
@gordonwoodhull |
Thanks! this helps a lot. My original starting question was a different one though: how to allow data being selected by brushing when the values are missing. The idea behind this is that missing data is unknown, so it might be in the range of the brush, just to be sure lets keep it in the selection. Ideally this could be a dimension property 'includeMissinginSelection' that can be set per axis .. ;-) |
You're welcome.
Do you need me to release a new version containing my modifications right now, or later with your PR instead? |
Hi, code I modified in 'brush-with-arguments' demo file
changed the .onbrushend handler
I also needed to include the invertByScale reference to the 1D-brush-multi brushextents.js |
v2.2.9 has been released to fix |
Thanks!. This helps a lot in our goal to support parcoviewer sessions, where we store the data, and the active brush selections to be re-used later :-). on the issue of the null data brushing, I think I can get this to work globally by modifying selected.js to also return true when the data === undefined (only for numeric data). |
You're welcome! |
Hello! Is there any option to rebrush over an axe with values of 0? I am asking because I can see the raw values of the brushes, but the scaled values are, of course [0]. Thanks a lot! |
I like the concept of displaying null data outside of the main chart, but I also would like to be able to include items that have a null value in the selection when brushing on that axis.
Either by a switch (include_nulldata_in_brush) per viewer, or per axis or by using a multi brush per axis and extending the brushable area to the axis regions where the null values are plotted.
Why: we use the parallel coordinate viewer for selection but when a measurement was not (yet) made it is uncertain. So the items could be within the brush range, we dont know. To be safe we would like to include these items
The text was updated successfully, but these errors were encountered: