Zoom range-selection fails past final data point

Technical support, bug reports and more.

Zoom range-selection fails past final data point

Postby green on Fri Jul 02, 2010 5:50 pm

Assume for example that the user wants to
zoom in to see the most recent data on a chart.
If they first click on some point within the chart,
then sweep to the right to define the range selection,
if they point *past* the final data point the range-selection fails to happen.

Now one might say, "well just don't go past the final data point",
however, with many data points it's not easy to select the exact final data point.

A more user-friendly behavior would be to have the range selection
automatically stop at the final chart point.

Try it here:
http://www.highcharts.com/demo/?example ... me=default
green
 
Posts: 9
Joined: Sun Jun 20, 2010 9:19 pm

Re: Zoom range-selection fails past final data point

Postby az9214 on Fri Jul 02, 2010 6:43 pm

You can use the padding options for the axes to specify a minimum padding. This will ensure that there is sufficient space at the extremes to make a chart selection.

http://www.highcharts.com/ref/#xAxis
az9214
 
Posts: 75
Joined: Tue Apr 27, 2010 6:15 pm

Re: Zoom range-selection fails past final data point

Postby green on Sat Jul 03, 2010 9:14 pm

Thanks for that!
It's an effective workaround, but users may still tend to over sweep.

A more user-friendly behavior would be to have the range selection
automatically stop at the final chart point.
green
 
Posts: 9
Joined: Sun Jun 20, 2010 9:19 pm

Re: Zoom range-selection fails past final data point

Postby admin on Sun Jul 04, 2010 8:46 pm

A more user-friendly behavior would be to have the range selection
automatically stop at the final chart point.


In Highcharts 2.0 it will do just that.
Torstein Hønsi
Developer,
Highslide Software
User avatar
admin
Site Admin
 
Posts: 7858
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Re: Zoom range-selection fails past final data point

Postby Hickmanotron on Fri Jul 09, 2010 11:00 am

If I'm reading this thread correctly, I'm having the same trouble?

If a user clicks say the middle of the chart, then sweepingly drags right off the chart, nothing happens.

Excellent news, as this was exactly what I was looking for.
Hickmanotron
 
Posts: 3
Joined: Tue Apr 27, 2010 11:04 am

Re: Zoom range-selection fails past final data point

Postby admin on Fri Jul 09, 2010 1:32 pm

Torstein Hønsi
Developer,
Highslide Software
User avatar
admin
Site Admin
 
Posts: 7858
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Re: Zoom range-selection fails past final data point

Postby Hickmanotron on Fri Jul 09, 2010 5:33 pm

Ah perfect!

Can this version be used now?
Hickmanotron
 
Posts: 3
Joined: Tue Apr 27, 2010 11:04 am

Re: Zoom range-selection fails past final data point

Postby Vilya on Mon Jul 12, 2010 5:37 pm

This future zoom selection will be awesome !! Great job !

Btw, pre release can't be used yet.
Vilya
 
Posts: 23
Joined: Mon Jun 21, 2010 9:25 am

Re: Zoom range-selection fails past final data point

Postby admin on Wed Jul 14, 2010 10:11 am

Version 2 is out now.
Torstein Hønsi
Developer,
Highslide Software
User avatar
admin
Site Admin
 
Posts: 7858
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Re: Zoom range-selection fails past final data point

Postby librato-joe on Tue Jul 20, 2010 1:02 am

You can now zoom to the last data-point, but it's somewhat jarring. Unlike anywhere else on the graph where you release the mouse to execute the zoom, going to the edge of the graph immediately marks the selection and executes the zoom? Shouldn't the user be able to drag to the edge of the graph and then release the mouse to maintain a consistent feel?
librato-joe
 
Posts: 5
Joined: Thu May 06, 2010 1:11 am

Re: Zoom range-selection fails past final data point

Postby admin on Tue Jul 20, 2010 8:58 pm

Do you mean that we listen for a global mouse up event so that the user can release the mouse outside the graph?
Torstein Hønsi
Developer,
Highslide Software
User avatar
admin
Site Admin
 
Posts: 7858
Joined: Thu Nov 09, 2006 1:22 pm
Location: Vik i Sogn, Norway

Re: Zoom range-selection fails past final data point

Postby not on Tue Jul 20, 2010 9:32 pm

I was thinking exactly of the same thing that @librato-joe has just said. Confirming the selected range of the zoom should be attached to whole document onMouseOut event. This is a common solution in different interfaces. For example selecting this text of my post works in this way. I can start selecting and drop it when mouse is even outside of the browsers window. Selection confirms only when I release mouse button, not when leave the paragraph. The same applies for selecting icons while browsing files on system disk... Selection and crop tool in Photoshop works in the same way... etc... I think it should just work like this. It could be more intuitive and less surprising for the user.
Maciej Piecha,
Highcharts Support Team
User avatar
not
 
Posts: 329
Joined: Mon Jun 07, 2010 4:01 pm

Re: Zoom range-selection fails past final data point

Postby az9214 on Tue Jul 27, 2010 4:19 pm

Is it possible to attain the behavior of the zoom selection on Highcharts 2.0 in Highcharts 1.5? The specific behavior i am talking about is the zoom action taken by the Chart once the zoom selection moves outside chart area.
az9214
 
Posts: 75
Joined: Tue Apr 27, 2010 6:15 pm

Re: Zoom range-selection fails past final data point

Postby not on Fri Jul 30, 2010 11:16 am

We're considering extending zoom controls of the chart. As the "stock charts" are in the top of the http://highcharts.uservoice.com/ requests, this will probably be the next feature to implement. And you're right @az9214, developers should be able to redeclare events like the one you've mentioned.
Maciej Piecha,
Highcharts Support Team
User avatar
not
 
Posts: 329
Joined: Mon Jun 07, 2010 4:01 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: levipage, Yahoo [Bot] and 5 guests