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

Search functionality #6

Open
Jonathan-Abrahams opened this issue Jun 25, 2018 · 3 comments
Open

Search functionality #6

Jonathan-Abrahams opened this issue Jun 25, 2018 · 3 comments

Comments

@Jonathan-Abrahams
Copy link

Hi Bohdan,

I am getting really far with this tool, but with such huge datasets it is hard to find specific rows or columns I am interested in.

Is there a way to add a search functionality in?

@emaiti
Copy link
Collaborator

emaiti commented Oct 13, 2018

Hi @Jonathan-Abrahams ,

I have added a quick fix (you do have to know what specific x- or y-values or ranges you are interested in beforehand, though). The overall layout of the page still looks the same, except for the added search bars for x and y and a slight change in the instructions:

1_looksthesame

2_exceptthispart

As you can read in the instructions box, you use the search bars to specify your x- and y-values of interest (you can also enter ranges, but they have to be in the form of “[x,y]” with no space in between the “x,” and “y”; we also assume that x and y are strings that don’t contain commas or square brackets).

For example, if I specify an x and y value for this dataset, the plot will be displayed zoomed in on those specific coordinates, like this:

3_colors

4_valuesandgraph

Or, you could enter a range, like this:

8_rangeexample

You can still zoom out and pan. Clicking autoscale, for example, will zoom all the way out.

5_youcanzoompan

If you leave blank (or enter something invalid into) one or both of the search bars, the plot will appear without any modifications in the range you don’t provide a proper value or range for, for example:

6_noaxismods

or:

7_oneaxismod

Is this helpful and/or close to what you were looking for? Please let me know if you have any other questions. Thanks!

@Bohdan-Khomtchouk
Copy link
Owner

@emaiti Please add a tiny search icon widget (or similar) such that a user doesn't need to re-load a dataset every time the x or y value is changed. If possible, make it interactive such that typing in a new x or y value and pressing enter will navigate the user to the appropriate location in the heatmap.

@emaiti
Copy link
Collaborator

emaiti commented Oct 24, 2018

Sounds good, working on it!

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

No branches or pull requests

3 participants