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

Design for simple zoom bar #698

Closed
designertyler opened this issue Jul 13, 2020 · 9 comments
Closed

Design for simple zoom bar #698

designertyler opened this issue Jul 13, 2020 · 9 comments

Comments

@designertyler
Copy link

designertyler commented Jul 13, 2020

This issue tracks the requirements and design specs for a simple version of the zoom bar.

The simple zoom allows the user to scope the start and endpoints of the chart from a larger range of data. This simple zoom bar is intended to be used for area, bubble charts, and an alternative to the zoom bar with thumbnail shown here #380

Final specs

Simple_zoom_20200722

@designertyler designertyler self-assigned this Jul 13, 2020
@designertyler
Copy link
Author

@jeanservaas

Here are a few explorations for a simplified zoom control. 1 & 2 following closely to the original style of the specs found in #380 and 3 & 4 follow closely to Carbon's slider component. I'm not sure either is a stand-out but would like your feedback on any new directions to pursue. I'll be looking at more data viz zoom control examples next and adding those explorations here

(1) Zoom bar styles

@designertyler
Copy link
Author

Proposed behavior and states

(2) Zoom pan interactions

@jeanservaas
Copy link

@designertyler

I actually like sticking closer to Shixie's design... but just removing the second chart since it's causing rendering issues/implementation problems and is not functional for certain charts or for the y-axis.

So I prefer these explorations below:

image

To me the default range view. in the option that looks like the Carbon slider is just not intuitive at all for a chart zoom and the balls feel a little clunky to me.

@theiliad
Copy link
Member

@designertyler

I actually like sticking closer to Shixie's design... but just removing the second chart since it's causing rendering issues/implementation problems and is not functional for certain charts or for the y-axis.

So I prefer these explorations below:

image

To me the default range view. in the option that looks like the Carbon slider is just not intuitive at all for a chart zoom and the balls feel a little clunky to me.

the circular handles seem like a closer match to me to the Carbon slider
https://www.carbondesignsystem.com/components/slider/usage/
image

if we go with the rectangular handles, are we able to try having them not stick out of the zoombar rectangle?

@theiliad
Copy link
Member

and @designertyler could you also highlight use cases where the zoombar would show up on the left axis? would like to see how we'll fit it in with the axis title and labels

@jeanservaas
Copy link

jeanservaas commented Jul 14, 2020

  1. Are we ever going to be able to implement a version of the zoom that functions like this? For situations where is is appropiate? This is the one that @mjabbink prefers.

image

I notice Material has two Chart Range filters, a simple one and a more complex one. If we are, we'd definitely want the two to have the same rectangular geometry.

image

image

  1. Most all sliders have those round handles... that doesn't mean it's a convention in charting for zoom and pan. To use Material as an example again... their slider looks like ours, but they do not use it for their Chart Range filter. I also don't think that a slight protrusion from the zoom bar will interfere with anything.

image

@designertyler I know you've been looking at am charts but there are other implementations out there that are pretty simple and sleek... if we wanted to get the bar closer to the axis even something like this design could work.

https://docs.telerik.com/devtools/wpf/controls/radchartview/features/behaviors/panzoom

image

chart-zooming-and-scrolling-preview

https://docs.devexpress.com/WindowsForms/2954/controls-and-libraries/chart-control/end-user-features/basic-end-users-interaction/zoom-and-scroll-in-2D-xy-charts

@theiliad theiliad self-assigned this Jul 20, 2020
@designertyler
Copy link
Author

Final specs have been added to this issue's original comment at the top

@theiliad
Copy link
Member

Thanks Tyler, great work!

@mjabbink
Copy link

@designertyler That last sample your found is a nice one. How does a user get the magnafying icon to zoom?

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

5 participants