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

Overview zack-histogram #30

Open
l00mi opened this issue Nov 20, 2017 · 3 comments
Open

Overview zack-histogram #30

l00mi opened this issue Nov 20, 2017 · 3 comments

Comments

@l00mi
Copy link
Contributor

l00mi commented Nov 20, 2017

Concept and Design related

  • The more important point of the component is to show the context of time.

    • Important feature to show for the current selection the start point of the timeline and end point (interval where documents are situated in). Might need visual boost.
    • Documents will relate with arrows or intervals to it (to put them self into context on the timeline.)
    • [Low prio] Timeline is fixed in granularity of years, (ideally it would also scales down to months, days).
  • The case that non of the documents provide a date, hence there are no buckets delivered to the visualisation needs to be gracefully handled.

  • The black bars can be used to constrain the search query to a time interval. (Probably better user interface metaphor ? Drag over the constraining interval (click-start, drag, click-stop -> interval).

  • [Low prio] An intuitive way to relax the constraint is searched after (minimal case, just remove the constraint completely).

  • Lowest Target Browser IE11

Dev and Code related

@l00mi
Copy link
Contributor Author

l00mi commented Dec 4, 2017

Die Anpassungen basierend auf dem develop branch.

Kann mit dem Projekt www.alod.ch getestet werden. Dazu die Abhängigkeit von zack-search auf das eigene Repo umbiegen und:

npm install
npm run start-local

@larsvers
Copy link
Contributor

larsvers commented Dec 20, 2017

  1. Handles: The black bars can be used to constrain the search query to a time interval. (Probably better user interface metaphor ? Drag over the constraining interval (click-start, drag, click-stop -> interval).

    The bespoke handler mechanic has been replaced with the D3 brush mechanic. Period ranges are now selected with a brushing rectangle.

hitso2

  1. Accentuate start/end of current selection

    I played with a few options like shifted start/end ticks and boosted tick-lines but would probably suggest bold labels..

  2. Documents will relate with arrows or intervals to it (to put them self into context on the timeline.)

    This still seems out of whack, but I haven’t looked into this further. Might be that the margin is not considered properly.

  3. The case that none of the documents provide a date, hence there are no buckets delivered to the visualisation needs to be gracefully handled.

    TBD

  4. [Low prio] Timeline is fixed in granularity of years, (ideally it would also scales down to months, days).

    It currently flips between years and abreviated month + years, but granularity can be changed of course. I haven’t quite grasped what happens on very high date resolution.

  5. [Low prio] An intuitive way to relax the constraint is searched after (minimal case, just remove the constraint completely).

    I’m misusing the result count (.zack-meta.pull-right element) as a reset button at the moment. I toyed with a few options here, but it seems a small button under the result count (saying ‘zurücksetzen’ or the shorter 'reset') or a reset icon might be best...

  6. (New) Buckets are visible beyond axis end

    Requires clip-path

@larsvers
Copy link
Contributor

larsvers commented Dec 21, 2017

Further refinements:

  • Check problem with Firefox and IE11 (problem seemed to exist before histogram refinement [tested 5f0e405]: start date returns Invalid Date)
  • Safari dates pear-shaped
  • Increase histogram height to 120px and adapt element sizes appropriately
  • Add reset button
  • Hide histogram if data response is empty
  • Add visual clue indicating histogram data load (spinner or similar)
  • Reset chart on double-click
  • Highlight the axis' start and end date values

All changes pending double-check on working database

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

No branches or pull requests

2 participants